1 2007-04-02 Michael Olson <mwolson@gnu.org>
3 * README (muse-el-announce): Make a listing of mailing lists,
4 rather than pointing to the old EmacsWikiMailingList page. Thanks
5 to Andreas Roehler for noticing.
7 2007-04-01 Michael Olson <mwolson@gnu.org>
9 * lisp/muse-publish.el (muse-publish-date-format): Add
10 customization type ad group.
11 (muse-publish-region): New interactive function that publishes a
12 region to a new buffer.
14 * texi/muse.texi: Use "document" rather than "manual".
16 2007-03-31 Michael Olson <mwolson@gnu.org>
18 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
19 expression (muse-style-derived-p "latex" (muse-style "latex"))
20 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
23 2007-02-25 Michael Olson <mwolson@gnu.org>
25 * lisp/muse-publish.el (muse-publish-date-format): New option that
26 specifies how to format the date when publishing Muse pages.
27 Thanks to Thomas Gehrlein for the suggestion.
28 (muse-publish-markup-buffer): Use it.
30 2007-02-23 Michael Olson <mwolson@gnu.org>
32 * README: Add Prerequisites section to mention which versions of
33 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
34 the suggestion. Update link destination for Muse's page on
37 2007-02-15 Michael Olson <mwolson@gnu.org>
39 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
40 be not just at beginning of line. This fixes an error with the
41 <class> tag. Thanks to Jim Pivarski for the report.
43 2007-02-14 Michael Olson <mwolson@gnu.org>
45 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
46 whether something is an image before checking to see if it is a
47 URL. Thanks to ITSUMI ken-ichi for the report.
49 2007-02-13 Michael Olson <mwolson@gnu.org>
51 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
52 comments that have no text better. Thanks to fang.lungang for the
54 (muse-publish-markup-comment): Deal with case where no comment
57 2007-01-23 Michael Olson <mwolson@gnu.org>
59 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
60 that ensures that at least one blank line exists at the given
61 position. This is used to avoid paragraph detection problems when
62 block-level tags like <example> immediately follow a paragraph.
63 Thanks to Hans Ekbrand for the report.
64 (muse-publish-example-tag): Use it.
66 2007-01-19 Michael Olson <mwolson@gnu.org>
68 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
69 previous blank line if we are publishing in Latex. Otherwise,
70 that wouldn't be the right thing, so leave it be.
72 2007-01-17 Michael Olson <mwolson@gnu.org>
74 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
75 multiple centered math lines on the same line; keep them on
76 different lines. Use \[ math-text \] instead of $$math-text$$,
77 since the latter seems to be deprecated. Thanks to Jody Klymak
80 2007-01-15 Michael Olson <mwolson@gnu.org>
82 * lisp/muse-latex2png.el (muse-publish-latex-tag)
83 (muse-publish-math-tag): Publish region read-only when current
84 style is Latex-derived, so that Muse does not escape it.
85 (muse-publish-math-tag): If 6 or more spaces come before the tag,
86 surround the region with "$$" rather than "$". This is the Muse
87 syntax for something centered, so it should be a good fit.
89 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
91 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
93 (muse-browse-url-man): Change man page URL format. The code is
94 simpler when the section is left inside parentheses.
95 (muse-browse-url-woman): New function.
97 2007-01-14 Michael Olson <mwolson@gnu.org>
99 * AUTHORS: Bookkeeping.
101 * lisp/muse-latex2png.el: Associate <math> tag with
102 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
103 Klymak for the report.
104 (muse-publish-math-tag): Use muse-insert-markup for the "$"
105 characters, so they don't get escaped.
107 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
108 make muse-style-derived-p easier to implement.
109 (muse-style-derived-p): If the style is not provided, fetch it and
110 check to see if the car is a string. This should fix the other
111 problem that was reported.
113 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
114 explains a case where setting muse-file-extension to nil can cause
117 2007-01-09 Michael Olson <mwolson@gnu.org>
119 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
120 comments higher priority than tags. Thanks to Stefan van der Walt
123 2007-01-08 Michael Olson <mwolson@gnu.org>
125 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
126 argument rather than calling match-string. Thanks to Stefan van
127 der Walt for the report. This should fix a bug with publishing
128 <include file="..." markup="example">.
130 2007-01-06 Michael Olson <mwolson@gnu.org>
132 * Makefile (debclean): New rule split from debrevision and
134 (debbuild): Take distributor into account.
136 * Makefile.defs (DISTRIBUTOR): New field that tracks what
137 vendor/distributor we are building for.
139 2007-01-04 Michael Olson <mwolson@gnu.org>
141 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
144 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
145 point to muse-publish-src-tag by default, since <src> and
146 <example> have different parameters.
147 (muse-publish-src-tag): New barebones publishing function for
148 <src>, which is superseded when publishing in an HTML-based style.
150 2007-01-03 Michael Olson <mwolson@gnu.org>
152 * lisp/muse-html.el (muse-html-src-tag): Document.
154 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
155 command that calls a given tag on the current buffer. Attributes
157 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
159 (muse-publish-srcify-buffer): New function that allows
160 markup="src" in the <include> tag.
161 (muse-publish-get-and-delete-attr): New macro that gets an
162 attribute from a list and removes the first instance of that
163 attribute from said list.
164 (muse-publish-markup-attribute): Handle markup="src".
165 (muse-publish-command-tag, muse-publish-include-tag): Use
166 muse-publish-get-and-delete-attr. This allows the remaining
167 attributes to be passed.
169 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
170 as changes to <command> and <include>.
172 2006-12-30 Michael Olson <mwolson@gnu.org>
176 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
177 from muse-publish-math-tag to avoid conflict with
180 2006-12-23 Michael Olson <mwolson@gnu.org>
182 * lisp/muse-latex2png.el: Update header, since this has been
183 rewritten sufficiently to not need an assignment from the original
185 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
186 (muse-latex2png): Use two underscores to separate prefix and hash.
187 (muse-latex2png-region): New function split from
188 muse-publish-latex-tag that can be used easily by other code.
189 Detect whether we are using an HTML-based publishing style, and
190 insert a simpler markup if we are not. If we are using a
191 Latex-based publishing style, do not generate an image, and leave
192 the region alone. Return the path of the generated image, in case
193 other functions want to use this programmatically.
194 (muse-publish-latex-tag): Set a default prefix based on the name
196 (muse-publish-math-tag): New tag that surrounds the region with
197 "$" characters, so that it becomes a Latex math region, and then
200 * lisp/muse-publish.el (muse-style-derived-p): New function that
201 returns non-nil if a given style, or the current style if omitted,
202 is equal to or derived from the given base style. This is useful
203 in <lisp> tags, because it allows the user to specify markup that
204 is only to be inserted for one particular style.
206 2006-12-22 Michael Olson <mwolson@gnu.org>
208 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
209 (muse-html-src-tag): New function which publishes the <src> tag.
210 Thanks to Clinton Ebadi and Charles Wang for the initial
213 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
215 2006-12-21 Michael Olson <mwolson@gnu.org>
217 * examples/johnw/muse-johnw.el: Update for preferred
218 muse-derive-style usage. Rename to muse-init.el.
220 * examples/mwolson/muse-init.el: Update.
222 * lisp/muse-book.el (muse-book-publish): New function split from
223 muse-book-publish-project. This is used in the definitions for
224 the book-latex and book-pdf styles.
225 (muse-book-publish-p): New function split from muse-book-publish.
226 (muse-book-get-directives): New function that retrieves the
227 publishing directives from the given file.
228 (muse-book-publish): Use muse-book-get-directives to set the title
229 if no title was specified.
231 * lisp/muse-project.el (muse-project): Add :publish-project entry
233 (muse-read-project, muse-project-find-file): Message fix.
234 (muse-project-publish-file-default): New function split from
235 muse-project-publish-file.
236 (muse-project-publish-file): Allow file-level publishing function
237 to be specified by the :publish element. The default is
238 muse-project-publish-file-default.
239 (muse-project-publish-default): New function split from
240 muse-project-publish.
241 (muse-project-publish): Allow project-level publishing function to
242 be specified by :publish-project element. The default is
243 muse-project-publish-default.
245 * lisp/muse-publish.el (muse-publish-file): Message fix.
247 * texi/muse.texi (Book): Mention new way to publish books and
248 provide an example, since the process may be non-obvious.
250 2006-12-20 Michael Olson <mwolson@gnu.org>
252 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
253 content-modifying code from the rest of
254 muse-docbook-finalize-buffer.
256 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
257 muse-groff-finalize-buffer, since it adds content to the buffer.
259 * lisp/muse-html.el (muse-html-munge-buffer): Split out
260 content-modifying code from the rest of muse-html-finalize-buffer.
261 This fixes a bug when using <include> with <content> tags.
263 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
264 (muse-journal-latex-munge-buffer)
265 (muse-journal-rss-munge-buffer): Rename, since they add content to
268 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
269 muse-latex-finalize-buffer, since it adds content to the buffer.
272 * lisp/muse-project.el:
273 * lisp/muse-publish.el:
274 * lisp/muse.el: Fix recursive load error.
276 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
277 muse-texinfo-finalize-buffer, since it adds content to the buffer.
279 * lisp/muse-wiki.el: Comment cleanup.
281 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
283 2006-12-17 Michael Olson <mwolson@gnu.org>
285 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
286 Remove the definition of \comment, since Latex already has comment
288 (muse-latex-markup-strings): Use the Latex comment syntax, rather
289 than our own. Thanks to Ryan Stutsman for pointing this out.
291 2006-12-02 Michael Olson <mwolson@gnu.org>
293 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
294 that this can generate a proper table of contents for Planner HTML
297 2006-12-01 Michael Olson <mwolson@gnu.org>
299 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
300 using a very old Emacs, avoid an infinite loop that could occur
301 when the regexp is an empty string.
303 2006-11-26 Michael Olson <mwolson@gnu.org>
305 * NEWS: Bring up to date.
307 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
308 list issues and multiple-stanza verse issues. This takes care of
309 all of the markup issues I was worried about.
311 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
312 (muse-project-publish-private-files): New option that indicates
313 whether files with private filesystem permissions should be
314 published. The default is to publish them, since it avoids
315 confusion in new users.
316 (muse-project-private-p): Use it.
318 2006-11-19 Michael Olson <mwolson@gnu.org>
320 * lisp/muse-project.el (muse-project-resolve-link): If no remote
321 style is found, which means that the link is not a Muse page, do
322 not add a suffix or prefix to it. This should fix the
323 "[[thing.owl]]" bug that Phillip Lord reported.
325 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
326 removing unused 2nd argument.
328 2006-11-17 Michael Olson <mwolson@gnu.org>
330 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
331 latex publishing where nested enumerated lists would be squashed
334 2006-11-16 Michael Olson <mwolson@gnu.org>
336 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
337 list embedded in a definition list look right. This also allows
338 for definitions to be separated from their terms, much like the
339 way HTML does it by default, if the user puts a blank line or a
340 line break between the term and the definition. If the term and
341 definition are on the same line, they will be that way in the
344 2006-11-11 Michael Olson <mwolson@gnu.org>
346 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
348 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
350 2006-11-07 Michael Olson <mwolson@gnu.org>
352 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
353 release candidate for Muse 3.03, available.
357 2006-11-06 Michael Olson <mwolson@gnu.org>
359 * lisp/muse-project.el (muse-project-find-file): Fix bug when
360 following a relative link worked even when the path was incorrect.
362 2006-11-04 John Sullivan <john@wjsullivan.net>
364 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
365 muse-follow-name-at-point to reduce collisions with other
368 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
370 2006-11-04 Michael Olson <mwolson@gnu.org>
372 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
373 optional, and make interwiki delimiter a regular rather than shy
375 (muse-wiki-handle-implicit-interwiki): Rename from
376 muse-wiki-handle-interwiki. Use match group 3 to get the page.
377 (muse-wiki-handle-explicit-interwiki): New function that is
378 smarter about where an explicit link ends in a buffer. This
379 allows you to refer to page names with invalid Wiki characters,
380 such as underscores and dashes, merely by enclosing them in double
381 brackets. Also, a bug with recognizing project names too loosely
384 2006-11-03 Michael Olson <mwolson@gnu.org>
386 * lisp/muse-project.el (muse-project-page-file): Make relative
387 links work as expected, hopefully.
389 * lisp/muse-publish.el (muse-publish-this-file): Set the current
390 output style manually, since it will differ from anything in the
391 publishing style list.
393 2006-10-30 Michael Olson <mwolson@gnu.org>
395 * lisp/muse-colors.el (muse-colors-markup): Remove note about
396 grouping elements, since that no longer applies.
397 (muse-colors-custom-tags): Explicitly match against
398 muse-tag-regexp to get the match-data set the way we want. This
399 really fixes the <example> highlighting bug that Stefan reported.
400 (muse-configure-highlighting): Set the original value to the
401 symbol, not the modified value. Re-use modified rules properly.
403 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
404 introduced yesterday.
406 2006-10-29 Michael Olson <mwolson@gnu.org>
408 * examples/mwolson: Update my example configuration.
412 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
413 without a regexp in the first position before iterating through
414 them to build muse-colors-vector. This fixes a bug with the
415 display of <example> tags. Thanks to Stefan Reichör for the
418 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
419 files in projects to be linked to.
421 * lisp/muse-publish.el (muse-publish-url): Allow the original link
422 to serve as a description for a URL, as long as it differs from
423 the destination URL. This fixes the description of WikPage links
425 (muse-publish-link-file): Check to see whether the given link
426 points at a valid file. If so, return it. Otherwise, apply other
427 transforms like prefix and link suffix.
429 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
430 "/", it is a file or directory, not a Muse page. Thanks to
431 Phillip Lord for the suggestion.
433 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
434 of the current page as the local path, instead of duplicating the
435 remote file's path. This probably fixes at least one reported
436 bug. since it's quite major.
437 (muse-wiki-update-project-file-regexp)
438 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
439 passed to regexp-opt, since that can cause Emacs 21 to throw an
440 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
441 DOT edu for the report.
442 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
444 2006-10-28 Michael Olson <mwolson@gnu.org>
446 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
447 (muse-project-resolve-link): If the given style does not have a
448 link-suffix, default to suffix. This fixes a bug I was noticing
449 when linking to a file that was published in both PDF and HTML
452 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
453 function that is used as a callback to determine the initial
454 amount of indentation that the current dl item has.
455 (muse-publish-surround-dl): Use it. Pass the initial indent value
456 and the post-indent value, instead of trying to determine them
458 (muse-publish-strip-list-indentation): New function stripped from
459 `muse-publish-surround-text' for readability.
460 (muse-publish-surround-text): Instead of taking a determine-indent
461 value, take a determine-indent-func function, which is called just
462 after finding the next list item. If we are asked to determine
463 the amount of indentation, concatenate indent and post-indent the
464 first time around. This effectively fixes all known definition
467 2006-10-16 Michael Olson <mwolson@gnu.org>
469 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
470 other software -- namely, Planner -- can detect whether they are
471 using a version of Muse that supports nested tags.
472 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
473 muse-publish-goto-tag-end.
475 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
476 Adapt for nested tags.
478 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
479 <class> tag is nestable. Thanks to Phillip Lord for noticing
482 * lisp/muse-publish.el (muse-publish-markup-tag)
483 (muse-publish-quote-tag): Use muse-goto-tag-end.
485 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
487 2006-10-15 Michael Olson <mwolson@gnu.org>
489 * AUTHORS: Bookkeeping.
491 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
494 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
497 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
499 * lisp/muse-import-docbook.el (muse-import-docbook)
500 (muse-import-docbook-files): Docfix.
501 (muse-import-docbook-get-title): Remove cl.el-ism.
503 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
505 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
507 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
509 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
510 (muse-next-reference, muse-previous-reference): Minor whitespace
512 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
515 * lisp/muse-poem.el (muse-poem-tag): Ditto.
517 * lisp/muse-publish.el (muse-publish-markup-tags)
518 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
519 element and make 4th element determine whether tags are nestable.
520 (muse-publish-goto-tag-end): New function that moves to the end of
521 a tag. Handle nested tags when NESTED is non-nil.
522 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
523 5th element for function.
524 (muse-publish-quote-tag): Handle nested quote tags. I've tested
525 this on several scenarios, and it seems to work.
526 (muse-publish-surround-text): Accept new optional argument
527 LIST-ITEM which determines the regexp to use for list items. The
528 default is to use muse-list-item-regexp.
530 * muse.texi (Markup Tags): Mention nestable tags.
532 * NEWS: Mention new files.
534 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
536 * lisp/muse-import-docbook.el: New file that converts Docbook XML
539 * lisp/muse-import-xml.el: New file that provides helper routines
540 for converting XML-ish files to Muse format.
542 2006-10-10 Michael Olson <mwolson@gnu.org>
544 * NEWS: Update for 3.02.7 bugfix release.
546 2006-10-06 Sasha Kovar <sasha@arcocene.org>
548 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
549 using the value in the muse #date directive.
550 (muse-blosxom-use-metadate): New option that determines whether or
551 not to use the #postdate directive.
552 (muse-blosxom-format-date): Convert a date string to PyBlosxom
553 metadate plugin format.
555 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
557 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
560 * muse.texi: Clarify handling of implicit links by mentioning
561 which characters can prevent Muse from recognizing something as an
564 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
566 * lisp/muse-mode.el (muse-next-reference)
567 (muse-previous-reference): Fix bug #6367 by moving point to the
568 beginning of the link.
570 2006-09-26 Michael Olson <mwolson@gnu.org>
572 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
573 beginning-of-line. This should fix a bug that was noticed in
574 recent Emacs 22 builds.
576 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
577 eval-and-compile block to avoid a compiler warning.
579 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
581 * lisp/muse-backlink.el (muse-backlink-split-string):
582 Compatibility with Emacs versions < 22
583 (muse-backlink-pending): New internal variable
584 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
585 that backlinks are inserted at the right time.
586 (muse-backlink-insert-hook-func): Remove unwind-protection; check
587 for pending backlink, and that this is the targe page.
588 (muse-backlink-handle-link): Don’t handle the link if we are
589 already handling one. Return the link as well as the parent links.
591 2006-09-25 Sasha Kovar <sasha@arcocene.org>
593 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
594 #6942 - muse-blosxom-new-entry fails when using tags.
596 2006-09-14 Michael Olson <mwolson@gnu.org>
598 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
601 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
603 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
604 function: Protect all wikiwords from START to END from further
606 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
608 2006-09-13 Michael Olson <mwolson@gnu.org>
610 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
611 adopted from Jim Ottaway's patch. It removes links from the
612 heading, and then marks the region read-only to inhibit WikiWord
615 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
617 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
618 special handling for headings.
619 (muse-texinfo-remove-links): New function that removes explicit
620 links from the given strings, replacing them with a description.
622 2006-09-11 Michael Olson <mwolson@gnu.org>
624 * muse.texi (Getting Help and Reporting Bugs): Mention the
625 muse-el-internationalization mailing list.
627 * lisp/muse.el (muse-path-sans-extension): New function that acts
628 like file-name-sans-extension, but guarantees to never modify the
629 directory part of the path. Thanks to Evan Monroig for
632 * lisp/muse-book.el (muse-book-publish-project): Use
633 muse-path-sans-extension instead of file-name-sans-extension.
635 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
638 2006-08-30 Michael Olson <mwolson@gnu.org>
640 * muse.texi (Blosxom Requirements): Fix typo.
642 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
643 directories for bzr and darcs.
645 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
646 contrib/pyblosxom/getstamps.py: Update version and headers.
648 2006-08-27 Michael Olson <mwolson@gnu.org>
650 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
651 nil values before they get to mapconcat. This fixes a lockup when
652 muse-wiki-match-all-project-files is nil.
654 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
655 (muse-wiki-ignore-implicit-links-to-current-page)
656 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
657 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
658 (muse-wiki-publish-small-title-words)
659 (muse-wiki-publish-pretty-title): Docfix.
660 (muse-wiki-update-local-wikiword-regexp): Rename from
661 muse-wiki-update-local-wikiword-regexp. Set
662 muse-wiki-project-file-regexp instead of
663 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
664 take muse-wiki-use-wikiword into account, since this is a
665 different concept now.
666 (muse-wiki-update-wikiword-regexp): Remove.
667 (muse-wiki-wikiword-regexp): In-line the :set function.
668 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
670 2006-08-26 Michael Olson <mwolson@gnu.org>
672 * lisp/muse-publish.el (muse-publish-surround-text): When looking
673 for indented list items, ignore blank lines.
675 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
676 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
677 mapconcat. This should hopefully fix a problem with large amounts
678 of files with spaces in their name. Thanks to Greg Detre for the
681 2006-08-24 Michael Olson <mwolson@gnu.org>
683 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
684 numbers from the argument to format-time-string. This fixes an
685 XEmacs bug. Thanks to Michael Welle for the report and analysis.
687 2006-08-18 Michael Olson <mwolson@gnu.org>
689 * lisp/muse-project.el (muse-project-file-entries): Since we are
690 given a full path, match against the filename as well. This fixes
691 an issue where backup files were being added to the file alist.
693 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
696 2006-08-12 Michael Olson <mwolson@gnu.org>
698 * Makefile (.PHONY): Don't use line continuations.
699 (realclean fullclean): Call realclean in subdirs, not distclean.
700 (distclean): Don't call realclean, since this would wipe out our
702 (dist): Use correct path to autoloads file.
704 * NEWS: Catch up with the latest changes.
706 * experimental/Makefile (.PHONY): Wrap long line.
708 * lisp/Makefile (distclean): Do the same thing as "clean", not
711 * lisp/muse-project.el (muse-project-get-applicable-style):
713 (muse-project-ignore-regexp, muse-project-recurse-directory):
715 (muse-project-of-file): Try the ignored files regexp against the
716 base filename as well as the entire path.
718 * lisp/muse-publish.el (muse-publish-this-file): Display message
719 if the buffer is not associated with any file, so that we avoid
721 (muse-publish-url-desc): New function taken from muse-publish-url
722 that causes a URL description to be transformed.
723 (muse-publish-url): Call muse-publish-url-desc on either the
724 description or the original URL if it will be used as a
725 description. Accept the original URL as an argument, in case it
726 was transformed earlier.
727 (muse-publish-insert-url): Pass original URL as an argument.
728 (muse-publish-markup-link): Make this somewhat easier to follow.
729 Pass original URL as argument.
730 (muse-publish-get-style): If the same style is used to publish to
731 two different directories, prompt the user for which directory to
733 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
735 (muse-publish-markup-url): Pass original URL as an argument. This
736 fixes the "nil" description for bare URLs that was in 3.02.91.
737 Nothing like finding a bug just after completing the announcement
740 * lisp/muse.el: Use defalias whenever convenient.
741 (muse-version): Set version to 3.02.92 (3.03 RC2).
743 2006-08-10 Michael Olson <mwolson@gnu.org>
745 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
746 style does not derive from any other class, return `t' here.
747 This, along with the corresponding change to muse-publish.el,
748 fixes a problem with the table of contents getting inserted
749 multiple times for custom html-based styles.
750 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
751 smarter method for table centering that works with XHTML.
753 * lisp/muse-latex2png.el Rename all functions to have a
754 "muse-latex2png" prefix. Turn all variables into customizable
755 options in the muse-latex2png group.
756 (muse-latex2png-img-dest): New option specifying where to place
758 (muse-latex2png-template): New option containing the template to
759 use for the surrounding LaTeX code.
760 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
762 (muse-latex2png-move2pubdir): Avoid multiple redundant error
763 messages when something else goes wrong. Create the image
764 subdirectory if it doesn't exist already -- thanks to Christian
765 Straßer for the report. Expand the filename properly.
766 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
767 and filename expansion.
768 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
769 the default directory properly.
771 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
772 do not run the same function twice.
774 2006-08-08 Michael Olson <mwolson@gnu.org>
776 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
777 introduced wrong-type-argument error.
779 * lisp/muse-html.el (muse-html-markup-strings)
780 (muse-xhtml-markup-string): Cause table definition that contains
781 image to be center-aligned. This should fix an issue with images
782 not being centered when captions are very long.
784 * lisp/muse-publish.el (muse-publish-table-fields): Trim
785 whitespace from fields once we have split them up.
787 * lisp/muse.el (muse-trim-whitespace): New function that strips
788 leading and trailing whitespace from a string.
790 2006-08-07 Michael Olson <mwolson@gnu.org>
792 * NEWS: Update through patch-95.
794 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
796 (muse-colors-explicit-link): Show images in link descriptions if
797 inlined images are enabled.
799 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
800 definitions for 'image-with-desc, 'image, and 'image-link.
801 (muse-docbook-markup-paragraph): If an inlined image begins a
802 paragraph, insert <para> before it.
803 (muse-docbook-fixup-images): New function that upper-cases the
804 "format" attribute of the <imagedata> tag.
805 (muse-docbook-finalize-buffer): Call it.
807 * lisp/muse-html.el (muse-html-markup-strings): Publish images
808 with descriptions as centered tables, with a centered caption
809 underneath. The resulting look is consistent with the way that
810 they are published in the LaTeX style. Thanks to Jody Klymak for
812 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
813 valid way to center a table.
814 (muse-html-markup-paragraph): Use class="image" instead of
815 "image-link" for paragraphs that start with an embedded image.
817 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
818 \textbackslash{} for "\". Thanks to Jim Ottaway for the
820 (muse-latex-markup-specials-image): New option that enables
821 escaping of specials in images. This was split from the URL
823 (muse-latex-decide-specials): Handle 'image context.
824 (muse-latex-fixup-dquotes): Go to beginning of document, instead
825 of relying on caller to do this for us.
827 * lisp/muse-publish.el (muse-publish-escape-specials): Document
829 (muse-publish-url): Use 'image context for images. Use 'image
830 instead of 'image-link and 'image-link in place of
831 'url-with-image. Separate the image file from its extension so
832 that docbook and texinfo can publish images correctly.
833 (muse-publish-markup-link): Don't force a description if one is
834 not given. This fixes a bug where images without descriptions
835 were being published as 'image-with-desc instead of 'image.
837 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
838 images the same as URLs.
839 (muse-texinfo-markup-strings): Improve image markup to achieve an
840 effect similar to that of the LaTeX publishing style. Simplify
843 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
845 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
846 when we have to use the custom version of this function.
848 * muse.texi (Images): Explain how to toggle inlining of images and
849 give better examples. Mention captions and that captioned images
850 should not be used inside of text paragraphs.
851 (Markup Strings): Bring up-to-date with the changes made since
854 2006-08-06 Michael Olson <mwolson@gnu.org>
856 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
857 in the Emacs source tree.
859 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
860 in the Emacs source tree.
862 * ChangeLog.3: New file created from the old ChangeLog.
864 * Makefile.defs (VERSION): Set to 3.02.91.
866 * NEWS: Update through patch-84.
868 * lisp/muse.el (muse-version): Set to 3.02.91.
870 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
872 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
873 delimiter are instead of hard-coding it.
875 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
876 (muse-mode): Make filling definition lists work better. This
879 * lisp/muse-publish.el (muse-style-run-hooks): Use
880 `muse-style-element' instead of `muse-get-keyword' here. This
883 * muse.texi: Set version to 3.02.91 (3.02 RC2).
885 See ChangeLog.3 for earlier changes.