Check in muse-context.el
[muse-el.git] / ChangeLog
blob35be9ce5ef32c8eef7df0a13200d908f45c1e2a1
1 2007-07-23  Michael Olson  <mwolson@gnu.org>
3         * lisp/muse-context.el: New file that provides support for
4         publishing documents to the ConTeXt format.  Thanks to Jean Magnan
5         de Bornier for his work on this.
7         * lisp/muse-latex2png.el (muse-publish-latex-tag):
8         s/contex/context/.
10         * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
11         (muse-latex-bibliography): Remove call to `widen', since it is not
12         needed anymore.
13         ("slides", "slides-pdf"): Indent elements uniformly.
15 2007-07-22  Michael Olson  <mwolson@gnu.org>
17         * lisp/muse-blosxom.el (muse-blosxom-new-entry):
18         * lisp/muse-mode.el (muse-insert-tag):
19         * lisp/muse-project.el (muse-read-project)
20         (muse-read-project-file):
21         * lisp/muse-publish.el (muse-publish-get-style): Use
22         muse-completing-read-function.
24         * lisp/muse-latex2png.el (muse-publish-latex-tag)
25         (muse-publish-math-tag): Allow the contex style -- which I plan to
26         include soon -- to work with these tags.
28         * lisp/muse.el (muse-completing-read-function): New option that
29         determines which function to call when doing a completing-read.
31 2007-07-15  Michael Olson  <mwolson@gnu.org>
33         * lisp/muse-journal.el (muse-journal-html-entry-template)
34         (muse-journal-rdf-entry-template)
35         (muse-journal-rss-entry-template): Mention that this can be text
36         or a filename.
37         (muse-journal-rdf-entry-template, muse-journal-rss-header)
38         (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
39         newlines to make the output look nicer.
40         (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
41         Use muse-insert-file-or-string for the entry templates, rather
42         than muse-insert-markup.  This allows <lisp> and <markup> tags to
43         be acted on.  Thanks to Scott Hyde for the report.
44         (muse-journal-html-munge-buffer): Escape quote of the day using
45         entire-document specials before snarfing it.  Mark entire template
46         as read-only -- this fixes an incorrect escaping bug.  Remove
47         read-only properties before replacing template matches so that
48         they can still be escaped with entire-document specials later on.
49         (muse-journal-rss-munge-buffer): Make sure that title is escaped
50         properly.
51         (muse-journal-markup-tags): Rename from
52         muse-journal-latex-markup-tags, because we will use it for
53         journal-rss-entry as well.
54         (muse-journal-qotd-tag): Move higher.  Use begin-quote-item and
55         end-quote-item.
56         (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
57         html.
58         ("journal-latex", "journal-pdf", "journal-book-latex")
59         ("journal-book-pdf"): Use muse-journal-markup-tags rather than
60         muse-journal-latex-markup-tags.
61         ("journal-rss-entry"): New style that is used by journal-rss and
62         journal-rdf to mark up individual entries.  It is needed so that
63         we can do something meaningful with the qotd tag.
64         (muse-journal-rdf-summarize-entries): Set this to nil by default,
65         because it is annoying.  Update docs to mention this.
66         (muse-journal-rss-summarize-entries): Docfix.
68         * lisp/muse-publish.el (muse-insert-file-or-string): Use
69         muse-publish-markup-header-footer-tags.  I'm not quite sure how
70         this change got reverted.
71         (muse-markup-tag-info): Make into a function.  Move common code
72         here, rather than duplicating it in two places.  Deal with case
73         where muse-publish-use-header-footer-tags is non-nil.
74         (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
75         (muse-inhibit-style-tags): Move higher to avoid byte-compiler
76         warning.
77         (muse-publish-use-header-footer-tags): New variable that indicates
78         whether we should use just the header and footer tags, rather than
79         the full set.
80         (muse-insert-file-or-string): Bind
81         muse-publish-use-header-footer-tags to t.
82         (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
83         Simplify call to muse-markup-tag-info.
84         (muse-publish-mark-up-tag): Bind
85         muse-publish-use-header-footer-tags to nil.
87         * texi/muse.texi (Journal): Update for recent changes.
89 2007-07-14  Michael Olson  <mwolson@gnu.org>
91         * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
92         delete the remainder of the buffer, since this causes the
93         resulting RDF to have invalid syntax.  Thanks to Phillip Lord for
94         the report and the suggested fix.
96         * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
97         beginning of table-el regexp.  This fixes a bug where Muse stalls
98         when trying to publish a malformed table.  Thanks to Ye Wenbin for
99         the report and the suggested fix.
101 2007-07-12  Michael Olson  <mwolson@gnu.org>
103         * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
104         default, rather than the empty string.  This really fixes the bug
105         that occurred when using Muse with muse-project-alist set to nil.
106         Thanks to Jonathan Underwood for the report.
107         (muse-wiki-update-interwiki-regexp): Set
108         muse-wiki-interwiki-regexp to nil if muse-project-alist is not
109         defined.
110         (muse-wiki-handle-implicit-interwiki)
111         (muse-wiki-handle-explicit-interwiki): Handle case where
112         muse-wiki-interwiki-regexp is nil.
114 2007-07-10  Michael Olson  <mwolson@gnu.org>
116         * lisp/muse-mode.el (muse-grep): Abort search if the current
117         project contains no directories.
119         * lisp/muse-project.el (muse-project-file-alist): If
120         muse-project-alist is not defined, or project is nil, return nil
121         right away.  This ought to fix a bug that occurred when using Muse
122         with muse-project-alist set to nil.
123         (muse-project-of-file): Make sure muse-project-alist is not nil.
124         (muse-project-save-buffers): Make sure project is not nil.
126         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
127         case where muse-project-alist is nil.
129         * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
130         for XEmacs, since color-theme.el is poorly behaved, and defines
131         its own replace-in-string.  Bad color-theme.el -- no cookie for
132         you.
134 2007-07-01  Michael Olson  <mwolson@gnu.org>
136         * Makefile (.PHONY): Update for new debian package rules.
138         * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
140         * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
141         Use save-restriction properly.
142         (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
144         * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
145         (muse-latex-fixup-citations): Re-indent.  Use save-restriction
146         properly.
147         (muse-latex-bibliography): Re-indent.
149         * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
150         higher.  This fixes an error at startup with some versions of
151         Emacs.
152         (muse-publish-cite-tag): Re-indent.
154         * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
155         to the end of the link part, so as to exclude the description from
156         the match.  This fixes a bug with three-part links that have
157         descriptions.  Thanks to everyone who pointed it out.
159 2007-06-18  Michael Olson  <mwolson@gnu.org>
161         * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
162         (muse-xhtml1.1-markup-strings): New option that specifies XHTML
163         1.1 specific markup strings.
164         (muse-html-insert-anchor): Use 'anchor string, rather than
165         hard-coding it.  Thanks to Chris Corsair for the suggestion.
166         ("xhtml1.0"): New style that is an alias for the xhtml style.
167         ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
169 2007-06-17  Michael Olson  <mwolson@gnu.org>
171         * examples/QuickStart.muse: Make images local so that the Info
172         version of this document works.  Add <example> for the Literal
173         paragraphs chapter, so that it is clear what is happening.
175         * Makefile: Add elpa target, which is used for building an ELPA
176         package for Muse.
178         * Makefile.defs (ELPADIR, ELPADESC): New variables used for
179         building ELPA packages.
181         * examples/Makefile (%.html, %.pdf, %.info): Add message to
182         indicate what we are publishing.
183         (realclean distclean fullclean): Remove all TeX crud.
185         * examples/emacs-muse.png, examples/muse-made-with.png: Include so
186         that the Info version of QuickStart can publish correctly.
188         * lisp/muse-latex.el (muse-latex-slides-header)
189         (muse-latex-lecture-notes-header): Docfix.
191         * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
192         the list of things to ignore.
194         * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
195         variable.
197         * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
198         default to nil, since texinfmt.el is a serious nuisance.
199         (muse-texinfo-markup-strings): Add newlines to begin-example and
200         end-example.
201         (muse-texinfo-decide-specials): Also escape URL-type specials in a
202         whole slew of other contexts.
204         * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
205         muse-xml.
207         * lisp/muse-xml.el (muse-xml-footer): Docfix.
209         * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
211 2007-06-16  Michael Olson  <mwolson@gnu.org>
213         * etc/IDEAS.muse: Add some ideas from David D. Smith.
215         * examples/QuickStart.muse: Overhaul.
217         * lisp/muse-project.el (muse-project): Call the last part of a
218         muse-project-alist entry "Output styles" rather than "styles".
220         * lisp/muse-publish.el (muse-publish-table-fields): Handle case
221         where we have a pipe character at the beginning of line.
223         * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
224         causing tables to not be sorted at all.
226         * texi/muse.texi: Overhaul.  It would be too time-consuming to
227         list all of the changes here.  The "Getting Started" and
228         "Projects" chapters, in particular, were heavily revised.
230 2007-06-15  Michael Olson  <mwolson@gnu.org>
232         * NEWS: Update.
234         * examples/QuickStart.muse: Mention new features.
236         * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
237         Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
238         terminal, and C-c TAB is more important.  Most people will not
239         want to toggle images on and off that often.
241         * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
242         C-i as well, so that it works in the terminal.
244         * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
245         look a bit tidier when removing the region.
247         * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
248         list regexp part before other parts.
249         (muse-ol-item-regexp): New regexp that specifies how to match an
250         ordered list item.
251         (muse-ul-item-regexp): New regexp that specifies how to match an
252         unordered list item.
253         (muse-table-field-regexp): New regexp that specifies how to match
254         a definition list entry.
256         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
257         lack of support for @headitem in texinfmt.el.
259         * lisp/muse.el: Wrap muse-line-beginning-position and
260         muse-line-end-position in `eval-and-compile', since they are now
261         used in muse.el.
262         (muse-list-item-type): Use a simpler algorithm for detecting which
263         kind of list item we have.  This fixes a bug where a number in a
264         definition list term was being detected incorrectly as an ordered
265         list item.  Fixes bug #6250.
266         (muse-forward-list-item): Get the entire line with the list item.
267         For some reason, Emacs 21 was not populating match 2 correctly,
268         unlike Emacs 22, so this workaround was needed.
270         * texi/muse.texi: (Keystroke Summary): Remove C-c
271         C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
272         alternative keybinding to the C-c TAB stuff.  Mention
273         muse-colors-toggle-inline-images.
275 2007-06-14  Michael Olson  <mwolson@gnu.org>
277         * README: Mention that RelaxNG schema is in etc/ directory.
279         * etc/emacs-wiki-migration.txt: New document that explains how to
280         migrate from emacs-wiki to Muse.
282         * etc/muse.rnc: Increment version number to 1.0.  Fix several
283         nested emphasis and nested lists edge cases.  Move here from
284         examples/.
286         * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
287         same thing as C-c C-S-t, since the former works better in the
288         console.  Thanks to Leo for the suggestion.
290         * lisp/muse-publish.el (muse-publish-markup-table)
291         (muse-publish-markup-table-el): Include a newline in the return
292         string, so that paragraph detection does not get confused.
294         * lisp/muse.el (muse-with-temp-buffer): Docfix.
296         * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
297         keybinding.
299 2007-06-13  Michael Olson  <mwolson@gnu.org>
301         * etc/IDEAS.muse: Mark three-part-links item as done.
303         * experimental/muse-message.el: Remove guard for muse-define-style
304         calls.
306         * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
307         markup rules were being interpreted in reverse order.  This should
308         make implicit interwiki links work properly again.
309         (muse-link-face): Strip anchor from end of a path, so that this
310         works with anchors in interwiki links.
311         (muse-colors-insert-image): Catch error that occurs in Emacs 21
312         when an image does not exist.
314         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
315         anchors.
316         (muse-wiki-handle-implicit-interwiki): Docfix.  Make anchors in
317         interwiki links work.  Thanks to Jim Ottaway for the initial
318         implementation.
319         (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
320         links work.
322         * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
323         about match 0.
324         (muse-handle-explicit-link): Docfix: this does not modify the
325         match data.
326         (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
327         that has the regexp in its car.
329 2007-06-12  Michael Olson  <mwolson@gnu.org>
331         * README: Document new etc/ directory.
333         * etc/IDEAS.muse: Install things from new contributors just after
334         the 3.03 release, since I won't have time to review the code
335         before the release.  Move to new etc/ directory.  Slides
336         publishing has been installed.
338         * lisp/muse-latex.el (muse-latex-slides-header): New option that
339         determines the header to use for publishing slides.
340         (muse-latex-lecture-notes-header): New option that determines the
341         header to use for publishing lecture notes.
342         (muse-latex-slides-markup-tags): New option containing tags to use
343         when publishing slides.
344         (muse-latex-permit-contents-tag): Move higher in file.
345         (muse-latex-slide-tag): New function to publish the <slide> tag.
346         ("slides", "slides-pdf"): New publishing styles that create slides
347         using Beamer.
348         ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
349         create lecture notes using Beamer.
351         * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
352         since otherwise Planner is not happy when `plan' is called during
353         init.  Remove stray quote from autoload snippet.
355 2007-06-11  Michael Olson  <mwolson@gnu.org>
357         * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
358         autoload, rather than having it exist at top-level.  Thanks to Leo
359         for the suggestion.
360         (muse-update-file-extension): Docfix.
362 2007-06-10  Michael Olson  <mwolson@gnu.org>
364         * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
365         URLs were being removed during publishing.  Thanks to everyone who
366         reported this.
368 2007-06-09  Markus Hoenicka <markus.hoenicka@mhoenicka.de>
370         * lisp/muse-book.el
371         * lisp/muse-docbook.el
372         * lisp/muse-latex.el
373         * lisp/muse-publish.el: added support for <cite> element which
374         denotes in-text citations
376         * lisp/muse-html.el
377         * lisp/muse-groff.el
378         * lisp/muse-texinfo.el
379         * lisp/muse-xml.el: added support for <cite> element (stub)
381 2007-06-06  Michael Olson  <mwolson@gnu.org>
383         * lisp/muse-regexps.el (muse-table-line-regexp)
384         (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
385         regexps so that they work with XEmacs 21.  Thanks to Adrian
386         Tritschler for the report.
388         * texi/muse.texi: Update copyright years.
389         (HTML): Document muse-xhtml-style-sheet.  Thanks
390         to thorne for noticing.
391         (Development): Change archive year to 2006.  Thanks to Adrian
392         Tritschler for noticing.  So *that's* why some people had the 2005
393         version ....
395 2007-06-05  Michael Olson  <mwolson@gnu.org>
397         * Makefile (install-info): Remove $(MANUAL).info part, since this
398         is taken care of already by texi/Makefile.  Thanks to Leo for the
399         report.
401         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
402         read-only properties to qotd contents, so that they don't get
403         double-escaped.  Thanks to Leo for the report.
405 2007-06-04  Michael Olson  <mwolson@gnu.org>
407         * lisp/muse-colors.el (muse-link-face): If the link is to a remote
408         -- that is, Tramp or ange-ftp -- file, then do not call
409         file-exists-p on it.  Thanks to Jim Ottaway for the suggestion.
410         Fixes bug #5115.
412         * lisp/muse-html.el (muse-html-insert-contents): Add
413         documentation.  Handle case where heading is read-only, but has
414         muse-contents property.  Remove the muse-contents property for any
415         heading we come across so as to avoid double-including an item in
416         an outer table of contents.
417         (muse-html-denote-headings): New function that denotes whether a
418         heading is not read-only by adding the muse-contents property to
419         it.
420         (muse-html-munge-buffer): If we are not to generate contents,
421         still denote headings, in case some outer layer wants to generate
422         contents for our headings.  This should fix a bug with table of
423         contents and the <include> tag.  Thanks to thorne for the report.
425         * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
426         muse-publish-generate-contents and set it to nil.  This should
427         do the right thing when using <include> tags.
429 2007-06-02  Michael Olson  <mwolson@gnu.org>
431         * NEWS: Update for non-inlined image change and support for
432         table.el style tables.
434         * examples/Makefile (clean): Clean backup files.
436         * examples/QuickStart.muse (Images): New section that describes
437         how to inline and not inline images.
439         * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
440         touch images that have "URL:" in front of them.
442         * lisp/muse-protocols.el (muse-url-protocols): Add handler for
443         "URL:".  Use the identity function to resolve, since we don't want
444         to rip "URL:" out while publishing, due to some magic that depends
445         on that text.
446         (muse-browse-url-url): New function that browses URLs that have
447         "URL:" in front of them, by removing the "URL:" part and
448         reprocessing the remainder.
450         * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
451         (muse-publish-url): Recognize images in the description before
452         images in the link.  Fixes bug #5112.  Thanks to Thomas Kappler
453         for the suggested workaround.
454         (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
455         default value.
456         (muse-publish-classify-url): If target begins with "URL:" return
457         type url.
458         (muse-publish-strip-URL): New function that strips "URL:" from the
459         beginning of a string.  This is used to remove URL: from the link
460         description.  * texi/muse.texi (Markup Strings): Clarify the
461         meanings of image-link, link, and link-and-anchor.
462         (muse-publish-markup-regexps): Move normal table rule to 2350.
463         Rule 2300 is now a regexp that matches table.el-style tables.
464         (muse-publish-markup-functions): Add table-el entry.
465         (muse-publish-table-el-table): New function that given a variant,
466         publishes a table.el-style table using the table in the matched
467         region.
468         (muse-publish-markup-table-el): New function that determines
469         whether the table.el-style table can be published, and what
470         variant to use.
472         * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
473         the borders of table.el-style tables.
475         * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
476         the table has sufficient whitespace in front of it.
478         * texi/muse.texi (Images): Update for new non-inlined image
479         ability and provide example.
481 2007-05-31  Michael Olson  <mwolson@gnu.org>
483         * NEWS: Add example for setting `muse-html-table-attributes'.
485         * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
486         Publish multiple tbody tags if there is a horizontal separator
487         after the heading, because that is valid HTML after all.
489 2007-05-30  Michael Olson  <mwolson@gnu.org>
491         * NEWS: Update.
493         * lisp/muse-latex.el (muse-latex-markup-table): Deal with
494         horizontal separators in tables.
496         * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
497         horizontal separators in tables.
498         (muse-publish-trim-table): New function to remove initial and
499         final blank columns from a table.
500         (muse-publish-table-fields): Call `muse-publish-trim-table'.  Deal
501         with horizontal separators, aka "hlines".
503         * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
504         defines the syntax of a horizontal separator in a table.
506         * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
507         horizontal separators.  Publish header lines correctly.
509         * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
510         where we have nonnumbers as a row type.  This ignores sorting for
511         hlines.
512         (muse-xml-markup-table): Deal with horizontal separators.  If the
513         markup supports table groups, make hlines separate table groups.
514         Otherwise, ignore them, since they cannot be marked up.  Together,
515         these changes allow us to support orgtbl-mode tables.  Thanks to
516         Carsten Dominik for the suggestion.
518 2007-05-26  Michael Olson  <mwolson@gnu.org>
520         * lisp/muse-project.el (muse-project-alist-styles): Allow for
521         other things to be added to each generated style as well.  For
522         example, this permits me to add
523         :base-url "http://blog.mwolson.org/"
524         for my blog.
526 2007-05-25  Michael Olson  <mwolson@gnu.org>
528         * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
529         way of building Debian packages that preserves the original
530         release tarball and is more modular.
531         (debrevision, debrelease): Remove.
532         (dist): No need to remove the debian/ directory, since it is now
533         in its own branch.
534         (debprepare): Copy over debian/ directory properly.
536         * NEWS: Update.
538         * examples/Makefile (clean): Remove QuickStart.texi, in case
539         something went wrong during the build.
540         (%.pdf): Publish the example using the normal pdf style, rather
541         than info-pdf.
543         * examples/QuickStart.muse: Add myself to the authors list.
545         * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
546         sufficient blank lines before the tag.
548         * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
549         we have sufficient blank lines before the tag.
551         * lisp/muse-latex.el (muse-latex-pdf-program): New option that
552         specifies the program to call in order to generate PDF content
553         from LaTeX content.
554         (muse-latex-pdf-cruft): New option that specifies the extensions
555         of files to remove after generating PDF output successfully.
556         (muse-latex-pdf-generate): Use these new options.  Work around the
557         annoying edge case where a tilde character exists in the filename
558         or directory path -- now this can only error out when the relative
559         path from the output file to the source file contains a tilde,
560         which is far less likely.
562         * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
563         muse-publish-ensure-block here after all, because <lisp> et al may
564         occur inline as part of other things.
566         * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
567         occur after full-document escaping, rather than before.  This
568         prevents automatically-inserted Texinfo code from being escaped.
569         (muse-texinfo-pdf-generate): Rewrite to call
570         `muse-latex-pdf-generate' with pdftex as the generating binary,
571         because texi2pdf suffers irredeemably from the tilde edge case
572         mentioned above.
574 2007-05-24  Michael Olson  <mwolson@gnu.org>
576         * NEWS: Drop vague entries and position interesting entries closer
577         to the top of each section.  Update for new changes.
579         * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
580         and bzr metadata directories to the list of things to ignore.
582         * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
583         `muse-publish-ensure-block-tag', since we will use it for more
584         than just tags.
585         (muse-publish-markup-list, muse-publish-verse-tag)
586         (muse-publish-quote-tag, muse-publish-example-tag)
587         (muse-publish-markup-attribute): Use it.  This fixes a bug that
588         can occur when these types of markup occur immediately after a
589         paragraph.  It's good to have defined behavior!
591         * texi/muse.texi (Markup Strings): Mention new argument for
592         link-and-anchor.
594 2007-05-19  Michael Olson  <mwolson@gnu.org>
596         * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
597         published footnotes and footnote references.  Thanks to Scott
598         Jaderholm for the idea.
600         * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
601         link-and-anchor, on the recommendation of the original submitter.
603 2007-05-14  Michael Olson  <mwolson@gnu.org>
605         * lisp/muse-latex.el (muse-latex-markup-strings): Use better
606         link-and-anchor markup.  Thanks to Jean Magnan de Bornier for the
607         suggestion.
609         * lisp/muse-publish.el (muse-publish-url): Pass the url without a
610         file extension as the fourth argument.
612         * README, texi/muse.texi (Getting Help and Reporting Bugs):
613         Mention the new muse-el-logs mailing list.
615 2007-05-13  Michael Olson  <mwolson@gnu.org>
617         * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
618         "\`" here.  This fixes a problem with publishing custom URLs.
620 2007-05-12  Michael Olson  <mwolson@gnu.org>
622         * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
623         update the list if the current buffer is associated with a file.
624         This fixes a bug with M-x muse-publish-region in a temporary
625         buffer.
627 2007-05-01  Michael Olson  <mwolson@gnu.org>
629         * lisp/muse-publish.el (muse-publish-region): Remove read-only
630         properties from the published buffer, so that the results can be
631         manually tweaked.
633 2007-04-23  Michael Olson  <mwolson@gnu.org>
635         * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
636         find the footnote that goes with a reference, leave the reference
637         as-is.  This fixes an error where control characters could be
638         placed in a published document.
640 2007-04-22  Michael Olson  <mwolson@gnu.org>
642         * IDEAS.muse: Add muse-slides.el to list of things to include
643         before release.
645         * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
646         character.
647         (muse-protocol-find): Find protocols correctly.  Rewrite to use
648         catch/throw.
649         (muse-browse-url): Don't concatenate "\`" here.  Together, this
650         fixes a bug with browsing woman:// links.
652         * lisp/muse-project.el (muse-project-alist-styles): Deal with case
653         where entry-dir has a trailing backslash.
654         (muse-project-publish-file): If a style is malformed, skip it and
655         display a warning message.  This should help people figure out
656         where the problem is.
658 2007-04-21  Michael Olson  <mwolson@gnu.org>
660         * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
661         yet-to-be-included "contex" publishing style, use "$$" rather
662         than "\[" and "\]".  Thanks to Jean Magnan de Bornier for pointing
663         this out.
665 2007-04-20  Michael Olson  <mwolson@gnu.org>
667         * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
668         variable that causes the :before and :before-end hooks to be
669         ignored when non-nil.
670         (muse-publish-markup-region): Use it.  Also, guarantee that point
671         is at end of region after publishing.
672         (muse-publish-mark-up-tag): Simplify, taking advantage of the new
673         variable.
675 2007-04-19  Michael Olson  <mwolson@gnu.org>
677         * IDEAS.muse: New file containing a list of ideas we have for new
678         features, or patches that have yet to be applied.
680         * README: Call it "Emacs Muse", not "the Emacs Muse".  No need to
681         be so confusing.
683         * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
684         docstring.
686         * lisp/muse-publish.el (muse-publish-markup-tags): Handle
687         <literal> tags with muse-publish-literal-tag, rather than
688         muse-publish-mark-read-only.
689         (muse-publish-literal-tag): New function that publishes the
690         <literal> tag.  It adds the ability to add the optional "style"
691         and "exact" elements, which cause text to only be included if the
692         current publishing style matches some criteria.  The text will be
693         removed otherwise.  Thanks to Jim Ottaway for the implementation.
694         (muse-publish-mark-up-tag): Let the <markup> tag take the
695         additional optional elements "style" and "exact", with much the
696         same effect as the <literal> improvements, but after calling
697         "function" or publishing the region first.  Make it possible to
698         put <content> tags in <markup> regions in HTML publishing.
700 2007-04-12  Michael Olson  <mwolson@gnu.org>
702         * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
703         that a blank line always exists after a heading.  This fixes a bug
704         in Docbook paragraph detection.  Thanks to Jean Magnan de Bornier
705         for the report.
707         * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
708         detection regexp to that which is used in Docbook and HTML
709         publishing styles.
711 2007-04-02  Michael Olson  <mwolson@gnu.org>
713         * README (muse-el-announce): Make a listing of mailing lists,
714         rather than pointing to the old EmacsWikiMailingList page.  Thanks
715         to Andreas Roehler for noticing.
717 2007-04-01  Michael Olson  <mwolson@gnu.org>
719         * lisp/muse-publish.el (muse-publish-date-format): Add
720 `       customization type and group.
721         (muse-publish-region): New interactive function that publishes a
722         region to a new buffer.
724         * texi/muse.texi: Use "document" rather than "manual".
726 2007-03-31  Michael Olson  <mwolson@gnu.org>
728         * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
729         expression (muse-style-derived-p "latex" (muse-style "latex"))
730         yielded nil.  It now yields t, as expected.  Thanks to Jim Ottaway
731         for the catch.
733 2007-02-25  Michael Olson  <mwolson@gnu.org>
735         * lisp/muse-publish.el (muse-publish-date-format): New option that
736         specifies how to format the date when publishing Muse pages.
737         Thanks to Thomas Gehrlein for the suggestion.
738         (muse-publish-markup-buffer): Use it.
740 2007-02-23  Michael Olson  <mwolson@gnu.org>
742         * README: Add Prerequisites section to mention which versions of
743         Emacs work with Muse.  Thanks to Exal de Jesus Garcia Carrillo for
744         the suggestion.  Update link destination for Muse's page on
745         emacswiki.org.
747 2007-02-15  Michael Olson  <mwolson@gnu.org>
749         * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
750         be not just at beginning of line.  This fixes an error with the
751         <class> tag.  Thanks to Jim Pivarski for the report.
753 2007-02-14  Michael Olson  <mwolson@gnu.org>
755         * lisp/muse-publish.el (muse-publish-classify-url): Check to see
756         whether something is an image before checking to see if it is a
757         URL.  Thanks to ITSUMI ken-ichi for the report.
759 2007-02-13  Michael Olson  <mwolson@gnu.org>
761         * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
762         comments that have no text better.  Thanks to fang.lungang for the
763         report.
764         (muse-publish-markup-comment): Deal with case where no comment
765         text is provided.
767 2007-01-23  Michael Olson  <mwolson@gnu.org>
769         * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
770         that ensures that at least one blank line exists at the given
771         position.  This is used to avoid paragraph detection problems when
772         block-level tags like <example> immediately follow a paragraph.
773         Thanks to Hans Ekbrand for the report.
774         (muse-publish-example-tag): Use it.
776 2007-01-19  Michael Olson  <mwolson@gnu.org>
778         * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
779         previous blank line if we are publishing in Latex.  Otherwise,
780         that wouldn't be the right thing, so leave it be.
782 2007-01-17  Michael Olson  <mwolson@gnu.org>
784         * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
785         multiple centered math lines on the same line; keep them on
786         different lines.  Use \[ math-text \] instead of $$math-text$$,
787         since the latter seems to be deprecated.  Thanks to Jody Klymak
788         for the pointer.
790 2007-01-15  Michael Olson  <mwolson@gnu.org>
792         * lisp/muse-latex2png.el (muse-publish-latex-tag)
793         (muse-publish-math-tag): Publish region read-only when current
794         style is Latex-derived, so that Muse does not escape it.
795         (muse-publish-math-tag): If 6 or more spaces come before the tag,
796         surround the region with "$$" rather than "$".  This is the Muse
797         syntax for something centered, so it should be a good fit.
799 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
801         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
802         protocol.
803         (muse-browse-url-man): Change man page URL format.  The code is
804         simpler when the section is left inside parentheses.
805         (muse-browse-url-woman): New function.
807 2007-01-14  Michael Olson  <mwolson@gnu.org>
809         * AUTHORS: Bookkeeping.
811         * lisp/muse-latex2png.el: Associate <math> tag with
812         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
813         Klymak for the report.
814         (muse-publish-math-tag): Use muse-insert-markup for the "$"
815         characters, so they don't get escaped.
817         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
818         make muse-style-derived-p easier to implement.
819         (muse-style-derived-p): If the style is not provided, fetch it and
820         check to see if the car is a string.  This should fix the other
821         problem that was reported.
823         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
824         explains a case where setting muse-file-extension to nil can cause
825         unexpected behavior.
827 2007-01-09  Michael Olson  <mwolson@gnu.org>
829         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
830         comments higher priority than tags.  Thanks to Stefan van der Walt
831         for the report.
833 2007-01-08  Michael Olson  <mwolson@gnu.org>
835         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
836         argument rather than calling match-string.  Thanks to Stefan van
837         der Walt for the report.  This should fix a bug with publishing
838         <include file="..." markup="example">.
840 2007-01-06  Michael Olson  <mwolson@gnu.org>
842         * Makefile (debclean): New rule split from debrevision and
843         debrelease.
844         (debbuild): Take distributor into account.
846         * Makefile.defs (DISTRIBUTOR): New field that tracks what
847         vendor/distributor we are building for.
849 2007-01-04  Michael Olson  <mwolson@gnu.org>
851         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
852         line.
854         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
855         point to muse-publish-src-tag by default, since <src> and
856         <example> have different parameters.
857         (muse-publish-src-tag): New barebones publishing function for
858         <src>, which is superseded when publishing in an HTML-based style.
860 2007-01-03  Michael Olson  <mwolson@gnu.org>
862         * lisp/muse-html.el (muse-html-src-tag): Document.
864         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
865         command that calls a given tag on the current buffer.  Attributes
866         may be passed.
867         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
868         it.
869         (muse-publish-srcify-buffer): New function that allows
870         markup="src" in the <include> tag.
871         (muse-publish-get-and-delete-attr): New macro that gets an
872         attribute from a list and removes the first instance of that
873         attribute from said list.
874         (muse-publish-markup-attribute): Handle markup="src".
875         (muse-publish-command-tag, muse-publish-include-tag): Use
876         muse-publish-get-and-delete-attr.  This allows the remaining
877         attributes to be passed.
879         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
880         as changes to <command> and <include>.
882 2006-12-30  Michael Olson  <mwolson@gnu.org>
884         * NEWS: Update.
886         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
887         from muse-publish-math-tag to avoid conflict with
888         muse-latex2png.el.
890 2006-12-23  Michael Olson  <mwolson@gnu.org>
892         * lisp/muse-latex2png.el: Update header, since this has been
893         rewritten sufficiently to not need an assignment from the original
894         author.
895         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
896         (muse-latex2png): Use two underscores to separate prefix and hash.
897         (muse-latex2png-region): New function split from
898         muse-publish-latex-tag that can be used easily by other code.
899         Detect whether we are using an HTML-based publishing style, and
900         insert a simpler markup if we are not.  If we are using a
901         Latex-based publishing style, do not generate an image, and leave
902         the region alone.  Return the path of the generated image, in case
903         other functions want to use this programmatically.
904         (muse-publish-latex-tag): Set a default prefix based on the name
905         of the current file.
906         (muse-publish-math-tag): New tag that surrounds the region with
907         "$" characters, so that it becomes a Latex math region, and then
908         publishes it.
910         * lisp/muse-publish.el (muse-style-derived-p): New function that
911         returns non-nil if a given style, or the current style if omitted,
912         is equal to or derived from the given base style.  This is useful
913         in <lisp> tags, because it allows the user to specify markup that
914         is only to be inserted for one particular style.
916 2006-12-22  Michael Olson  <mwolson@gnu.org>
918         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
919         (muse-html-src-tag): New function which publishes the <src> tag.
920         Thanks to Clinton Ebadi and Charles Wang for the initial
921         implementations.
923         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
925 2006-12-21  Michael Olson  <mwolson@gnu.org>
927         * examples/johnw/muse-johnw.el: Update for preferred
928         muse-derive-style usage.  Rename to muse-init.el.
930         * examples/mwolson/muse-init.el: Update.
932         * lisp/muse-book.el (muse-book-publish): New function split from
933         muse-book-publish-project.  This is used in the definitions for
934         the book-latex and book-pdf styles.
935         (muse-book-publish-p): New function split from muse-book-publish.
936         (muse-book-get-directives): New function that retrieves the
937         publishing directives from the given file.
938         (muse-book-publish): Use muse-book-get-directives to set the title
939         if no title was specified.
941         * lisp/muse-project.el (muse-project): Add :publish-project entry
942         to widget.
943         (muse-read-project, muse-project-find-file): Message fix.
944         (muse-project-publish-file-default): New function split from
945         muse-project-publish-file.
946         (muse-project-publish-file): Allow file-level publishing function
947         to be specified by the :publish element.  The default is
948         muse-project-publish-file-default.
949         (muse-project-publish-default): New function split from
950         muse-project-publish.
951         (muse-project-publish): Allow project-level publishing function to
952         be specified by :publish-project element.  The default is
953         muse-project-publish-default.
955         * lisp/muse-publish.el (muse-publish-file): Message fix.
957         * texi/muse.texi (Book): Mention new way to publish books and
958         provide an example, since the process may be non-obvious.
960 2006-12-20  Michael Olson  <mwolson@gnu.org>
962         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
963         content-modifying code from the rest of
964         muse-docbook-finalize-buffer.
966         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
967         muse-groff-finalize-buffer, since it adds content to the buffer.
969         * lisp/muse-html.el (muse-html-munge-buffer): Split out
970         content-modifying code from the rest of muse-html-finalize-buffer.
971         This fixes a bug when using <include> with <content> tags.
973         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
974         (muse-journal-latex-munge-buffer)
975         (muse-journal-rss-munge-buffer): Rename, since they add content to
976         the buffer.
978         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
979         muse-latex-finalize-buffer, since it adds content to the buffer.
981         * lisp/muse-mode.el:
982         * lisp/muse-project.el:
983         * lisp/muse-publish.el:
984         * lisp/muse.el: Fix recursive load error.
986         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
987         muse-texinfo-finalize-buffer, since it adds content to the buffer.
989         * lisp/muse-wiki.el: Comment cleanup.
991         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
993 2006-12-17  Michael Olson  <mwolson@gnu.org>
995         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
996         Remove the definition of \comment, since Latex already has comment
997         syntax.
998         (muse-latex-markup-strings): Use the Latex comment syntax, rather
999         than our own.  Thanks to Ryan Stutsman for pointing this out.
1001 2006-12-02  Michael Olson  <mwolson@gnu.org>
1003         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1004         that this can generate a proper table of contents for Planner HTML
1005         publishing.
1007 2006-12-01  Michael Olson  <mwolson@gnu.org>
1009         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1010         using a very old Emacs, avoid an infinite loop that could occur
1011         when the regexp is an empty string.
1013 2006-11-26  Michael Olson  <mwolson@gnu.org>
1015         * NEWS: Bring up to date.
1017         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1018         list issues and multiple-stanza verse issues.  This takes care of
1019         all of the markup issues I was worried about.
1021         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1022         (muse-project-publish-private-files): New option that indicates
1023         whether files with private filesystem permissions should be
1024         published.  The default is to publish them, since it avoids
1025         confusion in new users.
1026         (muse-project-private-p): Use it.
1028 2006-11-19  Michael Olson  <mwolson@gnu.org>
1030         * lisp/muse-project.el (muse-project-resolve-link): If no remote
1031         style is found, which means that the link is not a Muse page, do
1032         not add a suffix or prefix to it.  This should fix the
1033         "[[thing.owl]]" bug that Phillip Lord reported.
1035         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1036         removing unused 2nd argument.
1038 2006-11-17  Michael Olson  <mwolson@gnu.org>
1040         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1041         latex publishing where nested enumerated lists would be squashed
1042         together at the end.
1044 2006-11-16  Michael Olson  <mwolson@gnu.org>
1046         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1047         list embedded in a definition list look right.  This also allows
1048         for definitions to be separated from their terms, much like the
1049         way HTML does it by default, if the user puts a blank line or a
1050         line break between the term and the definition.  If the term and
1051         definition are on the same line, they will be that way in the
1052         output as well.
1054 2006-11-11  Michael Olson  <mwolson@gnu.org>
1056         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
1057         for the report.
1058         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1060 2006-11-07  Michael Olson  <mwolson@gnu.org>
1062         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1063         release candidate for Muse 3.03, available.
1065         * NEWS: Update.
1067 2006-11-06  Michael Olson  <mwolson@gnu.org>
1069         * lisp/muse-project.el (muse-project-find-file): Fix bug when
1070         following a relative link worked even when the path was incorrect.
1072 2006-11-04  John Sullivan  <john@wjsullivan.net>
1074         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1075         muse-follow-name-at-point to reduce collisions with other
1076         modes (Planner).
1078         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1080 2006-11-04  Michael Olson  <mwolson@gnu.org>
1082         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1083         optional, and make interwiki delimiter a regular rather than shy
1084         group.
1085         (muse-wiki-handle-implicit-interwiki): Rename from
1086         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
1087         (muse-wiki-handle-explicit-interwiki): New function that is
1088         smarter about where an explicit link ends in a buffer.  This
1089         allows you to refer to page names with invalid Wiki characters,
1090         such as underscores and dashes, merely by enclosing them in double
1091         brackets.  Also, a bug with recognizing project names too loosely
1092         has been fixed.
1094 2006-11-03  Michael Olson  <mwolson@gnu.org>
1096         * lisp/muse-project.el (muse-project-page-file): Make relative
1097         links work as expected, hopefully.
1099         * lisp/muse-publish.el (muse-publish-this-file): Set the current
1100         output style manually, since it will differ from anything in the
1101         publishing style list.
1103 2006-10-30  Michael Olson  <mwolson@gnu.org>
1105         * lisp/muse-colors.el (muse-colors-markup): Remove note about
1106         grouping elements, since that no longer applies.
1107         (muse-colors-custom-tags): Explicitly match against
1108         muse-tag-regexp to get the match-data set the way we want.  This
1109         really fixes the <example> highlighting bug that Stefan reported.
1110         (muse-configure-highlighting): Set the original value to the
1111         symbol, not the modified value.  Re-use modified rules properly.
1113         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1114         introduced yesterday.
1116 2006-10-29  Michael Olson  <mwolson@gnu.org>
1118         * examples/mwolson: Update my example configuration.
1120         * NEWS: Update.
1122         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1123         without a regexp in the first position before iterating through
1124         them to build muse-colors-vector.  This fixes a bug with the
1125         display of <example> tags.  Thanks to Stefan Reichör for the
1126         report.
1128         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1129         files in projects to be linked to.
1131         * lisp/muse-publish.el (muse-publish-url): Allow the original link
1132         to serve as a description for a URL, as long as it differs from
1133         the destination URL.  This fixes the description of WikPage links
1134         in PDF output.
1135         (muse-publish-link-file): Check to see whether the given link
1136         points at a valid file.  If so, return it.  Otherwise, apply other
1137         transforms like prefix and link suffix.
1139         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1140         "/", it is a file or directory, not a Muse page.  Thanks to
1141         Phillip Lord for the suggestion.
1143         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1144         of the current page as the local path, instead of duplicating the
1145         remote file's path.  This probably fixes at least one reported
1146         bug. since it's quite major.
1147         (muse-wiki-update-project-file-regexp)
1148         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1149         passed to regexp-opt, since that can cause Emacs 21 to throw an
1150         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
1151         DOT edu for the report.
1152         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1154 2006-10-28  Michael Olson  <mwolson@gnu.org>
1156         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1157         (muse-project-resolve-link): If the given style does not have a
1158         link-suffix, default to suffix.  This fixes a bug I was noticing
1159         when linking to a file that was published in both PDF and HTML
1160         form.
1162         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1163         function that is used as a callback to determine the initial
1164         amount of indentation that the current dl item has.
1165         (muse-publish-surround-dl): Use it.  Pass the initial indent value
1166         and the post-indent value, instead of trying to determine them
1167         both.
1168         (muse-publish-strip-list-indentation): New function stripped from
1169         `muse-publish-surround-text' for readability.
1170         (muse-publish-surround-text): Instead of taking a determine-indent
1171         value, take a determine-indent-func function, which is called just
1172         after finding the next list item.  If we are asked to determine
1173         the amount of indentation, concatenate indent and post-indent the
1174         first time around.  This effectively fixes all known definition
1175         list issues.
1177 2006-10-16  Michael Olson  <mwolson@gnu.org>
1179         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1180         other software -- namely, Planner -- can detect whether they are
1181         using a version of Muse that supports nested tags.
1182         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1183         muse-publish-goto-tag-end.
1185         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1186         Adapt for nested tags.
1188         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1189         <class> tag is nestable.  Thanks to Phillip Lord for noticing
1190         this.
1192         * lisp/muse-publish.el (muse-publish-markup-tag)
1193         (muse-publish-quote-tag): Use muse-goto-tag-end.
1195         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1197 2006-10-15  Michael Olson  <mwolson@gnu.org>
1199         * AUTHORS: Bookkeeping.
1201         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1202         tag.
1204         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1205         tags.
1207         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1209         * lisp/muse-import-docbook.el (muse-import-docbook)
1210         (muse-import-docbook-files): Docfix.
1211         (muse-import-docbook-get-title): Remove cl.el-ism.
1213         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1215         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1217         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1219         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1220         (muse-next-reference, muse-previous-reference): Minor whitespace
1221         changes.
1222         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
1223         the suggestion.
1225         * lisp/muse-poem.el (muse-poem-tag): Ditto.
1227         * lisp/muse-publish.el (muse-publish-markup-tags)
1228         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1229         element and make 4th element determine whether tags are nestable.
1230         (muse-publish-goto-tag-end): New function that moves to the end of
1231         a tag.  Handle nested tags when NESTED is non-nil.
1232         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
1233         5th element for function.
1234         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
1235         this on several scenarios, and it seems to work.
1236         (muse-publish-surround-text): Accept new optional argument
1237         LIST-ITEM which determines the regexp to use for list items.  The
1238         default is to use muse-list-item-regexp.
1240         * muse.texi (Markup Tags): Mention nestable tags.
1242         * NEWS: Mention new files.
1244 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
1246         * lisp/muse-import-docbook.el: New file that converts Docbook XML
1247         into Muse format.
1249         * lisp/muse-import-xml.el: New file that provides helper routines
1250         for converting XML-ish files to Muse format.
1252 2006-10-10  Michael Olson  <mwolson@gnu.org>
1254         * NEWS: Update for 3.02.7 bugfix release.
1256 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
1258         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1259         using the value in the muse #date directive.
1260         (muse-blosxom-use-metadate): New option that determines whether or
1261         not to use the #postdate directive.
1262         (muse-blosxom-format-date): Convert a date string to PyBlosxom
1263         metadate plugin format.
1265 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
1267         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1268         recognised URLs.
1270         * muse.texi: Clarify handling of implicit links by mentioning
1271         which characters can prevent Muse from recognizing something as an
1272         implicit link.
1274 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
1276         * lisp/muse-mode.el (muse-next-reference)
1277         (muse-previous-reference): Fix bug #6367 by moving point to the
1278         beginning of the link.
1280 2006-09-26  Michael Olson  <mwolson@gnu.org>
1282         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1283         beginning-of-line.  This should fix a bug that was noticed in
1284         recent Emacs 22 builds.
1286         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1287         eval-and-compile block to avoid a compiler warning.
1289 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
1291         * lisp/muse-backlink.el (muse-backlink-split-string):
1292         Compatibility with Emacs versions < 22
1293         (muse-backlink-pending): New internal variable
1294         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1295         that backlinks are inserted at the right time.
1296         (muse-backlink-insert-hook-func): Remove unwind-protection; check
1297         for pending backlink, and that this is the targe page.
1298         (muse-backlink-handle-link): Don’t handle the link if we are
1299         already handling one. Return the link as well as the parent links.
1301 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
1303         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1304         #6942 - muse-blosxom-new-entry fails when using tags.
1306 2006-09-14  Michael Olson  <mwolson@gnu.org>
1308         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1309         compiler warning.
1311 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
1313         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1314         function: Protect all wikiwords from START to END from further
1315         processing.
1316         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1318 2006-09-13  Michael Olson  <mwolson@gnu.org>
1320         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1321         adopted from Jim Ottaway's patch.  It removes links from the
1322         heading, and then marks the region read-only to inhibit WikiWord
1323         detection.
1325 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
1327         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1328         special handling for headings.
1329         (muse-texinfo-remove-links): New function that removes explicit
1330         links from the given strings, replacing them with a description.
1332 2006-09-11  Michael Olson  <mwolson@gnu.org>
1334         * muse.texi (Getting Help and Reporting Bugs): Mention the
1335         muse-el-internationalization mailing list.
1337         * lisp/muse.el (muse-path-sans-extension): New function that acts
1338         like file-name-sans-extension, but guarantees to never modify the
1339         directory part of the path.  Thanks to Evan Monroig for
1340         investigating this.
1342         * lisp/muse-book.el (muse-book-publish-project): Use
1343         muse-path-sans-extension instead of file-name-sans-extension.
1345         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1346         Ditto.
1348 2006-08-30  Michael Olson  <mwolson@gnu.org>
1350         * muse.texi (Blosxom Requirements): Fix typo.
1352         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1353         directories for bzr and darcs.
1355         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1356         contrib/pyblosxom/getstamps.py: Update version and headers.
1358 2006-08-27  Michael Olson  <mwolson@gnu.org>
1360         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1361         nil values before they get to mapconcat.  This fixes a lockup when
1362         muse-wiki-match-all-project-files is nil.
1364         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1365         (muse-wiki-ignore-implicit-links-to-current-page)
1366         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1367         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1368         (muse-wiki-publish-small-title-words)
1369         (muse-wiki-publish-pretty-title): Docfix.
1370         (muse-wiki-update-local-wikiword-regexp): Rename from
1371         muse-wiki-update-local-wikiword-regexp.  Set
1372         muse-wiki-project-file-regexp instead of
1373         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
1374         take muse-wiki-use-wikiword into account, since this is a
1375         different concept now.
1376         (muse-wiki-update-wikiword-regexp): Remove.
1377         (muse-wiki-wikiword-regexp): In-line the :set function.
1378         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
1380 2006-08-26  Michael Olson  <mwolson@gnu.org>
1382         * lisp/muse-publish.el (muse-publish-surround-text): When looking
1383         for indented list items, ignore blank lines.
1385         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
1386         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
1387         mapconcat.  This should hopefully fix a problem with large amounts
1388         of files with spaces in their name.  Thanks to Greg Detre for the
1389         report.
1391 2006-08-24  Michael Olson  <mwolson@gnu.org>
1393         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
1394         numbers from the argument to format-time-string.  This fixes an
1395         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
1397 2006-08-18  Michael Olson  <mwolson@gnu.org>
1399         * lisp/muse-project.el (muse-project-file-entries): Since we are
1400         given a full path, match against the filename as well.  This fixes
1401         an issue where backup files were being added to the file alist.
1403         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
1404         from muse-html.el.
1406 2006-08-12  Michael Olson  <mwolson@gnu.org>
1408         * Makefile (.PHONY): Don't use line continuations.
1409         (realclean fullclean): Call realclean in subdirs, not distclean.
1410         (distclean): Don't call realclean, since this would wipe out our
1411         autoloads file.
1412         (dist): Use correct path to autoloads file.
1414         * NEWS: Catch up with the latest changes.
1416         * experimental/Makefile (.PHONY): Wrap long line.
1418         * lisp/Makefile (distclean): Do the same thing as "clean", not
1419         "realclean".
1421         * lisp/muse-project.el (muse-project-get-applicable-style):
1422         Indentation tweak.
1423         (muse-project-ignore-regexp, muse-project-recurse-directory):
1424         Docfix.
1425         (muse-project-of-file): Try the ignored files regexp against the
1426         base filename as well as the entire path.
1428         * lisp/muse-publish.el (muse-publish-this-file): Display message
1429         if the buffer is not associated with any file, so that we avoid
1430         errors later on.
1431         (muse-publish-url-desc): New function taken from muse-publish-url
1432         that causes a URL description to be transformed.
1433         (muse-publish-url): Call muse-publish-url-desc on either the
1434         description or the original URL if it will be used as a
1435         description.  Accept the original URL as an argument, in case it
1436         was transformed earlier.
1437         (muse-publish-insert-url): Pass original URL as an argument.
1438         (muse-publish-markup-link): Make this somewhat easier to follow.
1439         Pass original URL as argument.
1440         (muse-publish-get-style): If the same style is used to publish to
1441         two different directories, prompt the user for which directory to
1442         use.
1443         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
1444         latest changes.
1445         (muse-publish-markup-url): Pass original URL as an argument.  This
1446         fixes the "nil" description for bare URLs that was in 3.02.91.
1447         Nothing like finding a bug just after completing the announcement
1448         of a release.
1450         * lisp/muse.el: Use defalias whenever convenient.
1451         (muse-version): Set version to 3.02.92 (3.03 RC2).
1453 2006-08-10  Michael Olson  <mwolson@gnu.org>
1455         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
1456         style does not derive from any other class, return `t' here.
1457         This, along with the corresponding change to muse-publish.el,
1458         fixes a problem with the table of contents getting inserted
1459         multiple times for custom html-based styles.
1460         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
1461         smarter method for table centering that works with XHTML.
1463         * lisp/muse-latex2png.el Rename all functions to have a
1464         "muse-latex2png" prefix.  Turn all variables into customizable
1465         options in the muse-latex2png group.
1466         (muse-latex2png-img-dest): New option specifying where to place
1467         the images.
1468         (muse-latex2png-template): New option containing the template to
1469         use for the surrounding LaTeX code.
1470         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
1471         compliance.
1472         (muse-latex2png-move2pubdir): Avoid multiple redundant error
1473         messages when something else goes wrong.  Create the image
1474         subdirectory if it doesn't exist already -- thanks to Christian
1475         Straßer for the report.  Expand the filename properly.
1476         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
1477         and filename expansion.
1478         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
1479         the default directory properly.
1481         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
1482         do not run the same function twice.
1484 2006-08-08  Michael Olson  <mwolson@gnu.org>
1486         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
1487         introduced wrong-type-argument error.
1489         * lisp/muse-html.el (muse-html-markup-strings)
1490         (muse-xhtml-markup-string): Cause table definition that contains
1491         image to be center-aligned.  This should fix an issue with images
1492         not being centered when captions are very long.
1494         * lisp/muse-publish.el (muse-publish-table-fields): Trim
1495         whitespace from fields once we have split them up.
1497         * lisp/muse.el (muse-trim-whitespace): New function that strips
1498         leading and trailing whitespace from a string.
1500 2006-08-07  Michael Olson  <mwolson@gnu.org>
1502         * NEWS: Update through patch-95.
1504         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
1505         to match the tags.
1506         (muse-colors-explicit-link): Show images in link descriptions if
1507         inlined images are enabled.
1509         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
1510         definitions for 'image-with-desc, 'image, and 'image-link.
1511         (muse-docbook-markup-paragraph): If an inlined image begins a
1512         paragraph, insert <para> before it.
1513         (muse-docbook-fixup-images): New function that upper-cases the
1514         "format" attribute of the <imagedata> tag.
1515         (muse-docbook-finalize-buffer): Call it.
1517         * lisp/muse-html.el (muse-html-markup-strings): Publish images
1518         with descriptions as centered tables, with a centered caption
1519         underneath.  The resulting look is consistent with the way that
1520         they are published in the LaTeX style.  Thanks to Jody Klymak for
1521         the suggestion.
1522         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
1523         valid way to center a table.
1524         (muse-html-markup-paragraph): Use class="image" instead of
1525         "image-link" for paragraphs that start with an embedded image.
1527         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
1528         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
1529         suggestion.
1530         (muse-latex-markup-specials-image): New option that enables
1531         escaping of specials in images.  This was split from the URL
1532         specials.
1533         (muse-latex-decide-specials): Handle 'image context.
1534         (muse-latex-fixup-dquotes): Go to beginning of document, instead
1535         of relying on caller to do this for us.
1537         * lisp/muse-publish.el (muse-publish-escape-specials): Document
1538         'image context.
1539         (muse-publish-url): Use 'image context for images.  Use 'image
1540         instead of 'image-link and 'image-link in place of
1541         'url-with-image.  Separate the image file from its extension so
1542         that docbook and texinfo can publish images correctly.
1543         (muse-publish-markup-link): Don't force a description if one is
1544         not given.  This fixes a bug where images without descriptions
1545         were being published as 'image-with-desc instead of 'image.
1547         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
1548         images the same as URLs.
1549         (muse-texinfo-markup-strings): Improve image markup to achieve an
1550         effect similar to that of the LaTeX publishing style.  Simplify
1551         'url string.
1553         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
1555         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
1556         when we have to use the custom version of this function.
1558         * muse.texi (Images): Explain how to toggle inlining of images and
1559         give better examples.  Mention captions and that captioned images
1560         should not be used inside of text paragraphs.
1561         (Markup Strings): Bring up-to-date with the changes made since
1562         3.02.
1564 2006-08-06  Michael Olson  <mwolson@gnu.org>
1566         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
1567         in the Emacs source tree.
1569         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
1570         in the Emacs source tree.
1572         * ChangeLog.3: New file created from the old ChangeLog.
1574         * Makefile.defs (VERSION): Set to 3.02.91.
1576         * NEWS: Update through patch-84.
1578         * lisp/muse.el (muse-version): Set to 3.02.91.
1580         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
1581         attributes.
1582         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
1583         delimiter are instead of hard-coding it.
1585         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
1586         (muse-mode): Make filling definition lists work better.  This
1587         should fix #5359.
1589         * lisp/muse-publish.el (muse-style-run-hooks): Use
1590         `muse-style-element' instead of `muse-get-keyword' here.  This
1591         should fix #6399.
1593         * muse.texi: Set version to 3.02.91 (3.02 RC2).
1595 See ChangeLog.3 for earlier changes.
1597 ;; Local Variables:
1598 ;; coding: utf-8
1599 ;; End: