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