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