Deal with trailing backslash in muse-project-alist-styles
[muse-el.git] / ChangeLog
blob16909ab897225d56a1a7c1c2536207bc6ddb99ff
1 2007-04-22  Michael Olson  <mwolson@gnu.org>
3         * IDEAS.muse: Add muse-slides.el to list of things to include
4         before release.
6         * lisp/muse-project.el (muse-project-alist-styles): Deal with case
7         where entry-dir has a trailing backslash.
9 2007-04-21  Michael Olson  <mwolson@gnu.org>
11         * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
12         yet-to-be-included "contex" publishing style, use "$$" rather
13         than "\[" and "\]".  Thanks to Jean Magnan de Bornier for pointing
14         this out.
16 2007-04-20  Michael Olson  <mwolson@gnu.org>
18         * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
19         variable that causes the :before and :before-end hooks to be
20         ignored when non-nil.
21         (muse-publish-markup-region): Use it.  Also, guarantee that point
22         is at end of region after publishing.
23         (muse-publish-mark-up-tag): Simplify, taking advantage of the new
24         variable.
26 2007-04-19  Michael Olson  <mwolson@gnu.org>
28         * IDEAS.muse: New file containing a list of ideas we have for new
29         features, or patches that have yet to be applied.
31         * README: Call it "Emacs Muse", not "the Emacs Muse".  No need to
32         be so confusing.
34         * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
35         docstring.
37         * lisp/muse-publish.el (muse-publish-markup-tags): Handle
38         <literal> tags with muse-publish-literal-tag, rather than
39         muse-publish-mark-read-only.
40         (muse-publish-literal-tag): New function that publishes the
41         <literal> tag.  It adds the ability to add the optional "style"
42         and "exact" elements, which cause text to only be included if the
43         current publishing style matches some criteria.  The text will be
44         removed otherwise.  Thanks to Jim Ottaway for the implementation.
45         (muse-publish-mark-up-tag): Let the <markup> tag take the
46         additional optional elements "style" and "exact", with much the
47         same effect as the <literal> improvements, but after calling
48         "function" or publishing the region first.  Make it possible to
49         put <content> tags in <markup> regions in HTML publishing.
51 2007-04-12  Michael Olson  <mwolson@gnu.org>
53         * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
54         that a blank line always exists after a heading.  This fixes a bug
55         in Docbook paragraph detection.  Thanks to Jean Magnan de Bornier
56         for the report.
58         * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
59         detection regexp to that which is used in Docbook and HTML
60         publishing styles.
62 2007-04-02  Michael Olson  <mwolson@gnu.org>
64         * README (muse-el-announce): Make a listing of mailing lists,
65         rather than pointing to the old EmacsWikiMailingList page.  Thanks
66         to Andreas Roehler for noticing.
68 2007-04-01  Michael Olson  <mwolson@gnu.org>
70         * lisp/muse-publish.el (muse-publish-date-format): Add
71         customization type ad group.
72         (muse-publish-region): New interactive function that publishes a
73         region to a new buffer.
75         * texi/muse.texi: Use "document" rather than "manual".
77 2007-03-31  Michael Olson  <mwolson@gnu.org>
79         * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
80         expression (muse-style-derived-p "latex" (muse-style "latex"))
81         yielded nil.  It now yields t, as expected.  Thanks to Jim Ottaway
82         for the catch.
84 2007-02-25  Michael Olson  <mwolson@gnu.org>
86         * lisp/muse-publish.el (muse-publish-date-format): New option that
87         specifies how to format the date when publishing Muse pages.
88         Thanks to Thomas Gehrlein for the suggestion.
89         (muse-publish-markup-buffer): Use it.
91 2007-02-23  Michael Olson  <mwolson@gnu.org>
93         * README: Add Prerequisites section to mention which versions of
94         Emacs work with Muse.  Thanks to Exal de Jesus Garcia Carrillo for
95         the suggestion.  Update link destination for Muse's page on
96         emacswiki.org.
98 2007-02-15  Michael Olson  <mwolson@gnu.org>
100         * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
101         be not just at beginning of line.  This fixes an error with the
102         <class> tag.  Thanks to Jim Pivarski for the report.
104 2007-02-14  Michael Olson  <mwolson@gnu.org>
106         * lisp/muse-publish.el (muse-publish-classify-url): Check to see
107         whether something is an image before checking to see if it is a
108         URL.  Thanks to ITSUMI ken-ichi for the report.
110 2007-02-13  Michael Olson  <mwolson@gnu.org>
112         * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
113         comments that have no text better.  Thanks to fang.lungang for the
114         report.
115         (muse-publish-markup-comment): Deal with case where no comment
116         text is provided.
118 2007-01-23  Michael Olson  <mwolson@gnu.org>
120         * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
121         that ensures that at least one blank line exists at the given
122         position.  This is used to avoid paragraph detection problems when
123         block-level tags like <example> immediately follow a paragraph.
124         Thanks to Hans Ekbrand for the report.
125         (muse-publish-example-tag): Use it.
127 2007-01-19  Michael Olson  <mwolson@gnu.org>
129         * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
130         previous blank line if we are publishing in Latex.  Otherwise,
131         that wouldn't be the right thing, so leave it be.
133 2007-01-17  Michael Olson  <mwolson@gnu.org>
135         * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
136         multiple centered math lines on the same line; keep them on
137         different lines.  Use \[ math-text \] instead of $$math-text$$,
138         since the latter seems to be deprecated.  Thanks to Jody Klymak
139         for the pointer.
141 2007-01-15  Michael Olson  <mwolson@gnu.org>
143         * lisp/muse-latex2png.el (muse-publish-latex-tag)
144         (muse-publish-math-tag): Publish region read-only when current
145         style is Latex-derived, so that Muse does not escape it.
146         (muse-publish-math-tag): If 6 or more spaces come before the tag,
147         surround the region with "$$" rather than "$".  This is the Muse
148         syntax for something centered, so it should be a good fit.
150 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
152         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
153         protocol.
154         (muse-browse-url-man): Change man page URL format.  The code is
155         simpler when the section is left inside parentheses.
156         (muse-browse-url-woman): New function.
158 2007-01-14  Michael Olson  <mwolson@gnu.org>
160         * AUTHORS: Bookkeeping.
162         * lisp/muse-latex2png.el: Associate <math> tag with
163         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
164         Klymak for the report.
165         (muse-publish-math-tag): Use muse-insert-markup for the "$"
166         characters, so they don't get escaped.
168         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
169         make muse-style-derived-p easier to implement.
170         (muse-style-derived-p): If the style is not provided, fetch it and
171         check to see if the car is a string.  This should fix the other
172         problem that was reported.
174         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
175         explains a case where setting muse-file-extension to nil can cause
176         unexpected behavior.
178 2007-01-09  Michael Olson  <mwolson@gnu.org>
180         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
181         comments higher priority than tags.  Thanks to Stefan van der Walt
182         for the report.
184 2007-01-08  Michael Olson  <mwolson@gnu.org>
186         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
187         argument rather than calling match-string.  Thanks to Stefan van
188         der Walt for the report.  This should fix a bug with publishing
189         <include file="..." markup="example">.
191 2007-01-06  Michael Olson  <mwolson@gnu.org>
193         * Makefile (debclean): New rule split from debrevision and
194         debrelease.
195         (debbuild): Take distributor into account.
197         * Makefile.defs (DISTRIBUTOR): New field that tracks what
198         vendor/distributor we are building for.
200 2007-01-04  Michael Olson  <mwolson@gnu.org>
202         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
203         line.
205         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
206         point to muse-publish-src-tag by default, since <src> and
207         <example> have different parameters.
208         (muse-publish-src-tag): New barebones publishing function for
209         <src>, which is superseded when publishing in an HTML-based style.
211 2007-01-03  Michael Olson  <mwolson@gnu.org>
213         * lisp/muse-html.el (muse-html-src-tag): Document.
215         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
216         command that calls a given tag on the current buffer.  Attributes
217         may be passed.
218         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
219         it.
220         (muse-publish-srcify-buffer): New function that allows
221         markup="src" in the <include> tag.
222         (muse-publish-get-and-delete-attr): New macro that gets an
223         attribute from a list and removes the first instance of that
224         attribute from said list.
225         (muse-publish-markup-attribute): Handle markup="src".
226         (muse-publish-command-tag, muse-publish-include-tag): Use
227         muse-publish-get-and-delete-attr.  This allows the remaining
228         attributes to be passed.
230         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
231         as changes to <command> and <include>.
233 2006-12-30  Michael Olson  <mwolson@gnu.org>
235         * NEWS: Update.
237         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
238         from muse-publish-math-tag to avoid conflict with
239         muse-latex2png.el.
241 2006-12-23  Michael Olson  <mwolson@gnu.org>
243         * lisp/muse-latex2png.el: Update header, since this has been
244         rewritten sufficiently to not need an assignment from the original
245         author.
246         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
247         (muse-latex2png): Use two underscores to separate prefix and hash.
248         (muse-latex2png-region): New function split from
249         muse-publish-latex-tag that can be used easily by other code.
250         Detect whether we are using an HTML-based publishing style, and
251         insert a simpler markup if we are not.  If we are using a
252         Latex-based publishing style, do not generate an image, and leave
253         the region alone.  Return the path of the generated image, in case
254         other functions want to use this programmatically.
255         (muse-publish-latex-tag): Set a default prefix based on the name
256         of the current file.
257         (muse-publish-math-tag): New tag that surrounds the region with
258         "$" characters, so that it becomes a Latex math region, and then
259         publishes it.
261         * lisp/muse-publish.el (muse-style-derived-p): New function that
262         returns non-nil if a given style, or the current style if omitted,
263         is equal to or derived from the given base style.  This is useful
264         in <lisp> tags, because it allows the user to specify markup that
265         is only to be inserted for one particular style.
267 2006-12-22  Michael Olson  <mwolson@gnu.org>
269         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
270         (muse-html-src-tag): New function which publishes the <src> tag.
271         Thanks to Clinton Ebadi and Charles Wang for the initial
272         implementations.
274         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
276 2006-12-21  Michael Olson  <mwolson@gnu.org>
278         * examples/johnw/muse-johnw.el: Update for preferred
279         muse-derive-style usage.  Rename to muse-init.el.
281         * examples/mwolson/muse-init.el: Update.
283         * lisp/muse-book.el (muse-book-publish): New function split from
284         muse-book-publish-project.  This is used in the definitions for
285         the book-latex and book-pdf styles.
286         (muse-book-publish-p): New function split from muse-book-publish.
287         (muse-book-get-directives): New function that retrieves the
288         publishing directives from the given file.
289         (muse-book-publish): Use muse-book-get-directives to set the title
290         if no title was specified.
292         * lisp/muse-project.el (muse-project): Add :publish-project entry
293         to widget.
294         (muse-read-project, muse-project-find-file): Message fix.
295         (muse-project-publish-file-default): New function split from
296         muse-project-publish-file.
297         (muse-project-publish-file): Allow file-level publishing function
298         to be specified by the :publish element.  The default is
299         muse-project-publish-file-default.
300         (muse-project-publish-default): New function split from
301         muse-project-publish.
302         (muse-project-publish): Allow project-level publishing function to
303         be specified by :publish-project element.  The default is
304         muse-project-publish-default.
306         * lisp/muse-publish.el (muse-publish-file): Message fix.
308         * texi/muse.texi (Book): Mention new way to publish books and
309         provide an example, since the process may be non-obvious.
311 2006-12-20  Michael Olson  <mwolson@gnu.org>
313         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
314         content-modifying code from the rest of
315         muse-docbook-finalize-buffer.
317         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
318         muse-groff-finalize-buffer, since it adds content to the buffer.
320         * lisp/muse-html.el (muse-html-munge-buffer): Split out
321         content-modifying code from the rest of muse-html-finalize-buffer.
322         This fixes a bug when using <include> with <content> tags.
324         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
325         (muse-journal-latex-munge-buffer)
326         (muse-journal-rss-munge-buffer): Rename, since they add content to
327         the buffer.
329         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
330         muse-latex-finalize-buffer, since it adds content to the buffer.
332         * lisp/muse-mode.el:
333         * lisp/muse-project.el:
334         * lisp/muse-publish.el:
335         * lisp/muse.el: Fix recursive load error.
337         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
338         muse-texinfo-finalize-buffer, since it adds content to the buffer.
340         * lisp/muse-wiki.el: Comment cleanup.
342         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
344 2006-12-17  Michael Olson  <mwolson@gnu.org>
346         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
347         Remove the definition of \comment, since Latex already has comment
348         syntax.
349         (muse-latex-markup-strings): Use the Latex comment syntax, rather
350         than our own.  Thanks to Ryan Stutsman for pointing this out.
352 2006-12-02  Michael Olson  <mwolson@gnu.org>
354         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
355         that this can generate a proper table of contents for Planner HTML
356         publishing.
358 2006-12-01  Michael Olson  <mwolson@gnu.org>
360         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
361         using a very old Emacs, avoid an infinite loop that could occur
362         when the regexp is an empty string.
364 2006-11-26  Michael Olson  <mwolson@gnu.org>
366         * NEWS: Bring up to date.
368         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
369         list issues and multiple-stanza verse issues.  This takes care of
370         all of the markup issues I was worried about.
372         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
373         (muse-project-publish-private-files): New option that indicates
374         whether files with private filesystem permissions should be
375         published.  The default is to publish them, since it avoids
376         confusion in new users.
377         (muse-project-private-p): Use it.
379 2006-11-19  Michael Olson  <mwolson@gnu.org>
381         * lisp/muse-project.el (muse-project-resolve-link): If no remote
382         style is found, which means that the link is not a Muse page, do
383         not add a suffix or prefix to it.  This should fix the
384         "[[thing.owl]]" bug that Phillip Lord reported.
386         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
387         removing unused 2nd argument.
389 2006-11-17  Michael Olson  <mwolson@gnu.org>
391         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
392         latex publishing where nested enumerated lists would be squashed
393         together at the end.
395 2006-11-16  Michael Olson  <mwolson@gnu.org>
397         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
398         list embedded in a definition list look right.  This also allows
399         for definitions to be separated from their terms, much like the
400         way HTML does it by default, if the user puts a blank line or a
401         line break between the term and the definition.  If the term and
402         definition are on the same line, they will be that way in the
403         output as well.
405 2006-11-11  Michael Olson  <mwolson@gnu.org>
407         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
408         for the report.
409         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
411 2006-11-07  Michael Olson  <mwolson@gnu.org>
413         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
414         release candidate for Muse 3.03, available.
416         * NEWS: Update.
418 2006-11-06  Michael Olson  <mwolson@gnu.org>
420         * lisp/muse-project.el (muse-project-find-file): Fix bug when
421         following a relative link worked even when the path was incorrect.
423 2006-11-04  John Sullivan  <john@wjsullivan.net>
425         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
426         muse-follow-name-at-point to reduce collisions with other
427         modes (Planner).
429         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
431 2006-11-04  Michael Olson  <mwolson@gnu.org>
433         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
434         optional, and make interwiki delimiter a regular rather than shy
435         group.
436         (muse-wiki-handle-implicit-interwiki): Rename from
437         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
438         (muse-wiki-handle-explicit-interwiki): New function that is
439         smarter about where an explicit link ends in a buffer.  This
440         allows you to refer to page names with invalid Wiki characters,
441         such as underscores and dashes, merely by enclosing them in double
442         brackets.  Also, a bug with recognizing project names too loosely
443         has been fixed.
445 2006-11-03  Michael Olson  <mwolson@gnu.org>
447         * lisp/muse-project.el (muse-project-page-file): Make relative
448         links work as expected, hopefully.
450         * lisp/muse-publish.el (muse-publish-this-file): Set the current
451         output style manually, since it will differ from anything in the
452         publishing style list.
454 2006-10-30  Michael Olson  <mwolson@gnu.org>
456         * lisp/muse-colors.el (muse-colors-markup): Remove note about
457         grouping elements, since that no longer applies.
458         (muse-colors-custom-tags): Explicitly match against
459         muse-tag-regexp to get the match-data set the way we want.  This
460         really fixes the <example> highlighting bug that Stefan reported.
461         (muse-configure-highlighting): Set the original value to the
462         symbol, not the modified value.  Re-use modified rules properly.
464         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
465         introduced yesterday.
467 2006-10-29  Michael Olson  <mwolson@gnu.org>
469         * examples/mwolson: Update my example configuration.
471         * NEWS: Update.
473         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
474         without a regexp in the first position before iterating through
475         them to build muse-colors-vector.  This fixes a bug with the
476         display of <example> tags.  Thanks to Stefan Reichör for the
477         report.
479         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
480         files in projects to be linked to.
482         * lisp/muse-publish.el (muse-publish-url): Allow the original link
483         to serve as a description for a URL, as long as it differs from
484         the destination URL.  This fixes the description of WikPage links
485         in PDF output.
486         (muse-publish-link-file): Check to see whether the given link
487         points at a valid file.  If so, return it.  Otherwise, apply other
488         transforms like prefix and link suffix.
490         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
491         "/", it is a file or directory, not a Muse page.  Thanks to
492         Phillip Lord for the suggestion.
494         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
495         of the current page as the local path, instead of duplicating the
496         remote file's path.  This probably fixes at least one reported
497         bug. since it's quite major.
498         (muse-wiki-update-project-file-regexp)
499         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
500         passed to regexp-opt, since that can cause Emacs 21 to throw an
501         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
502         DOT edu for the report.
503         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
505 2006-10-28  Michael Olson  <mwolson@gnu.org>
507         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
508         (muse-project-resolve-link): If the given style does not have a
509         link-suffix, default to suffix.  This fixes a bug I was noticing
510         when linking to a file that was published in both PDF and HTML
511         form.
513         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
514         function that is used as a callback to determine the initial
515         amount of indentation that the current dl item has.
516         (muse-publish-surround-dl): Use it.  Pass the initial indent value
517         and the post-indent value, instead of trying to determine them
518         both.
519         (muse-publish-strip-list-indentation): New function stripped from
520         `muse-publish-surround-text' for readability.
521         (muse-publish-surround-text): Instead of taking a determine-indent
522         value, take a determine-indent-func function, which is called just
523         after finding the next list item.  If we are asked to determine
524         the amount of indentation, concatenate indent and post-indent the
525         first time around.  This effectively fixes all known definition
526         list issues.
528 2006-10-16  Michael Olson  <mwolson@gnu.org>
530         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
531         other software -- namely, Planner -- can detect whether they are
532         using a version of Muse that supports nested tags.
533         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
534         muse-publish-goto-tag-end.
536         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
537         Adapt for nested tags.
539         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
540         <class> tag is nestable.  Thanks to Phillip Lord for noticing
541         this.
543         * lisp/muse-publish.el (muse-publish-markup-tag)
544         (muse-publish-quote-tag): Use muse-goto-tag-end.
546         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
548 2006-10-15  Michael Olson  <mwolson@gnu.org>
550         * AUTHORS: Bookkeeping.
552         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
553         tag.
555         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
556         tags.
558         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
560         * lisp/muse-import-docbook.el (muse-import-docbook)
561         (muse-import-docbook-files): Docfix.
562         (muse-import-docbook-get-title): Remove cl.el-ism.
564         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
566         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
568         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
570         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
571         (muse-next-reference, muse-previous-reference): Minor whitespace
572         changes.
573         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
574         the suggestion.
576         * lisp/muse-poem.el (muse-poem-tag): Ditto.
578         * lisp/muse-publish.el (muse-publish-markup-tags)
579         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
580         element and make 4th element determine whether tags are nestable.
581         (muse-publish-goto-tag-end): New function that moves to the end of
582         a tag.  Handle nested tags when NESTED is non-nil.
583         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
584         5th element for function.
585         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
586         this on several scenarios, and it seems to work.
587         (muse-publish-surround-text): Accept new optional argument
588         LIST-ITEM which determines the regexp to use for list items.  The
589         default is to use muse-list-item-regexp.
591         * muse.texi (Markup Tags): Mention nestable tags.
593         * NEWS: Mention new files.
595 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
597         * lisp/muse-import-docbook.el: New file that converts Docbook XML
598         into Muse format.
600         * lisp/muse-import-xml.el: New file that provides helper routines
601         for converting XML-ish files to Muse format.
603 2006-10-10  Michael Olson  <mwolson@gnu.org>
605         * NEWS: Update for 3.02.7 bugfix release.
607 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
609         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
610         using the value in the muse #date directive.
611         (muse-blosxom-use-metadate): New option that determines whether or
612         not to use the #postdate directive.
613         (muse-blosxom-format-date): Convert a date string to PyBlosxom
614         metadate plugin format.
616 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
618         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
619         recognised URLs.
621         * muse.texi: Clarify handling of implicit links by mentioning
622         which characters can prevent Muse from recognizing something as an
623         implicit link.
625 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
627         * lisp/muse-mode.el (muse-next-reference)
628         (muse-previous-reference): Fix bug #6367 by moving point to the
629         beginning of the link.
631 2006-09-26  Michael Olson  <mwolson@gnu.org>
633         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
634         beginning-of-line.  This should fix a bug that was noticed in
635         recent Emacs 22 builds.
637         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
638         eval-and-compile block to avoid a compiler warning.
640 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
642         * lisp/muse-backlink.el (muse-backlink-split-string):
643         Compatibility with Emacs versions < 22
644         (muse-backlink-pending): New internal variable
645         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
646         that backlinks are inserted at the right time.
647         (muse-backlink-insert-hook-func): Remove unwind-protection; check
648         for pending backlink, and that this is the targe page.
649         (muse-backlink-handle-link): Don’t handle the link if we are
650         already handling one. Return the link as well as the parent links.
652 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
654         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
655         #6942 - muse-blosxom-new-entry fails when using tags.
657 2006-09-14  Michael Olson  <mwolson@gnu.org>
659         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
660         compiler warning.
662 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
664         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
665         function: Protect all wikiwords from START to END from further
666         processing.
667         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
669 2006-09-13  Michael Olson  <mwolson@gnu.org>
671         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
672         adopted from Jim Ottaway's patch.  It removes links from the
673         heading, and then marks the region read-only to inhibit WikiWord
674         detection.
676 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
678         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
679         special handling for headings.
680         (muse-texinfo-remove-links): New function that removes explicit
681         links from the given strings, replacing them with a description.
683 2006-09-11  Michael Olson  <mwolson@gnu.org>
685         * muse.texi (Getting Help and Reporting Bugs): Mention the
686         muse-el-internationalization mailing list.
688         * lisp/muse.el (muse-path-sans-extension): New function that acts
689         like file-name-sans-extension, but guarantees to never modify the
690         directory part of the path.  Thanks to Evan Monroig for
691         investigating this.
693         * lisp/muse-book.el (muse-book-publish-project): Use
694         muse-path-sans-extension instead of file-name-sans-extension.
696         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
697         Ditto.
699 2006-08-30  Michael Olson  <mwolson@gnu.org>
701         * muse.texi (Blosxom Requirements): Fix typo.
703         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
704         directories for bzr and darcs.
706         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
707         contrib/pyblosxom/getstamps.py: Update version and headers.
709 2006-08-27  Michael Olson  <mwolson@gnu.org>
711         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
712         nil values before they get to mapconcat.  This fixes a lockup when
713         muse-wiki-match-all-project-files is nil.
715         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
716         (muse-wiki-ignore-implicit-links-to-current-page)
717         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
718         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
719         (muse-wiki-publish-small-title-words)
720         (muse-wiki-publish-pretty-title): Docfix.
721         (muse-wiki-update-local-wikiword-regexp): Rename from
722         muse-wiki-update-local-wikiword-regexp.  Set
723         muse-wiki-project-file-regexp instead of
724         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
725         take muse-wiki-use-wikiword into account, since this is a
726         different concept now.
727         (muse-wiki-update-wikiword-regexp): Remove.
728         (muse-wiki-wikiword-regexp): In-line the :set function.
729         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
731 2006-08-26  Michael Olson  <mwolson@gnu.org>
733         * lisp/muse-publish.el (muse-publish-surround-text): When looking
734         for indented list items, ignore blank lines.
736         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
737         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
738         mapconcat.  This should hopefully fix a problem with large amounts
739         of files with spaces in their name.  Thanks to Greg Detre for the
740         report.
742 2006-08-24  Michael Olson  <mwolson@gnu.org>
744         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
745         numbers from the argument to format-time-string.  This fixes an
746         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
748 2006-08-18  Michael Olson  <mwolson@gnu.org>
750         * lisp/muse-project.el (muse-project-file-entries): Since we are
751         given a full path, match against the filename as well.  This fixes
752         an issue where backup files were being added to the file alist.
754         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
755         from muse-html.el.
757 2006-08-12  Michael Olson  <mwolson@gnu.org>
759         * Makefile (.PHONY): Don't use line continuations.
760         (realclean fullclean): Call realclean in subdirs, not distclean.
761         (distclean): Don't call realclean, since this would wipe out our
762         autoloads file.
763         (dist): Use correct path to autoloads file.
765         * NEWS: Catch up with the latest changes.
767         * experimental/Makefile (.PHONY): Wrap long line.
769         * lisp/Makefile (distclean): Do the same thing as "clean", not
770         "realclean".
772         * lisp/muse-project.el (muse-project-get-applicable-style):
773         Indentation tweak.
774         (muse-project-ignore-regexp, muse-project-recurse-directory):
775         Docfix.
776         (muse-project-of-file): Try the ignored files regexp against the
777         base filename as well as the entire path.
779         * lisp/muse-publish.el (muse-publish-this-file): Display message
780         if the buffer is not associated with any file, so that we avoid
781         errors later on.
782         (muse-publish-url-desc): New function taken from muse-publish-url
783         that causes a URL description to be transformed.
784         (muse-publish-url): Call muse-publish-url-desc on either the
785         description or the original URL if it will be used as a
786         description.  Accept the original URL as an argument, in case it
787         was transformed earlier.
788         (muse-publish-insert-url): Pass original URL as an argument.
789         (muse-publish-markup-link): Make this somewhat easier to follow.
790         Pass original URL as argument.
791         (muse-publish-get-style): If the same style is used to publish to
792         two different directories, prompt the user for which directory to
793         use.
794         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
795         latest changes.
796         (muse-publish-markup-url): Pass original URL as an argument.  This
797         fixes the "nil" description for bare URLs that was in 3.02.91.
798         Nothing like finding a bug just after completing the announcement
799         of a release.
801         * lisp/muse.el: Use defalias whenever convenient.
802         (muse-version): Set version to 3.02.92 (3.03 RC2).
804 2006-08-10  Michael Olson  <mwolson@gnu.org>
806         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
807         style does not derive from any other class, return `t' here.
808         This, along with the corresponding change to muse-publish.el,
809         fixes a problem with the table of contents getting inserted
810         multiple times for custom html-based styles.
811         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
812         smarter method for table centering that works with XHTML.
814         * lisp/muse-latex2png.el Rename all functions to have a
815         "muse-latex2png" prefix.  Turn all variables into customizable
816         options in the muse-latex2png group.
817         (muse-latex2png-img-dest): New option specifying where to place
818         the images.
819         (muse-latex2png-template): New option containing the template to
820         use for the surrounding LaTeX code.
821         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
822         compliance.
823         (muse-latex2png-move2pubdir): Avoid multiple redundant error
824         messages when something else goes wrong.  Create the image
825         subdirectory if it doesn't exist already -- thanks to Christian
826         Straßer for the report.  Expand the filename properly.
827         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
828         and filename expansion.
829         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
830         the default directory properly.
832         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
833         do not run the same function twice.
835 2006-08-08  Michael Olson  <mwolson@gnu.org>
837         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
838         introduced wrong-type-argument error.
840         * lisp/muse-html.el (muse-html-markup-strings)
841         (muse-xhtml-markup-string): Cause table definition that contains
842         image to be center-aligned.  This should fix an issue with images
843         not being centered when captions are very long.
845         * lisp/muse-publish.el (muse-publish-table-fields): Trim
846         whitespace from fields once we have split them up.
848         * lisp/muse.el (muse-trim-whitespace): New function that strips
849         leading and trailing whitespace from a string.
851 2006-08-07  Michael Olson  <mwolson@gnu.org>
853         * NEWS: Update through patch-95.
855         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
856         to match the tags.
857         (muse-colors-explicit-link): Show images in link descriptions if
858         inlined images are enabled.
860         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
861         definitions for 'image-with-desc, 'image, and 'image-link.
862         (muse-docbook-markup-paragraph): If an inlined image begins a
863         paragraph, insert <para> before it.
864         (muse-docbook-fixup-images): New function that upper-cases the
865         "format" attribute of the <imagedata> tag.
866         (muse-docbook-finalize-buffer): Call it.
868         * lisp/muse-html.el (muse-html-markup-strings): Publish images
869         with descriptions as centered tables, with a centered caption
870         underneath.  The resulting look is consistent with the way that
871         they are published in the LaTeX style.  Thanks to Jody Klymak for
872         the suggestion.
873         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
874         valid way to center a table.
875         (muse-html-markup-paragraph): Use class="image" instead of
876         "image-link" for paragraphs that start with an embedded image.
878         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
879         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
880         suggestion.
881         (muse-latex-markup-specials-image): New option that enables
882         escaping of specials in images.  This was split from the URL
883         specials.
884         (muse-latex-decide-specials): Handle 'image context.
885         (muse-latex-fixup-dquotes): Go to beginning of document, instead
886         of relying on caller to do this for us.
888         * lisp/muse-publish.el (muse-publish-escape-specials): Document
889         'image context.
890         (muse-publish-url): Use 'image context for images.  Use 'image
891         instead of 'image-link and 'image-link in place of
892         'url-with-image.  Separate the image file from its extension so
893         that docbook and texinfo can publish images correctly.
894         (muse-publish-markup-link): Don't force a description if one is
895         not given.  This fixes a bug where images without descriptions
896         were being published as 'image-with-desc instead of 'image.
898         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
899         images the same as URLs.
900         (muse-texinfo-markup-strings): Improve image markup to achieve an
901         effect similar to that of the LaTeX publishing style.  Simplify
902         'url string.
904         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
906         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
907         when we have to use the custom version of this function.
909         * muse.texi (Images): Explain how to toggle inlining of images and
910         give better examples.  Mention captions and that captioned images
911         should not be used inside of text paragraphs.
912         (Markup Strings): Bring up-to-date with the changes made since
913         3.02.
915 2006-08-06  Michael Olson  <mwolson@gnu.org>
917         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
918         in the Emacs source tree.
920         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
921         in the Emacs source tree.
923         * ChangeLog.3: New file created from the old ChangeLog.
925         * Makefile.defs (VERSION): Set to 3.02.91.
927         * NEWS: Update through patch-84.
929         * lisp/muse.el (muse-version): Set to 3.02.91.
931         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
932         attributes.
933         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
934         delimiter are instead of hard-coding it.
936         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
937         (muse-mode): Make filling definition lists work better.  This
938         should fix #5359.
940         * lisp/muse-publish.el (muse-style-run-hooks): Use
941         `muse-style-element' instead of `muse-get-keyword' here.  This
942         should fix #6399.
944         * muse.texi: Set version to 3.02.91 (3.02 RC2).
946 See ChangeLog.3 for earlier changes.
948 ;; Local Variables:
949 ;; coding: utf-8
950 ;; End: