Fix blank line in front of list item bug
[muse-el.git] / ChangeLog
blobbce3c4c1826fbeff3bff7eb9734b53cf85b97bef
1 2007-07-27  Michael Olson  <mwolson@gnu.org>
3         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
4         involving list items that have an extra blank line in front.
6 2007-07-27  Jean Magnan de Bornier  <jean@bornier.net>
8         * lisp/muse-context.el (muse-context-header): Put
9         starttext after the modules who must be in preamble.
10         (muse-context-markup-strings): Fixed mistake in begin-example and
11         end-example.
13         * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
14         math environment in ConTeXt when centered: "$$ $$" has to be
15         "\startformula \stopformula".
17 2007-07-26  Michael Olson  <mwolson@gnu.org>
19         * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
20         parentheses in URLs.
22 2007-07-24  Michael Olson  <mwolson@gnu.org>
24         * examples/QuickStart.muse (Images): Fix typo where some text
25         existed in the output but not in the example region.
26         (Source Code): Fix another typo.  Explain that publishing from
27         console or X can make a difference.
29         * lisp/muse-context.el (muse-context-pdf-program): New option that
30         determines the program to use for generating PDF files for
31         ConTeXt.
32         (muse-context-pdf-cruft): New option that specifies the extensions
33         of files to remove after generating PDF output successfully.
34         (muse-context-slides-header): Docfix.
35         (muse-context-pdf-generate): Use new options.
37         * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
38         save-restriction call.  This was causing a world of hurt when
39         using <lisp> inside of <include>.
41         * texi/muse.texi (ConTeXt): New section that documents how to use
42         the ConTeXt publishing styles.
44 2007-07-23  Michael Olson  <mwolson@gnu.org>
46         * lisp/muse-context.el: New file that provides support for
47         publishing documents to the ConTeXt format.  Thanks to Jean Magnan
48         de Bornier for his work on this.
50         * lisp/muse-docbook.el (muse-docbook-entities)
51         (muse-docbook-bibliography): Remove unneeded save-restriction use.
53         * lisp/muse-latex2png.el (muse-publish-latex-tag):
54         s/contex/context/.
56         * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
57         (muse-latex-bibliography): Remove call to `widen', since it is not
58         needed anymore.  Remove unneeded save-restriction use.
59         ("slides", "slides-pdf"): Indent elements uniformly.
61 2007-07-22  Michael Olson  <mwolson@gnu.org>
63         * lisp/muse-blosxom.el (muse-blosxom-new-entry):
64         * lisp/muse-mode.el (muse-insert-tag):
65         * lisp/muse-project.el (muse-read-project)
66         (muse-read-project-file):
67         * lisp/muse-publish.el (muse-publish-get-style): Use
68         muse-completing-read-function.
70         * lisp/muse-latex2png.el (muse-publish-latex-tag)
71         (muse-publish-math-tag): Allow the contex style -- which I plan to
72         include soon -- to work with these tags.
74         * lisp/muse.el (muse-completing-read-function): New option that
75         determines which function to call when doing a completing-read.
77 2007-07-15  Michael Olson  <mwolson@gnu.org>
79         * lisp/muse-journal.el (muse-journal-html-entry-template)
80         (muse-journal-rdf-entry-template)
81         (muse-journal-rss-entry-template): Mention that this can be text
82         or a filename.
83         (muse-journal-rdf-entry-template, muse-journal-rss-header)
84         (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
85         newlines to make the output look nicer.
86         (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
87         Use muse-insert-file-or-string for the entry templates, rather
88         than muse-insert-markup.  This allows <lisp> and <markup> tags to
89         be acted on.  Thanks to Scott Hyde for the report.
90         (muse-journal-html-munge-buffer): Escape quote of the day using
91         entire-document specials before snarfing it.  Mark entire template
92         as read-only -- this fixes an incorrect escaping bug.  Remove
93         read-only properties before replacing template matches so that
94         they can still be escaped with entire-document specials later on.
95         (muse-journal-rss-munge-buffer): Make sure that title is escaped
96         properly.
97         (muse-journal-markup-tags): Rename from
98         muse-journal-latex-markup-tags, because we will use it for
99         journal-rss-entry as well.
100         (muse-journal-qotd-tag): Move higher.  Use begin-quote-item and
101         end-quote-item.
102         (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
103         html.
104         ("journal-latex", "journal-pdf", "journal-book-latex")
105         ("journal-book-pdf"): Use muse-journal-markup-tags rather than
106         muse-journal-latex-markup-tags.
107         ("journal-rss-entry"): New style that is used by journal-rss and
108         journal-rdf to mark up individual entries.  It is needed so that
109         we can do something meaningful with the qotd tag.
110         (muse-journal-rdf-summarize-entries): Set this to nil by default,
111         because it is annoying.  Update docs to mention this.
112         (muse-journal-rss-summarize-entries): Docfix.
114         * lisp/muse-publish.el (muse-insert-file-or-string): Use
115         muse-publish-markup-header-footer-tags.  I'm not quite sure how
116         this change got reverted.
117         (muse-markup-tag-info): Make into a function.  Move common code
118         here, rather than duplicating it in two places.  Deal with case
119         where muse-publish-use-header-footer-tags is non-nil.
120         (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
121         (muse-inhibit-style-tags): Move higher to avoid byte-compiler
122         warning.
123         (muse-publish-use-header-footer-tags): New variable that indicates
124         whether we should use just the header and footer tags, rather than
125         the full set.
126         (muse-insert-file-or-string): Bind
127         muse-publish-use-header-footer-tags to t.
128         (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
129         Simplify call to muse-markup-tag-info.
130         (muse-publish-mark-up-tag): Bind
131         muse-publish-use-header-footer-tags to nil.
133         * texi/muse.texi (Journal): Update for recent changes.
135 2007-07-14  Michael Olson  <mwolson@gnu.org>
137         * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
138         delete the remainder of the buffer, since this causes the
139         resulting RDF to have invalid syntax.  Thanks to Phillip Lord for
140         the report and the suggested fix.
142         * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
143         beginning of table-el regexp.  This fixes a bug where Muse stalls
144         when trying to publish a malformed table.  Thanks to Ye Wenbin for
145         the report and the suggested fix.
147 2007-07-12  Michael Olson  <mwolson@gnu.org>
149         * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
150         default, rather than the empty string.  This really fixes the bug
151         that occurred when using Muse with muse-project-alist set to nil.
152         Thanks to Jonathan Underwood for the report.
153         (muse-wiki-update-interwiki-regexp): Set
154         muse-wiki-interwiki-regexp to nil if muse-project-alist is not
155         defined.
156         (muse-wiki-handle-implicit-interwiki)
157         (muse-wiki-handle-explicit-interwiki): Handle case where
158         muse-wiki-interwiki-regexp is nil.
160 2007-07-10  Michael Olson  <mwolson@gnu.org>
162         * lisp/muse-mode.el (muse-grep): Abort search if the current
163         project contains no directories.
165         * lisp/muse-project.el (muse-project-file-alist): If
166         muse-project-alist is not defined, or project is nil, return nil
167         right away.  This ought to fix a bug that occurred when using Muse
168         with muse-project-alist set to nil.
169         (muse-project-of-file): Make sure muse-project-alist is not nil.
170         (muse-project-save-buffers): Make sure project is not nil.
172         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
173         case where muse-project-alist is nil.
175         * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
176         for XEmacs, since color-theme.el is poorly behaved, and defines
177         its own replace-in-string.  Bad color-theme.el -- no cookie for
178         you.
180 2007-07-01  Michael Olson  <mwolson@gnu.org>
182         * Makefile (.PHONY): Update for new debian package rules.
184         * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
186         * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
187         Use save-restriction properly.
188         (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
190         * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
191         (muse-latex-fixup-citations): Re-indent.  Use save-restriction
192         properly.
193         (muse-latex-bibliography): Re-indent.
195         * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
196         higher.  This fixes an error at startup with some versions of
197         Emacs.
198         (muse-publish-cite-tag): Re-indent.
200         * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
201         to the end of the link part, so as to exclude the description from
202         the match.  This fixes a bug with three-part links that have
203         descriptions.  Thanks to everyone who pointed it out.
205 2007-06-18  Michael Olson  <mwolson@gnu.org>
207         * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
208         (muse-xhtml1.1-markup-strings): New option that specifies XHTML
209         1.1 specific markup strings.
210         (muse-html-insert-anchor): Use 'anchor string, rather than
211         hard-coding it.  Thanks to Chris Corsair for the suggestion.
212         ("xhtml1.0"): New style that is an alias for the xhtml style.
213         ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
215 2007-06-17  Michael Olson  <mwolson@gnu.org>
217         * examples/QuickStart.muse: Make images local so that the Info
218         version of this document works.  Add <example> for the Literal
219         paragraphs chapter, so that it is clear what is happening.
221         * Makefile: Add elpa target, which is used for building an ELPA
222         package for Muse.
224         * Makefile.defs (ELPADIR, ELPADESC): New variables used for
225         building ELPA packages.
227         * examples/Makefile (%.html, %.pdf, %.info): Add message to
228         indicate what we are publishing.
229         (realclean distclean fullclean): Remove all TeX crud.
231         * examples/emacs-muse.png, examples/muse-made-with.png: Include so
232         that the Info version of QuickStart can publish correctly.
234         * lisp/muse-latex.el (muse-latex-slides-header)
235         (muse-latex-lecture-notes-header): Docfix.
237         * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
238         the list of things to ignore.
240         * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
241         variable.
243         * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
244         default to nil, since texinfmt.el is a serious nuisance.
245         (muse-texinfo-markup-strings): Add newlines to begin-example and
246         end-example.
247         (muse-texinfo-decide-specials): Also escape URL-type specials in a
248         whole slew of other contexts.
250         * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
251         muse-xml.
253         * lisp/muse-xml.el (muse-xml-footer): Docfix.
255         * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
257 2007-06-16  Michael Olson  <mwolson@gnu.org>
259         * etc/IDEAS.muse: Add some ideas from David D. Smith.
261         * examples/QuickStart.muse: Overhaul.
263         * lisp/muse-project.el (muse-project): Call the last part of a
264         muse-project-alist entry "Output styles" rather than "styles".
266         * lisp/muse-publish.el (muse-publish-table-fields): Handle case
267         where we have a pipe character at the beginning of line.
269         * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
270         causing tables to not be sorted at all.
272         * texi/muse.texi: Overhaul.  It would be too time-consuming to
273         list all of the changes here.  The "Getting Started" and
274         "Projects" chapters, in particular, were heavily revised.
276 2007-06-15  Michael Olson  <mwolson@gnu.org>
278         * NEWS: Update.
280         * examples/QuickStart.muse: Mention new features.
282         * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
283         Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
284         terminal, and C-c TAB is more important.  Most people will not
285         want to toggle images on and off that often.
287         * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
288         C-i as well, so that it works in the terminal.
290         * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
291         look a bit tidier when removing the region.
293         * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
294         list regexp part before other parts.
295         (muse-ol-item-regexp): New regexp that specifies how to match an
296         ordered list item.
297         (muse-ul-item-regexp): New regexp that specifies how to match an
298         unordered list item.
299         (muse-table-field-regexp): New regexp that specifies how to match
300         a definition list entry.
302         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
303         lack of support for @headitem in texinfmt.el.
305         * lisp/muse.el: Wrap muse-line-beginning-position and
306         muse-line-end-position in `eval-and-compile', since they are now
307         used in muse.el.
308         (muse-list-item-type): Use a simpler algorithm for detecting which
309         kind of list item we have.  This fixes a bug where a number in a
310         definition list term was being detected incorrectly as an ordered
311         list item.  Fixes bug #6250.
312         (muse-forward-list-item): Get the entire line with the list item.
313         For some reason, Emacs 21 was not populating match 2 correctly,
314         unlike Emacs 22, so this workaround was needed.
316         * texi/muse.texi: (Keystroke Summary): Remove C-c
317         C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
318         alternative keybinding to the C-c TAB stuff.  Mention
319         muse-colors-toggle-inline-images.
321 2007-06-14  Michael Olson  <mwolson@gnu.org>
323         * README: Mention that RelaxNG schema is in etc/ directory.
325         * etc/emacs-wiki-migration.txt: New document that explains how to
326         migrate from emacs-wiki to Muse.
328         * etc/muse.rnc: Increment version number to 1.0.  Fix several
329         nested emphasis and nested lists edge cases.  Move here from
330         examples/.
332         * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
333         same thing as C-c C-S-t, since the former works better in the
334         console.  Thanks to Leo for the suggestion.
336         * lisp/muse-publish.el (muse-publish-markup-table)
337         (muse-publish-markup-table-el): Include a newline in the return
338         string, so that paragraph detection does not get confused.
340         * lisp/muse.el (muse-with-temp-buffer): Docfix.
342         * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
343         keybinding.
345 2007-06-13  Michael Olson  <mwolson@gnu.org>
347         * etc/IDEAS.muse: Mark three-part-links item as done.
349         * experimental/muse-message.el: Remove guard for muse-define-style
350         calls.
352         * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
353         markup rules were being interpreted in reverse order.  This should
354         make implicit interwiki links work properly again.
355         (muse-link-face): Strip anchor from end of a path, so that this
356         works with anchors in interwiki links.
357         (muse-colors-insert-image): Catch error that occurs in Emacs 21
358         when an image does not exist.
360         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
361         anchors.
362         (muse-wiki-handle-implicit-interwiki): Docfix.  Make anchors in
363         interwiki links work.  Thanks to Jim Ottaway for the initial
364         implementation.
365         (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
366         links work.
368         * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
369         about match 0.
370         (muse-handle-explicit-link): Docfix: this does not modify the
371         match data.
372         (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
373         that has the regexp in its car.
375 2007-06-12  Michael Olson  <mwolson@gnu.org>
377         * README: Document new etc/ directory.
379         * etc/IDEAS.muse: Install things from new contributors just after
380         the 3.03 release, since I won't have time to review the code
381         before the release.  Move to new etc/ directory.  Slides
382         publishing has been installed.
384         * lisp/muse-latex.el (muse-latex-slides-header): New option that
385         determines the header to use for publishing slides.
386         (muse-latex-lecture-notes-header): New option that determines the
387         header to use for publishing lecture notes.
388         (muse-latex-slides-markup-tags): New option containing tags to use
389         when publishing slides.
390         (muse-latex-permit-contents-tag): Move higher in file.
391         (muse-latex-slide-tag): New function to publish the <slide> tag.
392         ("slides", "slides-pdf"): New publishing styles that create slides
393         using Beamer.
394         ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
395         create lecture notes using Beamer.
397         * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
398         since otherwise Planner is not happy when `plan' is called during
399         init.  Remove stray quote from autoload snippet.
401 2007-06-11  Michael Olson  <mwolson@gnu.org>
403         * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
404         autoload, rather than having it exist at top-level.  Thanks to Leo
405         for the suggestion.
406         (muse-update-file-extension): Docfix.
408 2007-06-10  Michael Olson  <mwolson@gnu.org>
410         * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
411         URLs were being removed during publishing.  Thanks to everyone who
412         reported this.
414 2007-06-09  Markus Hoenicka <markus.hoenicka@mhoenicka.de>
416         * lisp/muse-book.el
417         * lisp/muse-docbook.el
418         * lisp/muse-latex.el
419         * lisp/muse-publish.el: added support for <cite> element which
420         denotes in-text citations
422         * lisp/muse-html.el
423         * lisp/muse-groff.el
424         * lisp/muse-texinfo.el
425         * lisp/muse-xml.el: added support for <cite> element (stub)
427 2007-06-06  Michael Olson  <mwolson@gnu.org>
429         * lisp/muse-regexps.el (muse-table-line-regexp)
430         (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
431         regexps so that they work with XEmacs 21.  Thanks to Adrian
432         Tritschler for the report.
434         * texi/muse.texi: Update copyright years.
435         (HTML): Document muse-xhtml-style-sheet.  Thanks
436         to thorne for noticing.
437         (Development): Change archive year to 2006.  Thanks to Adrian
438         Tritschler for noticing.  So *that's* why some people had the 2005
439         version ....
441 2007-06-05  Michael Olson  <mwolson@gnu.org>
443         * Makefile (install-info): Remove $(MANUAL).info part, since this
444         is taken care of already by texi/Makefile.  Thanks to Leo for the
445         report.
447         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
448         read-only properties to qotd contents, so that they don't get
449         double-escaped.  Thanks to Leo for the report.
451 2007-06-04  Michael Olson  <mwolson@gnu.org>
453         * lisp/muse-colors.el (muse-link-face): If the link is to a remote
454         -- that is, Tramp or ange-ftp -- file, then do not call
455         file-exists-p on it.  Thanks to Jim Ottaway for the suggestion.
456         Fixes bug #5115.
458         * lisp/muse-html.el (muse-html-insert-contents): Add
459         documentation.  Handle case where heading is read-only, but has
460         muse-contents property.  Remove the muse-contents property for any
461         heading we come across so as to avoid double-including an item in
462         an outer table of contents.
463         (muse-html-denote-headings): New function that denotes whether a
464         heading is not read-only by adding the muse-contents property to
465         it.
466         (muse-html-munge-buffer): If we are not to generate contents,
467         still denote headings, in case some outer layer wants to generate
468         contents for our headings.  This should fix a bug with table of
469         contents and the <include> tag.  Thanks to thorne for the report.
471         * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
472         muse-publish-generate-contents and set it to nil.  This should
473         do the right thing when using <include> tags.
475 2007-06-02  Michael Olson  <mwolson@gnu.org>
477         * NEWS: Update for non-inlined image change and support for
478         table.el style tables.
480         * examples/Makefile (clean): Clean backup files.
482         * examples/QuickStart.muse (Images): New section that describes
483         how to inline and not inline images.
485         * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
486         touch images that have "URL:" in front of them.
488         * lisp/muse-protocols.el (muse-url-protocols): Add handler for
489         "URL:".  Use the identity function to resolve, since we don't want
490         to rip "URL:" out while publishing, due to some magic that depends
491         on that text.
492         (muse-browse-url-url): New function that browses URLs that have
493         "URL:" in front of them, by removing the "URL:" part and
494         reprocessing the remainder.
496         * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
497         (muse-publish-url): Recognize images in the description before
498         images in the link.  Fixes bug #5112.  Thanks to Thomas Kappler
499         for the suggested workaround.
500         (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
501         default value.
502         (muse-publish-classify-url): If target begins with "URL:" return
503         type url.
504         (muse-publish-strip-URL): New function that strips "URL:" from the
505         beginning of a string.  This is used to remove URL: from the link
506         description.  * texi/muse.texi (Markup Strings): Clarify the
507         meanings of image-link, link, and link-and-anchor.
508         (muse-publish-markup-regexps): Move normal table rule to 2350.
509         Rule 2300 is now a regexp that matches table.el-style tables.
510         (muse-publish-markup-functions): Add table-el entry.
511         (muse-publish-table-el-table): New function that given a variant,
512         publishes a table.el-style table using the table in the matched
513         region.
514         (muse-publish-markup-table-el): New function that determines
515         whether the table.el-style table can be published, and what
516         variant to use.
518         * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
519         the borders of table.el-style tables.
521         * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
522         the table has sufficient whitespace in front of it.
524         * texi/muse.texi (Images): Update for new non-inlined image
525         ability and provide example.
527 2007-05-31  Michael Olson  <mwolson@gnu.org>
529         * NEWS: Add example for setting `muse-html-table-attributes'.
531         * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
532         Publish multiple tbody tags if there is a horizontal separator
533         after the heading, because that is valid HTML after all.
535 2007-05-30  Michael Olson  <mwolson@gnu.org>
537         * NEWS: Update.
539         * lisp/muse-latex.el (muse-latex-markup-table): Deal with
540         horizontal separators in tables.
542         * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
543         horizontal separators in tables.
544         (muse-publish-trim-table): New function to remove initial and
545         final blank columns from a table.
546         (muse-publish-table-fields): Call `muse-publish-trim-table'.  Deal
547         with horizontal separators, aka "hlines".
549         * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
550         defines the syntax of a horizontal separator in a table.
552         * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
553         horizontal separators.  Publish header lines correctly.
555         * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
556         where we have nonnumbers as a row type.  This ignores sorting for
557         hlines.
558         (muse-xml-markup-table): Deal with horizontal separators.  If the
559         markup supports table groups, make hlines separate table groups.
560         Otherwise, ignore them, since they cannot be marked up.  Together,
561         these changes allow us to support orgtbl-mode tables.  Thanks to
562         Carsten Dominik for the suggestion.
564 2007-05-26  Michael Olson  <mwolson@gnu.org>
566         * lisp/muse-project.el (muse-project-alist-styles): Allow for
567         other things to be added to each generated style as well.  For
568         example, this permits me to add
569         :base-url "http://blog.mwolson.org/"
570         for my blog.
572 2007-05-25  Michael Olson  <mwolson@gnu.org>
574         * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
575         way of building Debian packages that preserves the original
576         release tarball and is more modular.
577         (debrevision, debrelease): Remove.
578         (dist): No need to remove the debian/ directory, since it is now
579         in its own branch.
580         (debprepare): Copy over debian/ directory properly.
582         * NEWS: Update.
584         * examples/Makefile (clean): Remove QuickStart.texi, in case
585         something went wrong during the build.
586         (%.pdf): Publish the example using the normal pdf style, rather
587         than info-pdf.
589         * examples/QuickStart.muse: Add myself to the authors list.
591         * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
592         sufficient blank lines before the tag.
594         * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
595         we have sufficient blank lines before the tag.
597         * lisp/muse-latex.el (muse-latex-pdf-program): New option that
598         specifies the program to call in order to generate PDF content
599         from LaTeX content.
600         (muse-latex-pdf-cruft): New option that specifies the extensions
601         of files to remove after generating PDF output successfully.
602         (muse-latex-pdf-generate): Use these new options.  Work around the
603         annoying edge case where a tilde character exists in the filename
604         or directory path -- now this can only error out when the relative
605         path from the output file to the source file contains a tilde,
606         which is far less likely.
608         * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
609         muse-publish-ensure-block here after all, because <lisp> et al may
610         occur inline as part of other things.
612         * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
613         occur after full-document escaping, rather than before.  This
614         prevents automatically-inserted Texinfo code from being escaped.
615         (muse-texinfo-pdf-generate): Rewrite to call
616         `muse-latex-pdf-generate' with pdftex as the generating binary,
617         because texi2pdf suffers irredeemably from the tilde edge case
618         mentioned above.
620 2007-05-24  Michael Olson  <mwolson@gnu.org>
622         * NEWS: Drop vague entries and position interesting entries closer
623         to the top of each section.  Update for new changes.
625         * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
626         and bzr metadata directories to the list of things to ignore.
628         * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
629         `muse-publish-ensure-block-tag', since we will use it for more
630         than just tags.
631         (muse-publish-markup-list, muse-publish-verse-tag)
632         (muse-publish-quote-tag, muse-publish-example-tag)
633         (muse-publish-markup-attribute): Use it.  This fixes a bug that
634         can occur when these types of markup occur immediately after a
635         paragraph.  It's good to have defined behavior!
637         * texi/muse.texi (Markup Strings): Mention new argument for
638         link-and-anchor.
640 2007-05-19  Michael Olson  <mwolson@gnu.org>
642         * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
643         published footnotes and footnote references.  Thanks to Scott
644         Jaderholm for the idea.
646         * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
647         link-and-anchor, on the recommendation of the original submitter.
649 2007-05-14  Michael Olson  <mwolson@gnu.org>
651         * lisp/muse-latex.el (muse-latex-markup-strings): Use better
652         link-and-anchor markup.  Thanks to Jean Magnan de Bornier for the
653         suggestion.
655         * lisp/muse-publish.el (muse-publish-url): Pass the url without a
656         file extension as the fourth argument.
658         * README, texi/muse.texi (Getting Help and Reporting Bugs):
659         Mention the new muse-el-logs mailing list.
661 2007-05-13  Michael Olson  <mwolson@gnu.org>
663         * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
664         "\`" here.  This fixes a problem with publishing custom URLs.
666 2007-05-12  Michael Olson  <mwolson@gnu.org>
668         * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
669         update the list if the current buffer is associated with a file.
670         This fixes a bug with M-x muse-publish-region in a temporary
671         buffer.
673 2007-05-01  Michael Olson  <mwolson@gnu.org>
675         * lisp/muse-publish.el (muse-publish-region): Remove read-only
676         properties from the published buffer, so that the results can be
677         manually tweaked.
679 2007-04-23  Michael Olson  <mwolson@gnu.org>
681         * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
682         find the footnote that goes with a reference, leave the reference
683         as-is.  This fixes an error where control characters could be
684         placed in a published document.
686 2007-04-22  Michael Olson  <mwolson@gnu.org>
688         * IDEAS.muse: Add muse-slides.el to list of things to include
689         before release.
691         * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
692         character.
693         (muse-protocol-find): Find protocols correctly.  Rewrite to use
694         catch/throw.
695         (muse-browse-url): Don't concatenate "\`" here.  Together, this
696         fixes a bug with browsing woman:// links.
698         * lisp/muse-project.el (muse-project-alist-styles): Deal with case
699         where entry-dir has a trailing backslash.
700         (muse-project-publish-file): If a style is malformed, skip it and
701         display a warning message.  This should help people figure out
702         where the problem is.
704 2007-04-21  Michael Olson  <mwolson@gnu.org>
706         * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
707         yet-to-be-included "contex" publishing style, use "$$" rather
708         than "\[" and "\]".  Thanks to Jean Magnan de Bornier for pointing
709         this out.
711 2007-04-20  Michael Olson  <mwolson@gnu.org>
713         * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
714         variable that causes the :before and :before-end hooks to be
715         ignored when non-nil.
716         (muse-publish-markup-region): Use it.  Also, guarantee that point
717         is at end of region after publishing.
718         (muse-publish-mark-up-tag): Simplify, taking advantage of the new
719         variable.
721 2007-04-19  Michael Olson  <mwolson@gnu.org>
723         * IDEAS.muse: New file containing a list of ideas we have for new
724         features, or patches that have yet to be applied.
726         * README: Call it "Emacs Muse", not "the Emacs Muse".  No need to
727         be so confusing.
729         * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
730         docstring.
732         * lisp/muse-publish.el (muse-publish-markup-tags): Handle
733         <literal> tags with muse-publish-literal-tag, rather than
734         muse-publish-mark-read-only.
735         (muse-publish-literal-tag): New function that publishes the
736         <literal> tag.  It adds the ability to add the optional "style"
737         and "exact" elements, which cause text to only be included if the
738         current publishing style matches some criteria.  The text will be
739         removed otherwise.  Thanks to Jim Ottaway for the implementation.
740         (muse-publish-mark-up-tag): Let the <markup> tag take the
741         additional optional elements "style" and "exact", with much the
742         same effect as the <literal> improvements, but after calling
743         "function" or publishing the region first.  Make it possible to
744         put <content> tags in <markup> regions in HTML publishing.
746 2007-04-12  Michael Olson  <mwolson@gnu.org>
748         * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
749         that a blank line always exists after a heading.  This fixes a bug
750         in Docbook paragraph detection.  Thanks to Jean Magnan de Bornier
751         for the report.
753         * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
754         detection regexp to that which is used in Docbook and HTML
755         publishing styles.
757 2007-04-02  Michael Olson  <mwolson@gnu.org>
759         * README (muse-el-announce): Make a listing of mailing lists,
760         rather than pointing to the old EmacsWikiMailingList page.  Thanks
761         to Andreas Roehler for noticing.
763 2007-04-01  Michael Olson  <mwolson@gnu.org>
765         * lisp/muse-publish.el (muse-publish-date-format): Add
766 `       customization type and group.
767         (muse-publish-region): New interactive function that publishes a
768         region to a new buffer.
770         * texi/muse.texi: Use "document" rather than "manual".
772 2007-03-31  Michael Olson  <mwolson@gnu.org>
774         * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
775         expression (muse-style-derived-p "latex" (muse-style "latex"))
776         yielded nil.  It now yields t, as expected.  Thanks to Jim Ottaway
777         for the catch.
779 2007-02-25  Michael Olson  <mwolson@gnu.org>
781         * lisp/muse-publish.el (muse-publish-date-format): New option that
782         specifies how to format the date when publishing Muse pages.
783         Thanks to Thomas Gehrlein for the suggestion.
784         (muse-publish-markup-buffer): Use it.
786 2007-02-23  Michael Olson  <mwolson@gnu.org>
788         * README: Add Prerequisites section to mention which versions of
789         Emacs work with Muse.  Thanks to Exal de Jesus Garcia Carrillo for
790         the suggestion.  Update link destination for Muse's page on
791         emacswiki.org.
793 2007-02-15  Michael Olson  <mwolson@gnu.org>
795         * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
796         be not just at beginning of line.  This fixes an error with the
797         <class> tag.  Thanks to Jim Pivarski for the report.
799 2007-02-14  Michael Olson  <mwolson@gnu.org>
801         * lisp/muse-publish.el (muse-publish-classify-url): Check to see
802         whether something is an image before checking to see if it is a
803         URL.  Thanks to ITSUMI ken-ichi for the report.
805 2007-02-13  Michael Olson  <mwolson@gnu.org>
807         * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
808         comments that have no text better.  Thanks to fang.lungang for the
809         report.
810         (muse-publish-markup-comment): Deal with case where no comment
811         text is provided.
813 2007-01-23  Michael Olson  <mwolson@gnu.org>
815         * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
816         that ensures that at least one blank line exists at the given
817         position.  This is used to avoid paragraph detection problems when
818         block-level tags like <example> immediately follow a paragraph.
819         Thanks to Hans Ekbrand for the report.
820         (muse-publish-example-tag): Use it.
822 2007-01-19  Michael Olson  <mwolson@gnu.org>
824         * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
825         previous blank line if we are publishing in Latex.  Otherwise,
826         that wouldn't be the right thing, so leave it be.
828 2007-01-17  Michael Olson  <mwolson@gnu.org>
830         * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
831         multiple centered math lines on the same line; keep them on
832         different lines.  Use \[ math-text \] instead of $$math-text$$,
833         since the latter seems to be deprecated.  Thanks to Jody Klymak
834         for the pointer.
836 2007-01-15  Michael Olson  <mwolson@gnu.org>
838         * lisp/muse-latex2png.el (muse-publish-latex-tag)
839         (muse-publish-math-tag): Publish region read-only when current
840         style is Latex-derived, so that Muse does not escape it.
841         (muse-publish-math-tag): If 6 or more spaces come before the tag,
842         surround the region with "$$" rather than "$".  This is the Muse
843         syntax for something centered, so it should be a good fit.
845 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
847         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
848         protocol.
849         (muse-browse-url-man): Change man page URL format.  The code is
850         simpler when the section is left inside parentheses.
851         (muse-browse-url-woman): New function.
853 2007-01-14  Michael Olson  <mwolson@gnu.org>
855         * AUTHORS: Bookkeeping.
857         * lisp/muse-latex2png.el: Associate <math> tag with
858         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
859         Klymak for the report.
860         (muse-publish-math-tag): Use muse-insert-markup for the "$"
861         characters, so they don't get escaped.
863         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
864         make muse-style-derived-p easier to implement.
865         (muse-style-derived-p): If the style is not provided, fetch it and
866         check to see if the car is a string.  This should fix the other
867         problem that was reported.
869         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
870         explains a case where setting muse-file-extension to nil can cause
871         unexpected behavior.
873 2007-01-09  Michael Olson  <mwolson@gnu.org>
875         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
876         comments higher priority than tags.  Thanks to Stefan van der Walt
877         for the report.
879 2007-01-08  Michael Olson  <mwolson@gnu.org>
881         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
882         argument rather than calling match-string.  Thanks to Stefan van
883         der Walt for the report.  This should fix a bug with publishing
884         <include file="..." markup="example">.
886 2007-01-06  Michael Olson  <mwolson@gnu.org>
888         * Makefile (debclean): New rule split from debrevision and
889         debrelease.
890         (debbuild): Take distributor into account.
892         * Makefile.defs (DISTRIBUTOR): New field that tracks what
893         vendor/distributor we are building for.
895 2007-01-04  Michael Olson  <mwolson@gnu.org>
897         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
898         line.
900         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
901         point to muse-publish-src-tag by default, since <src> and
902         <example> have different parameters.
903         (muse-publish-src-tag): New barebones publishing function for
904         <src>, which is superseded when publishing in an HTML-based style.
906 2007-01-03  Michael Olson  <mwolson@gnu.org>
908         * lisp/muse-html.el (muse-html-src-tag): Document.
910         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
911         command that calls a given tag on the current buffer.  Attributes
912         may be passed.
913         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
914         it.
915         (muse-publish-srcify-buffer): New function that allows
916         markup="src" in the <include> tag.
917         (muse-publish-get-and-delete-attr): New macro that gets an
918         attribute from a list and removes the first instance of that
919         attribute from said list.
920         (muse-publish-markup-attribute): Handle markup="src".
921         (muse-publish-command-tag, muse-publish-include-tag): Use
922         muse-publish-get-and-delete-attr.  This allows the remaining
923         attributes to be passed.
925         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
926         as changes to <command> and <include>.
928 2006-12-30  Michael Olson  <mwolson@gnu.org>
930         * NEWS: Update.
932         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
933         from muse-publish-math-tag to avoid conflict with
934         muse-latex2png.el.
936 2006-12-23  Michael Olson  <mwolson@gnu.org>
938         * lisp/muse-latex2png.el: Update header, since this has been
939         rewritten sufficiently to not need an assignment from the original
940         author.
941         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
942         (muse-latex2png): Use two underscores to separate prefix and hash.
943         (muse-latex2png-region): New function split from
944         muse-publish-latex-tag that can be used easily by other code.
945         Detect whether we are using an HTML-based publishing style, and
946         insert a simpler markup if we are not.  If we are using a
947         Latex-based publishing style, do not generate an image, and leave
948         the region alone.  Return the path of the generated image, in case
949         other functions want to use this programmatically.
950         (muse-publish-latex-tag): Set a default prefix based on the name
951         of the current file.
952         (muse-publish-math-tag): New tag that surrounds the region with
953         "$" characters, so that it becomes a Latex math region, and then
954         publishes it.
956         * lisp/muse-publish.el (muse-style-derived-p): New function that
957         returns non-nil if a given style, or the current style if omitted,
958         is equal to or derived from the given base style.  This is useful
959         in <lisp> tags, because it allows the user to specify markup that
960         is only to be inserted for one particular style.
962 2006-12-22  Michael Olson  <mwolson@gnu.org>
964         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
965         (muse-html-src-tag): New function which publishes the <src> tag.
966         Thanks to Clinton Ebadi and Charles Wang for the initial
967         implementations.
969         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
971 2006-12-21  Michael Olson  <mwolson@gnu.org>
973         * examples/johnw/muse-johnw.el: Update for preferred
974         muse-derive-style usage.  Rename to muse-init.el.
976         * examples/mwolson/muse-init.el: Update.
978         * lisp/muse-book.el (muse-book-publish): New function split from
979         muse-book-publish-project.  This is used in the definitions for
980         the book-latex and book-pdf styles.
981         (muse-book-publish-p): New function split from muse-book-publish.
982         (muse-book-get-directives): New function that retrieves the
983         publishing directives from the given file.
984         (muse-book-publish): Use muse-book-get-directives to set the title
985         if no title was specified.
987         * lisp/muse-project.el (muse-project): Add :publish-project entry
988         to widget.
989         (muse-read-project, muse-project-find-file): Message fix.
990         (muse-project-publish-file-default): New function split from
991         muse-project-publish-file.
992         (muse-project-publish-file): Allow file-level publishing function
993         to be specified by the :publish element.  The default is
994         muse-project-publish-file-default.
995         (muse-project-publish-default): New function split from
996         muse-project-publish.
997         (muse-project-publish): Allow project-level publishing function to
998         be specified by :publish-project element.  The default is
999         muse-project-publish-default.
1001         * lisp/muse-publish.el (muse-publish-file): Message fix.
1003         * texi/muse.texi (Book): Mention new way to publish books and
1004         provide an example, since the process may be non-obvious.
1006 2006-12-20  Michael Olson  <mwolson@gnu.org>
1008         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1009         content-modifying code from the rest of
1010         muse-docbook-finalize-buffer.
1012         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1013         muse-groff-finalize-buffer, since it adds content to the buffer.
1015         * lisp/muse-html.el (muse-html-munge-buffer): Split out
1016         content-modifying code from the rest of muse-html-finalize-buffer.
1017         This fixes a bug when using <include> with <content> tags.
1019         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1020         (muse-journal-latex-munge-buffer)
1021         (muse-journal-rss-munge-buffer): Rename, since they add content to
1022         the buffer.
1024         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1025         muse-latex-finalize-buffer, since it adds content to the buffer.
1027         * lisp/muse-mode.el:
1028         * lisp/muse-project.el:
1029         * lisp/muse-publish.el:
1030         * lisp/muse.el: Fix recursive load error.
1032         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1033         muse-texinfo-finalize-buffer, since it adds content to the buffer.
1035         * lisp/muse-wiki.el: Comment cleanup.
1037         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1039 2006-12-17  Michael Olson  <mwolson@gnu.org>
1041         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1042         Remove the definition of \comment, since Latex already has comment
1043         syntax.
1044         (muse-latex-markup-strings): Use the Latex comment syntax, rather
1045         than our own.  Thanks to Ryan Stutsman for pointing this out.
1047 2006-12-02  Michael Olson  <mwolson@gnu.org>
1049         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1050         that this can generate a proper table of contents for Planner HTML
1051         publishing.
1053 2006-12-01  Michael Olson  <mwolson@gnu.org>
1055         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1056         using a very old Emacs, avoid an infinite loop that could occur
1057         when the regexp is an empty string.
1059 2006-11-26  Michael Olson  <mwolson@gnu.org>
1061         * NEWS: Bring up to date.
1063         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1064         list issues and multiple-stanza verse issues.  This takes care of
1065         all of the markup issues I was worried about.
1067         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1068         (muse-project-publish-private-files): New option that indicates
1069         whether files with private filesystem permissions should be
1070         published.  The default is to publish them, since it avoids
1071         confusion in new users.
1072         (muse-project-private-p): Use it.
1074 2006-11-19  Michael Olson  <mwolson@gnu.org>
1076         * lisp/muse-project.el (muse-project-resolve-link): If no remote
1077         style is found, which means that the link is not a Muse page, do
1078         not add a suffix or prefix to it.  This should fix the
1079         "[[thing.owl]]" bug that Phillip Lord reported.
1081         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1082         removing unused 2nd argument.
1084 2006-11-17  Michael Olson  <mwolson@gnu.org>
1086         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1087         latex publishing where nested enumerated lists would be squashed
1088         together at the end.
1090 2006-11-16  Michael Olson  <mwolson@gnu.org>
1092         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1093         list embedded in a definition list look right.  This also allows
1094         for definitions to be separated from their terms, much like the
1095         way HTML does it by default, if the user puts a blank line or a
1096         line break between the term and the definition.  If the term and
1097         definition are on the same line, they will be that way in the
1098         output as well.
1100 2006-11-11  Michael Olson  <mwolson@gnu.org>
1102         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
1103         for the report.
1104         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1106 2006-11-07  Michael Olson  <mwolson@gnu.org>
1108         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1109         release candidate for Muse 3.03, available.
1111         * NEWS: Update.
1113 2006-11-06  Michael Olson  <mwolson@gnu.org>
1115         * lisp/muse-project.el (muse-project-find-file): Fix bug when
1116         following a relative link worked even when the path was incorrect.
1118 2006-11-04  John Sullivan  <john@wjsullivan.net>
1120         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1121         muse-follow-name-at-point to reduce collisions with other
1122         modes (Planner).
1124         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1126 2006-11-04  Michael Olson  <mwolson@gnu.org>
1128         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1129         optional, and make interwiki delimiter a regular rather than shy
1130         group.
1131         (muse-wiki-handle-implicit-interwiki): Rename from
1132         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
1133         (muse-wiki-handle-explicit-interwiki): New function that is
1134         smarter about where an explicit link ends in a buffer.  This
1135         allows you to refer to page names with invalid Wiki characters,
1136         such as underscores and dashes, merely by enclosing them in double
1137         brackets.  Also, a bug with recognizing project names too loosely
1138         has been fixed.
1140 2006-11-03  Michael Olson  <mwolson@gnu.org>
1142         * lisp/muse-project.el (muse-project-page-file): Make relative
1143         links work as expected, hopefully.
1145         * lisp/muse-publish.el (muse-publish-this-file): Set the current
1146         output style manually, since it will differ from anything in the
1147         publishing style list.
1149 2006-10-30  Michael Olson  <mwolson@gnu.org>
1151         * lisp/muse-colors.el (muse-colors-markup): Remove note about
1152         grouping elements, since that no longer applies.
1153         (muse-colors-custom-tags): Explicitly match against
1154         muse-tag-regexp to get the match-data set the way we want.  This
1155         really fixes the <example> highlighting bug that Stefan reported.
1156         (muse-configure-highlighting): Set the original value to the
1157         symbol, not the modified value.  Re-use modified rules properly.
1159         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1160         introduced yesterday.
1162 2006-10-29  Michael Olson  <mwolson@gnu.org>
1164         * examples/mwolson: Update my example configuration.
1166         * NEWS: Update.
1168         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1169         without a regexp in the first position before iterating through
1170         them to build muse-colors-vector.  This fixes a bug with the
1171         display of <example> tags.  Thanks to Stefan Reichör for the
1172         report.
1174         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1175         files in projects to be linked to.
1177         * lisp/muse-publish.el (muse-publish-url): Allow the original link
1178         to serve as a description for a URL, as long as it differs from
1179         the destination URL.  This fixes the description of WikPage links
1180         in PDF output.
1181         (muse-publish-link-file): Check to see whether the given link
1182         points at a valid file.  If so, return it.  Otherwise, apply other
1183         transforms like prefix and link suffix.
1185         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1186         "/", it is a file or directory, not a Muse page.  Thanks to
1187         Phillip Lord for the suggestion.
1189         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1190         of the current page as the local path, instead of duplicating the
1191         remote file's path.  This probably fixes at least one reported
1192         bug. since it's quite major.
1193         (muse-wiki-update-project-file-regexp)
1194         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1195         passed to regexp-opt, since that can cause Emacs 21 to throw an
1196         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
1197         DOT edu for the report.
1198         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1200 2006-10-28  Michael Olson  <mwolson@gnu.org>
1202         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1203         (muse-project-resolve-link): If the given style does not have a
1204         link-suffix, default to suffix.  This fixes a bug I was noticing
1205         when linking to a file that was published in both PDF and HTML
1206         form.
1208         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1209         function that is used as a callback to determine the initial
1210         amount of indentation that the current dl item has.
1211         (muse-publish-surround-dl): Use it.  Pass the initial indent value
1212         and the post-indent value, instead of trying to determine them
1213         both.
1214         (muse-publish-strip-list-indentation): New function stripped from
1215         `muse-publish-surround-text' for readability.
1216         (muse-publish-surround-text): Instead of taking a determine-indent
1217         value, take a determine-indent-func function, which is called just
1218         after finding the next list item.  If we are asked to determine
1219         the amount of indentation, concatenate indent and post-indent the
1220         first time around.  This effectively fixes all known definition
1221         list issues.
1223 2006-10-16  Michael Olson  <mwolson@gnu.org>
1225         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1226         other software -- namely, Planner -- can detect whether they are
1227         using a version of Muse that supports nested tags.
1228         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1229         muse-publish-goto-tag-end.
1231         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1232         Adapt for nested tags.
1234         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1235         <class> tag is nestable.  Thanks to Phillip Lord for noticing
1236         this.
1238         * lisp/muse-publish.el (muse-publish-markup-tag)
1239         (muse-publish-quote-tag): Use muse-goto-tag-end.
1241         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1243 2006-10-15  Michael Olson  <mwolson@gnu.org>
1245         * AUTHORS: Bookkeeping.
1247         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1248         tag.
1250         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1251         tags.
1253         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1255         * lisp/muse-import-docbook.el (muse-import-docbook)
1256         (muse-import-docbook-files): Docfix.
1257         (muse-import-docbook-get-title): Remove cl.el-ism.
1259         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1261         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1263         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1265         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1266         (muse-next-reference, muse-previous-reference): Minor whitespace
1267         changes.
1268         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
1269         the suggestion.
1271         * lisp/muse-poem.el (muse-poem-tag): Ditto.
1273         * lisp/muse-publish.el (muse-publish-markup-tags)
1274         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1275         element and make 4th element determine whether tags are nestable.
1276         (muse-publish-goto-tag-end): New function that moves to the end of
1277         a tag.  Handle nested tags when NESTED is non-nil.
1278         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
1279         5th element for function.
1280         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
1281         this on several scenarios, and it seems to work.
1282         (muse-publish-surround-text): Accept new optional argument
1283         LIST-ITEM which determines the regexp to use for list items.  The
1284         default is to use muse-list-item-regexp.
1286         * muse.texi (Markup Tags): Mention nestable tags.
1288         * NEWS: Mention new files.
1290 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
1292         * lisp/muse-import-docbook.el: New file that converts Docbook XML
1293         into Muse format.
1295         * lisp/muse-import-xml.el: New file that provides helper routines
1296         for converting XML-ish files to Muse format.
1298 2006-10-10  Michael Olson  <mwolson@gnu.org>
1300         * NEWS: Update for 3.02.7 bugfix release.
1302 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
1304         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1305         using the value in the muse #date directive.
1306         (muse-blosxom-use-metadate): New option that determines whether or
1307         not to use the #postdate directive.
1308         (muse-blosxom-format-date): Convert a date string to PyBlosxom
1309         metadate plugin format.
1311 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
1313         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1314         recognised URLs.
1316         * muse.texi: Clarify handling of implicit links by mentioning
1317         which characters can prevent Muse from recognizing something as an
1318         implicit link.
1320 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
1322         * lisp/muse-mode.el (muse-next-reference)
1323         (muse-previous-reference): Fix bug #6367 by moving point to the
1324         beginning of the link.
1326 2006-09-26  Michael Olson  <mwolson@gnu.org>
1328         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1329         beginning-of-line.  This should fix a bug that was noticed in
1330         recent Emacs 22 builds.
1332         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1333         eval-and-compile block to avoid a compiler warning.
1335 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
1337         * lisp/muse-backlink.el (muse-backlink-split-string):
1338         Compatibility with Emacs versions < 22
1339         (muse-backlink-pending): New internal variable
1340         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1341         that backlinks are inserted at the right time.
1342         (muse-backlink-insert-hook-func): Remove unwind-protection; check
1343         for pending backlink, and that this is the targe page.
1344         (muse-backlink-handle-link): Don’t handle the link if we are
1345         already handling one. Return the link as well as the parent links.
1347 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
1349         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1350         #6942 - muse-blosxom-new-entry fails when using tags.
1352 2006-09-14  Michael Olson  <mwolson@gnu.org>
1354         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1355         compiler warning.
1357 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
1359         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1360         function: Protect all wikiwords from START to END from further
1361         processing.
1362         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1364 2006-09-13  Michael Olson  <mwolson@gnu.org>
1366         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1367         adopted from Jim Ottaway's patch.  It removes links from the
1368         heading, and then marks the region read-only to inhibit WikiWord
1369         detection.
1371 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
1373         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1374         special handling for headings.
1375         (muse-texinfo-remove-links): New function that removes explicit
1376         links from the given strings, replacing them with a description.
1378 2006-09-11  Michael Olson  <mwolson@gnu.org>
1380         * muse.texi (Getting Help and Reporting Bugs): Mention the
1381         muse-el-internationalization mailing list.
1383         * lisp/muse.el (muse-path-sans-extension): New function that acts
1384         like file-name-sans-extension, but guarantees to never modify the
1385         directory part of the path.  Thanks to Evan Monroig for
1386         investigating this.
1388         * lisp/muse-book.el (muse-book-publish-project): Use
1389         muse-path-sans-extension instead of file-name-sans-extension.
1391         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1392         Ditto.
1394 2006-08-30  Michael Olson  <mwolson@gnu.org>
1396         * muse.texi (Blosxom Requirements): Fix typo.
1398         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1399         directories for bzr and darcs.
1401         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1402         contrib/pyblosxom/getstamps.py: Update version and headers.
1404 2006-08-27  Michael Olson  <mwolson@gnu.org>
1406         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1407         nil values before they get to mapconcat.  This fixes a lockup when
1408         muse-wiki-match-all-project-files is nil.
1410         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1411         (muse-wiki-ignore-implicit-links-to-current-page)
1412         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1413         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1414         (muse-wiki-publish-small-title-words)
1415         (muse-wiki-publish-pretty-title): Docfix.
1416         (muse-wiki-update-local-wikiword-regexp): Rename from
1417         muse-wiki-update-local-wikiword-regexp.  Set
1418         muse-wiki-project-file-regexp instead of
1419         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
1420         take muse-wiki-use-wikiword into account, since this is a
1421         different concept now.
1422         (muse-wiki-update-wikiword-regexp): Remove.
1423         (muse-wiki-wikiword-regexp): In-line the :set function.
1424         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
1426 2006-08-26  Michael Olson  <mwolson@gnu.org>
1428         * lisp/muse-publish.el (muse-publish-surround-text): When looking
1429         for indented list items, ignore blank lines.
1431         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
1432         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
1433         mapconcat.  This should hopefully fix a problem with large amounts
1434         of files with spaces in their name.  Thanks to Greg Detre for the
1435         report.
1437 2006-08-24  Michael Olson  <mwolson@gnu.org>
1439         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
1440         numbers from the argument to format-time-string.  This fixes an
1441         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
1443 2006-08-18  Michael Olson  <mwolson@gnu.org>
1445         * lisp/muse-project.el (muse-project-file-entries): Since we are
1446         given a full path, match against the filename as well.  This fixes
1447         an issue where backup files were being added to the file alist.
1449         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
1450         from muse-html.el.
1452 2006-08-12  Michael Olson  <mwolson@gnu.org>
1454         * Makefile (.PHONY): Don't use line continuations.
1455         (realclean fullclean): Call realclean in subdirs, not distclean.
1456         (distclean): Don't call realclean, since this would wipe out our
1457         autoloads file.
1458         (dist): Use correct path to autoloads file.
1460         * NEWS: Catch up with the latest changes.
1462         * experimental/Makefile (.PHONY): Wrap long line.
1464         * lisp/Makefile (distclean): Do the same thing as "clean", not
1465         "realclean".
1467         * lisp/muse-project.el (muse-project-get-applicable-style):
1468         Indentation tweak.
1469         (muse-project-ignore-regexp, muse-project-recurse-directory):
1470         Docfix.
1471         (muse-project-of-file): Try the ignored files regexp against the
1472         base filename as well as the entire path.
1474         * lisp/muse-publish.el (muse-publish-this-file): Display message
1475         if the buffer is not associated with any file, so that we avoid
1476         errors later on.
1477         (muse-publish-url-desc): New function taken from muse-publish-url
1478         that causes a URL description to be transformed.
1479         (muse-publish-url): Call muse-publish-url-desc on either the
1480         description or the original URL if it will be used as a
1481         description.  Accept the original URL as an argument, in case it
1482         was transformed earlier.
1483         (muse-publish-insert-url): Pass original URL as an argument.
1484         (muse-publish-markup-link): Make this somewhat easier to follow.
1485         Pass original URL as argument.
1486         (muse-publish-get-style): If the same style is used to publish to
1487         two different directories, prompt the user for which directory to
1488         use.
1489         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
1490         latest changes.
1491         (muse-publish-markup-url): Pass original URL as an argument.  This
1492         fixes the "nil" description for bare URLs that was in 3.02.91.
1493         Nothing like finding a bug just after completing the announcement
1494         of a release.
1496         * lisp/muse.el: Use defalias whenever convenient.
1497         (muse-version): Set version to 3.02.92 (3.03 RC2).
1499 2006-08-10  Michael Olson  <mwolson@gnu.org>
1501         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
1502         style does not derive from any other class, return `t' here.
1503         This, along with the corresponding change to muse-publish.el,
1504         fixes a problem with the table of contents getting inserted
1505         multiple times for custom html-based styles.
1506         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
1507         smarter method for table centering that works with XHTML.
1509         * lisp/muse-latex2png.el Rename all functions to have a
1510         "muse-latex2png" prefix.  Turn all variables into customizable
1511         options in the muse-latex2png group.
1512         (muse-latex2png-img-dest): New option specifying where to place
1513         the images.
1514         (muse-latex2png-template): New option containing the template to
1515         use for the surrounding LaTeX code.
1516         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
1517         compliance.
1518         (muse-latex2png-move2pubdir): Avoid multiple redundant error
1519         messages when something else goes wrong.  Create the image
1520         subdirectory if it doesn't exist already -- thanks to Christian
1521         Straßer for the report.  Expand the filename properly.
1522         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
1523         and filename expansion.
1524         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
1525         the default directory properly.
1527         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
1528         do not run the same function twice.
1530 2006-08-08  Michael Olson  <mwolson@gnu.org>
1532         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
1533         introduced wrong-type-argument error.
1535         * lisp/muse-html.el (muse-html-markup-strings)
1536         (muse-xhtml-markup-string): Cause table definition that contains
1537         image to be center-aligned.  This should fix an issue with images
1538         not being centered when captions are very long.
1540         * lisp/muse-publish.el (muse-publish-table-fields): Trim
1541         whitespace from fields once we have split them up.
1543         * lisp/muse.el (muse-trim-whitespace): New function that strips
1544         leading and trailing whitespace from a string.
1546 2006-08-07  Michael Olson  <mwolson@gnu.org>
1548         * NEWS: Update through patch-95.
1550         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
1551         to match the tags.
1552         (muse-colors-explicit-link): Show images in link descriptions if
1553         inlined images are enabled.
1555         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
1556         definitions for 'image-with-desc, 'image, and 'image-link.
1557         (muse-docbook-markup-paragraph): If an inlined image begins a
1558         paragraph, insert <para> before it.
1559         (muse-docbook-fixup-images): New function that upper-cases the
1560         "format" attribute of the <imagedata> tag.
1561         (muse-docbook-finalize-buffer): Call it.
1563         * lisp/muse-html.el (muse-html-markup-strings): Publish images
1564         with descriptions as centered tables, with a centered caption
1565         underneath.  The resulting look is consistent with the way that
1566         they are published in the LaTeX style.  Thanks to Jody Klymak for
1567         the suggestion.
1568         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
1569         valid way to center a table.
1570         (muse-html-markup-paragraph): Use class="image" instead of
1571         "image-link" for paragraphs that start with an embedded image.
1573         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
1574         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
1575         suggestion.
1576         (muse-latex-markup-specials-image): New option that enables
1577         escaping of specials in images.  This was split from the URL
1578         specials.
1579         (muse-latex-decide-specials): Handle 'image context.
1580         (muse-latex-fixup-dquotes): Go to beginning of document, instead
1581         of relying on caller to do this for us.
1583         * lisp/muse-publish.el (muse-publish-escape-specials): Document
1584         'image context.
1585         (muse-publish-url): Use 'image context for images.  Use 'image
1586         instead of 'image-link and 'image-link in place of
1587         'url-with-image.  Separate the image file from its extension so
1588         that docbook and texinfo can publish images correctly.
1589         (muse-publish-markup-link): Don't force a description if one is
1590         not given.  This fixes a bug where images without descriptions
1591         were being published as 'image-with-desc instead of 'image.
1593         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
1594         images the same as URLs.
1595         (muse-texinfo-markup-strings): Improve image markup to achieve an
1596         effect similar to that of the LaTeX publishing style.  Simplify
1597         'url string.
1599         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
1601         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
1602         when we have to use the custom version of this function.
1604         * muse.texi (Images): Explain how to toggle inlining of images and
1605         give better examples.  Mention captions and that captioned images
1606         should not be used inside of text paragraphs.
1607         (Markup Strings): Bring up-to-date with the changes made since
1608         3.02.
1610 2006-08-06  Michael Olson  <mwolson@gnu.org>
1612         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
1613         in the Emacs source tree.
1615         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
1616         in the Emacs source tree.
1618         * ChangeLog.3: New file created from the old ChangeLog.
1620         * Makefile.defs (VERSION): Set to 3.02.91.
1622         * NEWS: Update through patch-84.
1624         * lisp/muse.el (muse-version): Set to 3.02.91.
1626         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
1627         attributes.
1628         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
1629         delimiter are instead of hard-coding it.
1631         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
1632         (muse-mode): Make filling definition lists work better.  This
1633         should fix #5359.
1635         * lisp/muse-publish.el (muse-style-run-hooks): Use
1636         `muse-style-element' instead of `muse-get-keyword' here.  This
1637         should fix #6399.
1639         * muse.texi: Set version to 3.02.91 (3.02 RC2).
1641 See ChangeLog.3 for earlier changes.
1643 ;; Local Variables:
1644 ;; coding: utf-8
1645 ;; End: