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