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