muse-protocols: Add woman:// handler
[muse-el.git] / ChangeLog
blob9a285d373d86fb385829c46a6e1a1e61b092b7f9
1 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
3         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
4         protocol.
5         (muse-browse-url-man): Change man page URL format.  The code is
6         simpler when the section is left inside parentheses.
7         (muse-browse-url-woman): New function.
9 2007-01-14  Michael Olson  <mwolson@gnu.org>
11         * AUTHORS: Bookkeeping.
13         * lisp/muse-latex2png.el: Associate <math> tag with
14         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
15         Klymak for the report.
16         (muse-publish-math-tag): Use muse-insert-markup for the "$"
17         characters, so they don't get escaped.
19         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
20         make muse-style-derived-p easier to implement.
21         (muse-style-derived-p): If the style is not provided, fetch it and
22         check to see if the car is a string.  This should fix the other
23         problem that was reported.
25         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
26         explains a case where setting muse-file-extension to nil can cause
27         unexpected behavior.
29 2007-01-09  Michael Olson  <mwolson@gnu.org>
31         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
32         comments higher priority than tags.  Thanks to Stefan van der Walt
33         for the report.
35 2007-01-08  Michael Olson  <mwolson@gnu.org>
37         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
38         argument rather than calling match-string.  Thanks to Stefan van
39         der Walt for the report.  This should fix a bug with publishing
40         <include file="..." markup="example">.
42 2007-01-06  Michael Olson  <mwolson@gnu.org>
44         * Makefile (debclean): New rule split from debrevision and
45         debrelease.
46         (debbuild): Take distributor into account.
48         * Makefile.defs (DISTRIBUTOR): New field that tracks what
49         vendor/distributor we are building for.
51 2007-01-04  Michael Olson  <mwolson@gnu.org>
53         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
54         line.
56         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
57         point to muse-publish-src-tag by default, since <src> and
58         <example> have different parameters.
59         (muse-publish-src-tag): New barebones publishing function for
60         <src>, which is superseded when publishing in an HTML-based style.
62 2007-01-03  Michael Olson  <mwolson@gnu.org>
64         * lisp/muse-html.el (muse-html-src-tag): Document.
66         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
67         command that calls a given tag on the current buffer.  Attributes
68         may be passed.
69         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
70         it.
71         (muse-publish-srcify-buffer): New function that allows
72         markup="src" in the <include> tag.
73         (muse-publish-get-and-delete-attr): New macro that gets an
74         attribute from a list and removes the first instance of that
75         attribute from said list.
76         (muse-publish-markup-attribute): Handle markup="src".
77         (muse-publish-command-tag, muse-publish-include-tag): Use
78         muse-publish-get-and-delete-attr.  This allows the remaining
79         attributes to be passed.
81         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
82         as changes to <command> and <include>.
84 2006-12-30  Michael Olson  <mwolson@gnu.org>
86         * NEWS: Update.
88         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
89         from muse-publish-math-tag to avoid conflict with
90         muse-latex2png.el.
92 2006-12-23  Michael Olson  <mwolson@gnu.org>
94         * lisp/muse-latex2png.el: Update header, since this has been
95         rewritten sufficiently to not need an assignment from the original
96         author.
97         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
98         (muse-latex2png): Use two underscores to separate prefix and hash.
99         (muse-latex2png-region): New function split from
100         muse-publish-latex-tag that can be used easily by other code.
101         Detect whether we are using an HTML-based publishing style, and
102         insert a simpler markup if we are not.  If we are using a
103         Latex-based publishing style, do not generate an image, and leave
104         the region alone.  Return the path of the generated image, in case
105         other functions want to use this programmatically.
106         (muse-publish-latex-tag): Set a default prefix based on the name
107         of the current file.
108         (muse-publish-math-tag): New tag that surrounds the region with
109         "$" characters, so that it becomes a Latex math region, and then
110         publishes it.
112         * lisp/muse-publish.el (muse-style-derived-p): New function that
113         returns non-nil if a given style, or the current style if omitted,
114         is equal to or derived from the given base style.  This is useful
115         in <lisp> tags, because it allows the user to specify markup that
116         is only to be inserted for one particular style.
118 2006-12-22  Michael Olson  <mwolson@gnu.org>
120         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
121         (muse-html-src-tag): New function which publishes the <src> tag.
122         Thanks to Clinton Ebadi and Charles Wang for the initial
123         implementations.
125         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
127 2006-12-21  Michael Olson  <mwolson@gnu.org>
129         * examples/johnw/muse-johnw.el: Update for preferred
130         muse-derive-style usage.  Rename to muse-init.el.
132         * examples/mwolson/muse-init.el: Update.
134         * lisp/muse-book.el (muse-book-publish): New function split from
135         muse-book-publish-project.  This is used in the definitions for
136         the book-latex and book-pdf styles.
137         (muse-book-publish-p): New function split from muse-book-publish.
138         (muse-book-get-directives): New function that retrieves the
139         publishing directives from the given file.
140         (muse-book-publish): Use muse-book-get-directives to set the title
141         if no title was specified.
143         * lisp/muse-project.el (muse-project): Add :publish-project entry
144         to widget.
145         (muse-read-project, muse-project-find-file): Message fix.
146         (muse-project-publish-file-default): New function split from
147         muse-project-publish-file.
148         (muse-project-publish-file): Allow file-level publishing function
149         to be specified by the :publish element.  The default is
150         muse-project-publish-file-default.
151         (muse-project-publish-default): New function split from
152         muse-project-publish.
153         (muse-project-publish): Allow project-level publishing function to
154         be specified by :publish-project element.  The default is
155         muse-project-publish-default.
157         * lisp/muse-publish.el (muse-publish-file): Message fix.
159         * texi/muse.texi (Book): Mention new way to publish books and
160         provide an example, since the process may be non-obvious.
162 2006-12-20  Michael Olson  <mwolson@gnu.org>
164         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
165         content-modifying code from the rest of
166         muse-docbook-finalize-buffer.
168         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
169         muse-groff-finalize-buffer, since it adds content to the buffer.
171         * lisp/muse-html.el (muse-html-munge-buffer): Split out
172         content-modifying code from the rest of muse-html-finalize-buffer.
173         This fixes a bug when using <include> with <content> tags.
175         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
176         (muse-journal-latex-munge-buffer)
177         (muse-journal-rss-munge-buffer): Rename, since they add content to
178         the buffer.
180         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
181         muse-latex-finalize-buffer, since it adds content to the buffer.
183         * lisp/muse-mode.el:
184         * lisp/muse-project.el:
185         * lisp/muse-publish.el:
186         * lisp/muse.el: Fix recursive load error.
188         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
189         muse-texinfo-finalize-buffer, since it adds content to the buffer.
191         * lisp/muse-wiki.el: Comment cleanup.
193         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
195 2006-12-17  Michael Olson  <mwolson@gnu.org>
197         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
198         Remove the definition of \comment, since Latex already has comment
199         syntax.
200         (muse-latex-markup-strings): Use the Latex comment syntax, rather
201         than our own.  Thanks to Ryan Stutsman for pointing this out.
203 2006-12-02  Michael Olson  <mwolson@gnu.org>
205         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
206         that this can generate a proper table of contents for Planner HTML
207         publishing.
209 2006-12-01  Michael Olson  <mwolson@gnu.org>
211         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
212         using a very old Emacs, avoid an infinite loop that could occur
213         when the regexp is an empty string.
215 2006-11-26  Michael Olson  <mwolson@gnu.org>
217         * NEWS: Bring up to date.
219         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
220         list issues and multiple-stanza verse issues.  This takes care of
221         all of the markup issues I was worried about.
223         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
224         (muse-project-publish-private-files): New option that indicates
225         whether files with private filesystem permissions should be
226         published.  The default is to publish them, since it avoids
227         confusion in new users.
228         (muse-project-private-p): Use it.
230 2006-11-19  Michael Olson  <mwolson@gnu.org>
232         * lisp/muse-project.el (muse-project-resolve-link): If no remote
233         style is found, which means that the link is not a Muse page, do
234         not add a suffix or prefix to it.  This should fix the
235         "[[thing.owl]]" bug that Phillip Lord reported.
237         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
238         removing unused 2nd argument.
240 2006-11-17  Michael Olson  <mwolson@gnu.org>
242         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
243         latex publishing where nested enumerated lists would be squashed
244         together at the end.
246 2006-11-16  Michael Olson  <mwolson@gnu.org>
248         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
249         list embedded in a definition list look right.  This also allows
250         for definitions to be separated from their terms, much like the
251         way HTML does it by default, if the user puts a blank line or a
252         line break between the term and the definition.  If the term and
253         definition are on the same line, they will be that way in the
254         output as well.
256 2006-11-11  Michael Olson  <mwolson@gnu.org>
258         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
259         for the report.
260         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
262 2006-11-07  Michael Olson  <mwolson@gnu.org>
264         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
265         release candidate for Muse 3.03, available.
267         * NEWS: Update.
269 2006-11-06  Michael Olson  <mwolson@gnu.org>
271         * lisp/muse-project.el (muse-project-find-file): Fix bug when
272         following a relative link worked even when the path was incorrect.
274 2006-11-04  John Sullivan  <john@wjsullivan.net>
276         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
277         muse-follow-name-at-point to reduce collisions with other
278         modes (Planner).
280         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
282 2006-11-04  Michael Olson  <mwolson@gnu.org>
284         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
285         optional, and make interwiki delimiter a regular rather than shy
286         group.
287         (muse-wiki-handle-implicit-interwiki): Rename from
288         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
289         (muse-wiki-handle-explicit-interwiki): New function that is
290         smarter about where an explicit link ends in a buffer.  This
291         allows you to refer to page names with invalid Wiki characters,
292         such as underscores and dashes, merely by enclosing them in double
293         brackets.  Also, a bug with recognizing project names too loosely
294         has been fixed.
296 2006-11-03  Michael Olson  <mwolson@gnu.org>
298         * lisp/muse-project.el (muse-project-page-file): Make relative
299         links work as expected, hopefully.
301         * lisp/muse-publish.el (muse-publish-this-file): Set the current
302         output style manually, since it will differ from anything in the
303         publishing style list.
305 2006-10-30  Michael Olson  <mwolson@gnu.org>
307         * lisp/muse-colors.el (muse-colors-markup): Remove note about
308         grouping elements, since that no longer applies.
309         (muse-colors-custom-tags): Explicitly match against
310         muse-tag-regexp to get the match-data set the way we want.  This
311         really fixes the <example> highlighting bug that Stefan reported.
312         (muse-configure-highlighting): Set the original value to the
313         symbol, not the modified value.  Re-use modified rules properly.
315         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
316         introduced yesterday.
318 2006-10-29  Michael Olson  <mwolson@gnu.org>
320         * examples/mwolson: Update my example configuration.
322         * NEWS: Update.
324         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
325         without a regexp in the first position before iterating through
326         them to build muse-colors-vector.  This fixes a bug with the
327         display of <example> tags.  Thanks to Stefan Reichör for the
328         report.
330         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
331         files in projects to be linked to.
333         * lisp/muse-publish.el (muse-publish-url): Allow the original link
334         to serve as a description for a URL, as long as it differs from
335         the destination URL.  This fixes the description of WikPage links
336         in PDF output.
337         (muse-publish-link-file): Check to see whether the given link
338         points at a valid file.  If so, return it.  Otherwise, apply other
339         transforms like prefix and link suffix.
341         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
342         "/", it is a file or directory, not a Muse page.  Thanks to
343         Phillip Lord for the suggestion.
345         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
346         of the current page as the local path, instead of duplicating the
347         remote file's path.  This probably fixes at least one reported
348         bug. since it's quite major.
349         (muse-wiki-update-project-file-regexp)
350         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
351         passed to regexp-opt, since that can cause Emacs 21 to throw an
352         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
353         DOT edu for the report.
354         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
356 2006-10-28  Michael Olson  <mwolson@gnu.org>
358         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
359         (muse-project-resolve-link): If the given style does not have a
360         link-suffix, default to suffix.  This fixes a bug I was noticing
361         when linking to a file that was published in both PDF and HTML
362         form.
364         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
365         function that is used as a callback to determine the initial
366         amount of indentation that the current dl item has.
367         (muse-publish-surround-dl): Use it.  Pass the initial indent value
368         and the post-indent value, instead of trying to determine them
369         both.
370         (muse-publish-strip-list-indentation): New function stripped from
371         `muse-publish-surround-text' for readability.
372         (muse-publish-surround-text): Instead of taking a determine-indent
373         value, take a determine-indent-func function, which is called just
374         after finding the next list item.  If we are asked to determine
375         the amount of indentation, concatenate indent and post-indent the
376         first time around.  This effectively fixes all known definition
377         list issues.
379 2006-10-16  Michael Olson  <mwolson@gnu.org>
381         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
382         other software -- namely, Planner -- can detect whether they are
383         using a version of Muse that supports nested tags.
384         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
385         muse-publish-goto-tag-end.
387         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
388         Adapt for nested tags.
390         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
391         <class> tag is nestable.  Thanks to Phillip Lord for noticing
392         this.
394         * lisp/muse-publish.el (muse-publish-markup-tag)
395         (muse-publish-quote-tag): Use muse-goto-tag-end.
397         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
399 2006-10-15  Michael Olson  <mwolson@gnu.org>
401         * AUTHORS: Bookkeeping.
403         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
404         tag.
406         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
407         tags.
409         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
411         * lisp/muse-import-docbook.el (muse-import-docbook)
412         (muse-import-docbook-files): Docfix.
413         (muse-import-docbook-get-title): Remove cl.el-ism.
415         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
417         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
419         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
421         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
422         (muse-next-reference, muse-previous-reference): Minor whitespace
423         changes.
424         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
425         the suggestion.
427         * lisp/muse-poem.el (muse-poem-tag): Ditto.
429         * lisp/muse-publish.el (muse-publish-markup-tags)
430         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
431         element and make 4th element determine whether tags are nestable.
432         (muse-publish-goto-tag-end): New function that moves to the end of
433         a tag.  Handle nested tags when NESTED is non-nil.
434         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
435         5th element for function.
436         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
437         this on several scenarios, and it seems to work.
438         (muse-publish-surround-text): Accept new optional argument
439         LIST-ITEM which determines the regexp to use for list items.  The
440         default is to use muse-list-item-regexp.
442         * muse.texi (Markup Tags): Mention nestable tags.
444         * NEWS: Mention new files.
446 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
448         * lisp/muse-import-docbook.el: New file that converts Docbook XML
449         into Muse format.
451         * lisp/muse-import-xml.el: New file that provides helper routines
452         for converting XML-ish files to Muse format.
454 2006-10-10  Michael Olson  <mwolson@gnu.org>
456         * NEWS: Update for 3.02.7 bugfix release.
458 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
460         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
461         using the value in the muse #date directive.
462         (muse-blosxom-use-metadate): New option that determines whether or
463         not to use the #postdate directive.
464         (muse-blosxom-format-date): Convert a date string to PyBlosxom
465         metadate plugin format.
467 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
469         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
470         recognised URLs.
472         * muse.texi: Clarify handling of implicit links by mentioning
473         which characters can prevent Muse from recognizing something as an
474         implicit link.
476 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
478         * lisp/muse-mode.el (muse-next-reference)
479         (muse-previous-reference): Fix bug #6367 by moving point to the
480         beginning of the link.
482 2006-09-26  Michael Olson  <mwolson@gnu.org>
484         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
485         beginning-of-line.  This should fix a bug that was noticed in
486         recent Emacs 22 builds.
488         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
489         eval-and-compile block to avoid a compiler warning.
491 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
493         * lisp/muse-backlink.el (muse-backlink-split-string):
494         Compatibility with Emacs versions < 22
495         (muse-backlink-pending): New internal variable
496         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
497         that backlinks are inserted at the right time.
498         (muse-backlink-insert-hook-func): Remove unwind-protection; check
499         for pending backlink, and that this is the targe page.
500         (muse-backlink-handle-link): Don’t handle the link if we are
501         already handling one. Return the link as well as the parent links.
503 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
505         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
506         #6942 - muse-blosxom-new-entry fails when using tags.
508 2006-09-14  Michael Olson  <mwolson@gnu.org>
510         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
511         compiler warning.
513 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
515         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
516         function: Protect all wikiwords from START to END from further
517         processing.
518         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
520 2006-09-13  Michael Olson  <mwolson@gnu.org>
522         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
523         adopted from Jim Ottaway's patch.  It removes links from the
524         heading, and then marks the region read-only to inhibit WikiWord
525         detection.
527 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
529         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
530         special handling for headings.
531         (muse-texinfo-remove-links): New function that removes explicit
532         links from the given strings, replacing them with a description.
534 2006-09-11  Michael Olson  <mwolson@gnu.org>
536         * muse.texi (Getting Help and Reporting Bugs): Mention the
537         muse-el-internationalization mailing list.
539         * lisp/muse.el (muse-path-sans-extension): New function that acts
540         like file-name-sans-extension, but guarantees to never modify the
541         directory part of the path.  Thanks to Evan Monroig for
542         investigating this.
544         * lisp/muse-book.el (muse-book-publish-project): Use
545         muse-path-sans-extension instead of file-name-sans-extension.
547         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
548         Ditto.
550 2006-08-30  Michael Olson  <mwolson@gnu.org>
552         * muse.texi (Blosxom Requirements): Fix typo.
554         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
555         directories for bzr and darcs.
557         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
558         contrib/pyblosxom/getstamps.py: Update version and headers.
560 2006-08-27  Michael Olson  <mwolson@gnu.org>
562         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
563         nil values before they get to mapconcat.  This fixes a lockup when
564         muse-wiki-match-all-project-files is nil.
566         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
567         (muse-wiki-ignore-implicit-links-to-current-page)
568         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
569         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
570         (muse-wiki-publish-small-title-words)
571         (muse-wiki-publish-pretty-title): Docfix.
572         (muse-wiki-update-local-wikiword-regexp): Rename from
573         muse-wiki-update-local-wikiword-regexp.  Set
574         muse-wiki-project-file-regexp instead of
575         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
576         take muse-wiki-use-wikiword into account, since this is a
577         different concept now.
578         (muse-wiki-update-wikiword-regexp): Remove.
579         (muse-wiki-wikiword-regexp): In-line the :set function.
580         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
582 2006-08-26  Michael Olson  <mwolson@gnu.org>
584         * lisp/muse-publish.el (muse-publish-surround-text): When looking
585         for indented list items, ignore blank lines.
587         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
588         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
589         mapconcat.  This should hopefully fix a problem with large amounts
590         of files with spaces in their name.  Thanks to Greg Detre for the
591         report.
593 2006-08-24  Michael Olson  <mwolson@gnu.org>
595         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
596         numbers from the argument to format-time-string.  This fixes an
597         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
599 2006-08-18  Michael Olson  <mwolson@gnu.org>
601         * lisp/muse-project.el (muse-project-file-entries): Since we are
602         given a full path, match against the filename as well.  This fixes
603         an issue where backup files were being added to the file alist.
605         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
606         from muse-html.el.
608 2006-08-12  Michael Olson  <mwolson@gnu.org>
610         * Makefile (.PHONY): Don't use line continuations.
611         (realclean fullclean): Call realclean in subdirs, not distclean.
612         (distclean): Don't call realclean, since this would wipe out our
613         autoloads file.
614         (dist): Use correct path to autoloads file.
616         * NEWS: Catch up with the latest changes.
618         * experimental/Makefile (.PHONY): Wrap long line.
620         * lisp/Makefile (distclean): Do the same thing as "clean", not
621         "realclean".
623         * lisp/muse-project.el (muse-project-get-applicable-style):
624         Indentation tweak.
625         (muse-project-ignore-regexp, muse-project-recurse-directory):
626         Docfix.
627         (muse-project-of-file): Try the ignored files regexp against the
628         base filename as well as the entire path.
630         * lisp/muse-publish.el (muse-publish-this-file): Display message
631         if the buffer is not associated with any file, so that we avoid
632         errors later on.
633         (muse-publish-url-desc): New function taken from muse-publish-url
634         that causes a URL description to be transformed.
635         (muse-publish-url): Call muse-publish-url-desc on either the
636         description or the original URL if it will be used as a
637         description.  Accept the original URL as an argument, in case it
638         was transformed earlier.
639         (muse-publish-insert-url): Pass original URL as an argument.
640         (muse-publish-markup-link): Make this somewhat easier to follow.
641         Pass original URL as argument.
642         (muse-publish-get-style): If the same style is used to publish to
643         two different directories, prompt the user for which directory to
644         use.
645         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
646         latest changes.
647         (muse-publish-markup-url): Pass original URL as an argument.  This
648         fixes the "nil" description for bare URLs that was in 3.02.91.
649         Nothing like finding a bug just after completing the announcement
650         of a release.
652         * lisp/muse.el: Use defalias whenever convenient.
653         (muse-version): Set version to 3.02.92 (3.03 RC2).
655 2006-08-10  Michael Olson  <mwolson@gnu.org>
657         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
658         style does not derive from any other class, return `t' here.
659         This, along with the corresponding change to muse-publish.el,
660         fixes a problem with the table of contents getting inserted
661         multiple times for custom html-based styles.
662         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
663         smarter method for table centering that works with XHTML.
665         * lisp/muse-latex2png.el Rename all functions to have a
666         "muse-latex2png" prefix.  Turn all variables into customizable
667         options in the muse-latex2png group.
668         (muse-latex2png-img-dest): New option specifying where to place
669         the images.
670         (muse-latex2png-template): New option containing the template to
671         use for the surrounding LaTeX code.
672         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
673         compliance.
674         (muse-latex2png-move2pubdir): Avoid multiple redundant error
675         messages when something else goes wrong.  Create the image
676         subdirectory if it doesn't exist already -- thanks to Christian
677         Straßer for the report.  Expand the filename properly.
678         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
679         and filename expansion.
680         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
681         the default directory properly.
683         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
684         do not run the same function twice.
686 2006-08-08  Michael Olson  <mwolson@gnu.org>
688         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
689         introduced wrong-type-argument error.
691         * lisp/muse-html.el (muse-html-markup-strings)
692         (muse-xhtml-markup-string): Cause table definition that contains
693         image to be center-aligned.  This should fix an issue with images
694         not being centered when captions are very long.
696         * lisp/muse-publish.el (muse-publish-table-fields): Trim
697         whitespace from fields once we have split them up.
699         * lisp/muse.el (muse-trim-whitespace): New function that strips
700         leading and trailing whitespace from a string.
702 2006-08-07  Michael Olson  <mwolson@gnu.org>
704         * NEWS: Update through patch-95.
706         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
707         to match the tags.
708         (muse-colors-explicit-link): Show images in link descriptions if
709         inlined images are enabled.
711         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
712         definitions for 'image-with-desc, 'image, and 'image-link.
713         (muse-docbook-markup-paragraph): If an inlined image begins a
714         paragraph, insert <para> before it.
715         (muse-docbook-fixup-images): New function that upper-cases the
716         "format" attribute of the <imagedata> tag.
717         (muse-docbook-finalize-buffer): Call it.
719         * lisp/muse-html.el (muse-html-markup-strings): Publish images
720         with descriptions as centered tables, with a centered caption
721         underneath.  The resulting look is consistent with the way that
722         they are published in the LaTeX style.  Thanks to Jody Klymak for
723         the suggestion.
724         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
725         valid way to center a table.
726         (muse-html-markup-paragraph): Use class="image" instead of
727         "image-link" for paragraphs that start with an embedded image.
729         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
730         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
731         suggestion.
732         (muse-latex-markup-specials-image): New option that enables
733         escaping of specials in images.  This was split from the URL
734         specials.
735         (muse-latex-decide-specials): Handle 'image context.
736         (muse-latex-fixup-dquotes): Go to beginning of document, instead
737         of relying on caller to do this for us.
739         * lisp/muse-publish.el (muse-publish-escape-specials): Document
740         'image context.
741         (muse-publish-url): Use 'image context for images.  Use 'image
742         instead of 'image-link and 'image-link in place of
743         'url-with-image.  Separate the image file from its extension so
744         that docbook and texinfo can publish images correctly.
745         (muse-publish-markup-link): Don't force a description if one is
746         not given.  This fixes a bug where images without descriptions
747         were being published as 'image-with-desc instead of 'image.
749         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
750         images the same as URLs.
751         (muse-texinfo-markup-strings): Improve image markup to achieve an
752         effect similar to that of the LaTeX publishing style.  Simplify
753         'url string.
755         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
757         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
758         when we have to use the custom version of this function.
760         * muse.texi (Images): Explain how to toggle inlining of images and
761         give better examples.  Mention captions and that captioned images
762         should not be used inside of text paragraphs.
763         (Markup Strings): Bring up-to-date with the changes made since
764         3.02.
766 2006-08-06  Michael Olson  <mwolson@gnu.org>
768         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
769         in the Emacs source tree.
771         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
772         in the Emacs source tree.
774         * ChangeLog.3: New file created from the old ChangeLog.
776         * Makefile.defs (VERSION): Set to 3.02.91.
778         * NEWS: Update through patch-84.
780         * lisp/muse.el (muse-version): Set to 3.02.91.
782         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
783         attributes.
784         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
785         delimiter are instead of hard-coding it.
787         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
788         (muse-mode): Make filling definition lists work better.  This
789         should fix #5359.
791         * lisp/muse-publish.el (muse-style-run-hooks): Use
792         `muse-style-element' instead of `muse-get-keyword' here.  This
793         should fix #6399.
795         * muse.texi: Set version to 3.02.91 (3.02 RC2).
797 See ChangeLog.3 for earlier changes.
799 ;; Local Variables:
800 ;; coding: utf-8
801 ;; End: