1 2006-12-17 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
4 Remove the definition of \comment, since Latex already has comment
6 (muse-latex-markup-strings): Use the Latex comment syntax, rather
7 than our own. Thanks to Ryan Stutsman for pointing this out.
9 2006-12-02 Michael Olson <mwolson@gnu.org>
11 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
12 that this can generate a proper table of contents for Planner HTML
15 2006-12-01 Michael Olson <mwolson@gnu.org>
17 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
18 using a very old Emacs, avoid an infinite loop that could occur
19 when the regexp is an empty string.
21 2006-11-26 Michael Olson <mwolson@gnu.org>
23 * NEWS: Bring up to date.
25 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
26 list issues and multiple-stanza verse issues. This takes care of
27 all of the markup issues I was worried about.
29 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
30 (muse-project-publish-private-files): New option that indicates
31 whether files with private filesystem permissions should be
32 published. The default is to publish them, since it avoids
33 confusion in new users.
34 (muse-project-private-p): Use it.
36 2006-11-19 Michael Olson <mwolson@gnu.org>
38 * lisp/muse-project.el (muse-project-resolve-link): If no remote
39 style is found, which means that the link is not a Muse page, do
40 not add a suffix or prefix to it. This should fix the
41 "[[thing.owl]]" bug that Phillip Lord reported.
43 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
44 removing unused 2nd argument.
46 2006-11-17 Michael Olson <mwolson@gnu.org>
48 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
49 latex publishing where nested enumerated lists would be squashed
52 2006-11-16 Michael Olson <mwolson@gnu.org>
54 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
55 list embedded in a definition list look right. This also allows
56 for definitions to be separated from their terms, much like the
57 way HTML does it by default, if the user puts a blank line or a
58 line break between the term and the definition. If the term and
59 definition are on the same line, they will be that way in the
62 2006-11-11 Michael Olson <mwolson@gnu.org>
64 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
66 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
68 2006-11-07 Michael Olson <mwolson@gnu.org>
70 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
71 release candidate for Muse 3.03, available.
75 2006-11-06 Michael Olson <mwolson@gnu.org>
77 * lisp/muse-project.el (muse-project-find-file): Fix bug when
78 following a relative link worked even when the path was incorrect.
80 2006-11-04 John Sullivan <john@wjsullivan.net>
82 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
83 muse-follow-name-at-point to reduce collisions with other
86 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
88 2006-11-04 Michael Olson <mwolson@gnu.org>
90 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
91 optional, and make interwiki delimiter a regular rather than shy
93 (muse-wiki-handle-implicit-interwiki): Rename from
94 muse-wiki-handle-interwiki. Use match group 3 to get the page.
95 (muse-wiki-handle-explicit-interwiki): New function that is
96 smarter about where an explicit link ends in a buffer. This
97 allows you to refer to page names with invalid Wiki characters,
98 such as underscores and dashes, merely by enclosing them in double
99 brackets. Also, a bug with recognizing project names too loosely
102 2006-11-03 Michael Olson <mwolson@gnu.org>
104 * lisp/muse-project.el (muse-project-page-file): Make relative
105 links work as expected, hopefully.
107 * lisp/muse-publish.el (muse-publish-this-file): Set the current
108 output style manually, since it will differ from anything in the
109 publishing style list.
111 2006-10-30 Michael Olson <mwolson@gnu.org>
113 * lisp/muse-colors.el (muse-colors-markup): Remove note about
114 grouping elements, since that no longer applies.
115 (muse-colors-custom-tags): Explicitly match against
116 muse-tag-regexp to get the match-data set the way we want. This
117 really fixes the <example> highlighting bug that Stefan reported.
118 (muse-configure-highlighting): Set the original value to the
119 symbol, not the modified value. Re-use modified rules properly.
121 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
122 introduced yesterday.
124 2006-10-29 Michael Olson <mwolson@gnu.org>
126 * examples/mwolson: Update my example configuration.
130 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
131 without a regexp in the first position before iterating through
132 them to build muse-colors-vector. This fixes a bug with the
133 display of <example> tags. Thanks to Stefan Reichör for the
136 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
137 files in projects to be linked to.
139 * lisp/muse-publish.el (muse-publish-url): Allow the original link
140 to serve as a description for a URL, as long as it differs from
141 the destination URL. This fixes the description of WikPage links
143 (muse-publish-link-file): Check to see whether the given link
144 points at a valid file. If so, return it. Otherwise, apply other
145 transforms like prefix and link suffix.
147 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
148 "/", it is a file or directory, not a Muse page. Thanks to
149 Phillip Lord for the suggestion.
151 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
152 of the current page as the local path, instead of duplicating the
153 remote file's path. This probably fixes at least one reported
154 bug. since it's quite major.
155 (muse-wiki-update-project-file-regexp)
156 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
157 passed to regexp-opt, since that can cause Emacs 21 to throw an
158 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
159 DOT edu for the report.
160 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
162 2006-10-28 Michael Olson <mwolson@gnu.org>
164 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
165 (muse-project-resolve-link): If the given style does not have a
166 link-suffix, default to suffix. This fixes a bug I was noticing
167 when linking to a file that was published in both PDF and HTML
170 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
171 function that is used as a callback to determine the initial
172 amount of indentation that the current dl item has.
173 (muse-publish-surround-dl): Use it. Pass the initial indent value
174 and the post-indent value, instead of trying to determine them
176 (muse-publish-strip-list-indentation): New function stripped from
177 `muse-publish-surround-text' for readability.
178 (muse-publish-surround-text): Instead of taking a determine-indent
179 value, take a determine-indent-func function, which is called just
180 after finding the next list item. If we are asked to determine
181 the amount of indentation, concatenate indent and post-indent the
182 first time around. This effectively fixes all known definition
185 2006-10-16 Michael Olson <mwolson@gnu.org>
187 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
188 other software -- namely, Planner -- can detect whether they are
189 using a version of Muse that supports nested tags.
190 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
191 muse-publish-goto-tag-end.
193 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
194 Adapt for nested tags.
196 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
197 <class> tag is nestable. Thanks to Phillip Lord for noticing
200 * lisp/muse-publish.el (muse-publish-markup-tag)
201 (muse-publish-quote-tag): Use muse-goto-tag-end.
203 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
205 2006-10-15 Michael Olson <mwolson@gnu.org>
207 * AUTHORS: Bookkeeping.
209 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
212 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
215 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
217 * lisp/muse-import-docbook.el (muse-import-docbook)
218 (muse-import-docbook-files): Docfix.
219 (muse-import-docbook-get-title): Remove cl.el-ism.
221 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
223 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
225 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
227 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
228 (muse-next-reference, muse-previous-reference): Minor whitespace
230 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
233 * lisp/muse-poem.el (muse-poem-tag): Ditto.
235 * lisp/muse-publish.el (muse-publish-markup-tags)
236 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
237 element and make 4th element determine whether tags are nestable.
238 (muse-publish-goto-tag-end): New function that moves to the end of
239 a tag. Handle nested tags when NESTED is non-nil.
240 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
241 5th element for function.
242 (muse-publish-quote-tag): Handle nested quote tags. I've tested
243 this on several scenarios, and it seems to work.
244 (muse-publish-surround-text): Accept new optional argument
245 LIST-ITEM which determines the regexp to use for list items. The
246 default is to use muse-list-item-regexp.
248 * muse.texi (Markup Tags): Mention nestable tags.
250 * NEWS: Mention new files.
252 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
254 * lisp/muse-import-docbook.el: New file that converts Docbook XML
257 * lisp/muse-import-xml.el: New file that provides helper routines
258 for converting XML-ish files to Muse format.
260 2006-10-10 Michael Olson <mwolson@gnu.org>
262 * NEWS: Update for 3.02.7 bugfix release.
264 2006-10-06 Sasha Kovar <sasha@arcocene.org>
266 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
267 using the value in the muse #date directive.
268 (muse-blosxom-use-metadate): New option that determines whether or
269 not to use the #postdate directive.
270 (muse-blosxom-format-date): Convert a date string to PyBlosxom
271 metadate plugin format.
273 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
275 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
278 * muse.texi: Clarify handling of implicit links by mentioning
279 which characters can prevent Muse from recognizing something as an
282 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
284 * lisp/muse-mode.el (muse-next-reference)
285 (muse-previous-reference): Fix bug #6367 by moving point to the
286 beginning of the link.
288 2006-09-26 Michael Olson <mwolson@gnu.org>
290 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
291 beginning-of-line. This should fix a bug that was noticed in
292 recent Emacs 22 builds.
294 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
295 eval-and-compile block to avoid a compiler warning.
297 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
299 * lisp/muse-backlink.el (muse-backlink-split-string):
300 Compatibility with Emacs versions < 22
301 (muse-backlink-pending): New internal variable
302 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
303 that backlinks are inserted at the right time.
304 (muse-backlink-insert-hook-func): Remove unwind-protection; check
305 for pending backlink, and that this is the targe page.
306 (muse-backlink-handle-link): Don’t handle the link if we are
307 already handling one. Return the link as well as the parent links.
309 2006-09-25 Sasha Kovar <sasha@arcocene.org>
311 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
312 #6942 - muse-blosxom-new-entry fails when using tags.
314 2006-09-14 Michael Olson <mwolson@gnu.org>
316 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
319 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
321 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
322 function: Protect all wikiwords from START to END from further
324 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
326 2006-09-13 Michael Olson <mwolson@gnu.org>
328 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
329 adopted from Jim Ottaway's patch. It removes links from the
330 heading, and then marks the region read-only to inhibit WikiWord
333 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
335 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
336 special handling for headings.
337 (muse-texinfo-remove-links): New function that removes explicit
338 links from the given strings, replacing them with a description.
340 2006-09-11 Michael Olson <mwolson@gnu.org>
342 * muse.texi (Getting Help and Reporting Bugs): Mention the
343 muse-el-internationalization mailing list.
345 * lisp/muse.el (muse-path-sans-extension): New function that acts
346 like file-name-sans-extension, but guarantees to never modify the
347 directory part of the path. Thanks to Evan Monroig for
350 * lisp/muse-book.el (muse-book-publish-project): Use
351 muse-path-sans-extension instead of file-name-sans-extension.
353 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
356 2006-08-30 Michael Olson <mwolson@gnu.org>
358 * muse.texi (Blosxom Requirements): Fix typo.
360 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
361 directories for bzr and darcs.
363 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
364 contrib/pyblosxom/getstamps.py: Update version and headers.
366 2006-08-27 Michael Olson <mwolson@gnu.org>
368 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
369 nil values before they get to mapconcat. This fixes a lockup when
370 muse-wiki-match-all-project-files is nil.
372 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
373 (muse-wiki-ignore-implicit-links-to-current-page)
374 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
375 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
376 (muse-wiki-publish-small-title-words)
377 (muse-wiki-publish-pretty-title): Docfix.
378 (muse-wiki-update-local-wikiword-regexp): Rename from
379 muse-wiki-update-local-wikiword-regexp. Set
380 muse-wiki-project-file-regexp instead of
381 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
382 take muse-wiki-use-wikiword into account, since this is a
383 different concept now.
384 (muse-wiki-update-wikiword-regexp): Remove.
385 (muse-wiki-wikiword-regexp): In-line the :set function.
386 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
388 2006-08-26 Michael Olson <mwolson@gnu.org>
390 * lisp/muse-publish.el (muse-publish-surround-text): When looking
391 for indented list items, ignore blank lines.
393 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
394 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
395 mapconcat. This should hopefully fix a problem with large amounts
396 of files with spaces in their name. Thanks to Greg Detre for the
399 2006-08-24 Michael Olson <mwolson@gnu.org>
401 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
402 numbers from the argument to format-time-string. This fixes an
403 XEmacs bug. Thanks to Michael Welle for the report and analysis.
405 2006-08-18 Michael Olson <mwolson@gnu.org>
407 * lisp/muse-project.el (muse-project-file-entries): Since we are
408 given a full path, match against the filename as well. This fixes
409 an issue where backup files were being added to the file alist.
411 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
414 2006-08-12 Michael Olson <mwolson@gnu.org>
416 * Makefile (.PHONY): Don't use line continuations.
417 (realclean fullclean): Call realclean in subdirs, not distclean.
418 (distclean): Don't call realclean, since this would wipe out our
420 (dist): Use correct path to autoloads file.
422 * NEWS: Catch up with the latest changes.
424 * experimental/Makefile (.PHONY): Wrap long line.
426 * lisp/Makefile (distclean): Do the same thing as "clean", not
429 * lisp/muse-project.el (muse-project-get-applicable-style):
431 (muse-project-ignore-regexp, muse-project-recurse-directory):
433 (muse-project-of-file): Try the ignored files regexp against the
434 base filename as well as the entire path.
436 * lisp/muse-publish.el (muse-publish-this-file): Display message
437 if the buffer is not associated with any file, so that we avoid
439 (muse-publish-url-desc): New function taken from muse-publish-url
440 that causes a URL description to be transformed.
441 (muse-publish-url): Call muse-publish-url-desc on either the
442 description or the original URL if it will be used as a
443 description. Accept the original URL as an argument, in case it
444 was transformed earlier.
445 (muse-publish-insert-url): Pass original URL as an argument.
446 (muse-publish-markup-link): Make this somewhat easier to follow.
447 Pass original URL as argument.
448 (muse-publish-get-style): If the same style is used to publish to
449 two different directories, prompt the user for which directory to
451 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
453 (muse-publish-markup-url): Pass original URL as an argument. This
454 fixes the "nil" description for bare URLs that was in 3.02.91.
455 Nothing like finding a bug just after completing the announcement
458 * lisp/muse.el: Use defalias whenever convenient.
459 (muse-version): Set version to 3.02.92 (3.03 RC2).
461 2006-08-10 Michael Olson <mwolson@gnu.org>
463 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
464 style does not derive from any other class, return `t' here.
465 This, along with the corresponding change to muse-publish.el,
466 fixes a problem with the table of contents getting inserted
467 multiple times for custom html-based styles.
468 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
469 smarter method for table centering that works with XHTML.
471 * lisp/muse-latex2png.el Rename all functions to have a
472 "muse-latex2png" prefix. Turn all variables into customizable
473 options in the muse-latex2png group.
474 (muse-latex2png-img-dest): New option specifying where to place
476 (muse-latex2png-template): New option containing the template to
477 use for the surrounding LaTeX code.
478 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
480 (muse-latex2png-move2pubdir): Avoid multiple redundant error
481 messages when something else goes wrong. Create the image
482 subdirectory if it doesn't exist already -- thanks to Christian
483 Straßer for the report. Expand the filename properly.
484 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
485 and filename expansion.
486 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
487 the default directory properly.
489 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
490 do not run the same function twice.
492 2006-08-08 Michael Olson <mwolson@gnu.org>
494 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
495 introduced wrong-type-argument error.
497 * lisp/muse-html.el (muse-html-markup-strings)
498 (muse-xhtml-markup-string): Cause table definition that contains
499 image to be center-aligned. This should fix an issue with images
500 not being centered when captions are very long.
502 * lisp/muse-publish.el (muse-publish-table-fields): Trim
503 whitespace from fields once we have split them up.
505 * lisp/muse.el (muse-trim-whitespace): New function that strips
506 leading and trailing whitespace from a string.
508 2006-08-07 Michael Olson <mwolson@gnu.org>
510 * NEWS: Update through patch-95.
512 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
514 (muse-colors-explicit-link): Show images in link descriptions if
515 inlined images are enabled.
517 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
518 definitions for 'image-with-desc, 'image, and 'image-link.
519 (muse-docbook-markup-paragraph): If an inlined image begins a
520 paragraph, insert <para> before it.
521 (muse-docbook-fixup-images): New function that upper-cases the
522 "format" attribute of the <imagedata> tag.
523 (muse-docbook-finalize-buffer): Call it.
525 * lisp/muse-html.el (muse-html-markup-strings): Publish images
526 with descriptions as centered tables, with a centered caption
527 underneath. The resulting look is consistent with the way that
528 they are published in the LaTeX style. Thanks to Jody Klymak for
530 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
531 valid way to center a table.
532 (muse-html-markup-paragraph): Use class="image" instead of
533 "image-link" for paragraphs that start with an embedded image.
535 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
536 \textbackslash{} for "\". Thanks to Jim Ottaway for the
538 (muse-latex-markup-specials-image): New option that enables
539 escaping of specials in images. This was split from the URL
541 (muse-latex-decide-specials): Handle 'image context.
542 (muse-latex-fixup-dquotes): Go to beginning of document, instead
543 of relying on caller to do this for us.
545 * lisp/muse-publish.el (muse-publish-escape-specials): Document
547 (muse-publish-url): Use 'image context for images. Use 'image
548 instead of 'image-link and 'image-link in place of
549 'url-with-image. Separate the image file from its extension so
550 that docbook and texinfo can publish images correctly.
551 (muse-publish-markup-link): Don't force a description if one is
552 not given. This fixes a bug where images without descriptions
553 were being published as 'image-with-desc instead of 'image.
555 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
556 images the same as URLs.
557 (muse-texinfo-markup-strings): Improve image markup to achieve an
558 effect similar to that of the LaTeX publishing style. Simplify
561 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
563 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
564 when we have to use the custom version of this function.
566 * muse.texi (Images): Explain how to toggle inlining of images and
567 give better examples. Mention captions and that captioned images
568 should not be used inside of text paragraphs.
569 (Markup Strings): Bring up-to-date with the changes made since
572 2006-08-06 Michael Olson <mwolson@gnu.org>
574 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
575 in the Emacs source tree.
577 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
578 in the Emacs source tree.
580 * ChangeLog.3: New file created from the old ChangeLog.
582 * Makefile.defs (VERSION): Set to 3.02.91.
584 * NEWS: Update through patch-84.
586 * lisp/muse.el (muse-version): Set to 3.02.91.
588 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
590 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
591 delimiter are instead of hard-coding it.
593 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
594 (muse-mode): Make filling definition lists work better. This
597 * lisp/muse-publish.el (muse-style-run-hooks): Use
598 `muse-style-element' instead of `muse-get-keyword' here. This
601 * muse.texi: Set version to 3.02.91 (3.02 RC2).
603 See ChangeLog.3 for earlier changes.