Add forgotten ChangeLog entry for last change
[muse-el.git] / ChangeLog
blob30b1b47d34f705fa2c21eafc6fc00338b0fd32ef
1 2007-08-19  Michael Olson  <mwolson@gnu.org>
3         * examples/mwolson: Update my example settings.
5         * lisp/muse-html.el (muse-html-src-tag): Use
6         muse-delete-and-extract-region.
8         * lisp/muse-import-xml.el: Add require statement.
9         (muse-import-xml-parse-node): Use muse-replace-regexp-in-string.
11         * lisp/muse-protocols.el (muse-browse-url-man): Add require
12         statement.
13         (muse-browse-url-woman): Add require statement.
15         * lisp/muse-publish.el (muse-publish-surround-text): Fix serious
16         bug in definition list publishing.  We were skipping past the
17         initial indented line, and that was causing an erroneous
18         blockquote to be inserted.  This alone merits a new release.
20         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Fix bug with
21         XEmacs' return value for shell-command.
23         * lisp/muse.el (muse-delete-and-extract-region): New compatibility
24         function to deal with XEmacs' lack of the
25         delete-and-extract-region function.
27 2007-08-18  Michael Olson  <mwolson@gnu.org>
29         * AUTHORS: Update.
31         * lisp/muse-publish.el (muse-publish-include-tag): Switch from
32         copy-tree to copy-alist, since Emacs21 does not have the former,
33         and the latter does what we want.
35         * lisp/muse.el: Force-require 'derived, since Emacs21 does not
36         have derived-mode-p in subr.el like Emacs22 does.
38 2007-08-17  Michael Olson  <mwolson@gnu.org>
40         * etc/muse.rnc: Add the <cite> tag.
42         * lisp/muse-context.el (muse-context-slides-header): Clarify what
43         "mystyle" is.
45         * lisp/muse-xml.el (muse-xml-markup-strings): Mark up citations as
46         <cite type="something">.  We'll leave it to the post processing
47         tools to interpret that.
49         * texi/muse.texi (Directives, Blosxom Entries): Use @code{} for
50         directives.
51         (Citations): New section that explains further how to use the
52         <cite> tag.  The text was taken from Marcus Hoenicka's
53         documentation at http://refdb.sourceforge.net/muse.html and
54         modified.
55         (Tag Summary): Link to the Citations section in the entry for
56         <cite>.
57         (ConTeXt): Update the documentation for
58         muse-context-slides-header.
60 2007-08-17  Jean Magnan de Bornier  <jean@bornier.net>
62         * lisp/muse-context.el (muse-context-slides-header): Use #module
63         directive, if it is provided.
64         (muse-context-slides-header): Mention how to use #module.
66 2007-08-16  Michael Olson  <mwolson@gnu.org>
68         * Release Emacs Muse 3.10.
70         * Makefile (dist, debprepare): Pass HEAD argument to git-archive.
71         (upload): Don't depend on release rule.
73         * NEWS: Document remaining changes.
75 2007-08-15  Michael Olson  <mwolson@gnu.org>
77         * NEWS: Document items through 2007-08-12.
79         * lisp/muse-colors.el: Split the muse-directive-or-comment
80         property into two separate properties that are muse-directive and
81         muse-comment.
82         (muse-colors-region-end): Make buffer-local.
83         (muse-colors-delayed-commands): New variable that contains a list
84         of commands to run immediately after highlighting.  This is meant
85         to allow highlighting functions to delay code until later.
86         (muse-colors-region): Apply commands in
87         muse-colors-delayed-commands.
88         (muse-colors-inhibit-tags-in-directives): New variable that
89         determines whether tags are allowed in directives.
90         (muse-colors-custom-tags): Take
91         muse-colors-inhibit-tags-in-directives into account.
92         (muse-unhighlight-region): Remove muse-directive and muse-comment
93         properties.
94         (muse-colors-title): Modify muse-colors-delayed-commands.
95         (muse-colors-title-lisp): New command that gets called after
96         highlighting other things.  This interprets <lisp> tags, and is
97         passed arguments specifying the beginning and end of the region.
98         Thanks to Junichi Uekawa for the report.  The reason we want to do
99         things this way is because this is the behavior we get already
100         when publishing the page.
102         * lisp/muse.el (muse-goto-tag-end): Change to use muse-comment
103         property rather than muse-directive-or-comment.
105 2007-08-14  Michael Olson  <mwolson@gnu.org>
107         * lisp/muse-colors.el: Document all functions and variables.
108         (muse-colors-emphasized, muse-colors-underlined)
109         (muse-colors-verbatim, muse-colors-custom-tags)
110         (muse-colors-explicit-link, muse-colors-implicit-link): Don't trod
111         on comments or the #title directive.
112         (muse-colors-markup): Add comment rule.
113         (muse-colors-implicit-link): Only remove flyspell overlay after we
114         decide whether this is an implicit link, rather than before.
115         (muse-colors-title): Add the muse-directive-or-comment property.
116         (muse-colors-comment): New function that colorizes comments using
117         font-lock-comment-face.
118         (muse-colors-region-end): New variable indicating the end of the
119         region that is currently being font-locked.  This removes the need
120         for an ugly "defvar end" hack.
121         (muse-colors-emphasized, muse-colors-underlined)
122         (muse-colors-verbatim): Use it.
123         (muse-colors-region): Let-bind it.
125         * lisp/muse-mode.el (muse-list-edit-minor-mode): Grammar fix in
126         docstring.
128         * lisp/muse-publish.el (muse-publish-markup-heading): Escape
129         specials in heading now, rather than waiting on the whole-document
130         pass later on.  This lets <contents> generation work without
131         validation errors.  Thanks to Reid van Melle for the report.
133         * texi/muse.texi (Tag Summary): Document <cite> tag.
134         (Miscellaneous): New chapter containing "Muse List Edit Minor
135         Mode" section.
136         (Muse List Edit Minor Mode): New section that documents
137         muse-list-edit-minor-mode.
138         (Development): Mention the MuseDevlopment page on emacswiki.org.
140         * lisp/muse.el (muse-goto-tag-end): Deal with case where we are
141         font-locking and the end or beginning of a tag is in a comment or
142         directive.
144 2007-08-12  Michael Olson  <mwolson@gnu.org>
146         * lisp/muse-html.el (muse-html-strip-links): New function that
147         strips HTML links from a string.
148         (muse-html-insert-contents): Use it, instead of
149         muse-publish-strip-tags.  This fixes a bug reported by Xin Shi
150         involving the use of <sup> in section titles.
152         * lisp/muse-project.el (muse-project-resolve-directory): New
153         function that figures out the directory part of the path that
154         provides a link to a page.
155         (muse-project-resolve-link): Expand docstring.  Use the new
156         function.  Don't call muse-publish-link-file, because that does
157         the wrong thing when we have muse-file-extension set to nil.
158         Thanks to Sebastian Obermanns for the report.
159         (muse-project-publish-this-file): Let-bind muse-current-project.
160         Also, if the file is not associated with a project, fall back to
161         muse-publish-this-file.
162         (muse-project-set-variables): Add this to
163         muse-before-publish-hook, so that it gets called.  This fixes a
164         bug where project-specific variables were being used in Muse mode,
165         but ignored when publishing.
167         * lisp/muse-publish.el (muse-publish-link-name)
168         (muse-publish-link-file, muse-publish-link-page): Add docstrings
169         so that I can remember what each of these things do.
170         (muse-publish-strip-tags): Remove, since it is no longer used.
171         (muse-publish-cite-tag): Don't let-bind
172         muse-publishing-directives, because there is no need to do so.
173         Fix code indentation.
174         (muse-publish-markup-attribute): Avoid multiple evaluation of
175         attrs argument, in case it is list value instead of a symbol.  Use
176         sexp instead of form in the edebug-form-spec.
177         (muse-publish-include-tag): Make a full copy of
178         muse-publishing-directives, since it can be modified with setcdr.
179         This fixes a bug where #title and some other directives were
180         leaking out of an included region.
181         (muse-publish-mark-up-tag): Don't let-bind
182         muse-publishing-directives, because there is no need to do so.
184         * lisp/muse.el (muse-page-name): Improve docstring.
186         * texi/muse.texi (Development): Mention the http method for
187         anonymous git access to the shared repo.
189 2007-08-10  Michael Olson  <mwolson@gnu.org>
191         * Makefile (dist, debprepare): Use git instead of tla.
193         * contrib/httpd.el (httpd-send-file): Use insert-file-contents.
195         * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
196         Use muse-insert-file-contents.
198         * experimental/muse-split.el (muse-publish-file)
199         (muse-publish-presplit-publish, muse-publish-no-split-function)
200         (muse-journal-split-by-entry, muse-journal-split-by-month): Use
201         muse-insert-file-contents.
203         * lisp/muse-book.el (muse-book-publish-chapter)
204         (muse-book-get-directives): Use muse-insert-file-contents.
206         * lisp/muse-http.el (muse-http-render-page): Use
207         muse-insert-file-contents.
209         * lisp/muse-poem.el (muse-poem-markup-tag): Use
210         muse-insert-file-contents.
212         * lisp/muse-publish.el (muse-insert-file-or-string)
213         (muse-publish-file, muse-publish-include-tag)
214         (muse-published-contents): Use muse-insert-file-contents.
216         * lisp/muse.el (muse-insert-file-contents): New function that
217         inserts a file with character code conversion, but none of the
218         other frivolities.  Since insert-file-contents-literally does not
219         do character code conversion, it is not suitable for us.
220         (muse-with-temp-buffer): Mention muse-insert-file-contents rather
221         than insert-file-contents-literally.
223 2007-08-09  Michael Olson  <mwolson@gnu.org>
225         * lisp/muse.el (muse-write-file): Pay attention to
226         coding-system-for-write and save-buffer-coding-system.  This
227         should fix a recently-introduced bug with writing Muse pages in
228         different coding systems.
230 2007-08-08  Michael Olson  <mwolson@gnu.org>
232         * README (Prerequisites): Fix typo.
233         (Compilation, Installation): Update.
234         (Documentation, Further Documentation): Update URLs.
235         (Further Documentation): Add quick blurb on how to participate in
236         Muse development or track changes.
238         * texi/muse.texi (Releases): Use gna.org URL for downloading the
239         latest release, rather than my website.
240         (Development): Change instructions to use git instead of
241         Arch. Mention where to get a Windows binary for git.  Improve the
242         look of the listing.  Add section with instructions for Becoming a
243         Muse developer.
244         (Installation): Update instructions for Makefile.defs.default and
245         XEmacs.  Add index entries.  Add section for ELPA, since Muse
246         ought to be distributed in ELPA after the 3.10 release.  Fix typo
247         and clarify wording.
249 2007-08-06  Michael Olson  <mwolson@gnu.org>
251         * texi/muse.texi: Make sure that attributes are marked up with
252         @option{} rather than @code{} or @samp{} for consistency.
253         (Journal): Add "muse-project-alist-considerations" subheading,
254         along with a mention of :base-url.
256 2007-08-05  Michael Olson  <mwolson@gnu.org>
258         * .gitignore: Add texi/muse.html and the DVC log edit file.
260         * Makefile.defs.default (install_info): Rename from INSTALLINFO.
261         Turn this into something that can be called like a command, due to
262         needing to deal with XEmacs, which has different argument order.
263         Thanks to Terrence Brannon for the report.
265         * lisp/muse-project.el (muse-project-of-file): Simplify by using
266         catch, throw, and dolist.  Look for exact matches before
267         considering any subdirectories.  If no exact matches are found,
268         then pick the longest match.
270         * lisp/muse.el (muse-sort-by-rating): Mention default test in
271         documentation.
273         * scripts/muse-build.el: Avoid interference from VC.el in the
274         build process.
276         * texi/Makefile (install): Call install_info.
278 2007-08-03  Michael Olson  <mwolson@gnu.org>
280         * lisp/muse-project.el (muse-project-applicable-styles): Remove
281         useless argument ignore-regexp.  Use saner logic.  This fixes a
282         bug where a file could potentially not exist but still appear in
283         the used-styles list.  Thanks to John Wiegley for the fix.
284         (muse-project-publish-file): Don't take ignore-reegxp argument.
286 2007-08-02  Michael Olson  <mwolson@gnu.org>
288         * lisp/muse-publish.el (muse-batch-publish-files): Don't activate
289         VC when publishing files in batch.  This avoids some annoying
290         messages when building QuickStart in the examples directory.
292         * lisp/muse-mode.el (muse-mode): Don't try to indent line before
293         inserting a comment.
295 2007-07-31  Michael Olson  <mwolson@gnu.org>
297         * lisp/Makefile: Add dependencies between Emacs Lisp files, so
298         that Muse can be recompiled without running "make clean" after an
299         update.
301         * lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
302         delete forward one character, since we are guaranteed to be on a
303         blank line.  Don't delete all initial whitespace of the first
304         line.  This fixes an issue where the output from the verse tag did
305         not match the output from Muse's verse syntax.
307 2007-07-29  Michael Olson  <mwolson@gnu.org>
309         * Relicense to GPLv3.
311         * Makefile.defs.default: Rename from Makefile.defs.  This allows
312         people to copy this file to Makefile.defs and make changes,
313         without having the changes be accidentally committed.  If
314         Makefile.defs does not exist, this file is read instead, in order
315         to minimize inconvenience to the casual user.
317         * Makefile, contrib/Makefile, examples/Makefile,
318         experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
319         Makefile.defs.default or Makefile.defs.
321         * lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
322         function names.
323         (muse-l-e-m-m-insert-list-item): Add real documentation.
324         (muse-l-e-m-m-increase-list-item-indent)
325         (muse-l-e-m-m-decrease-list-item-indent): Rename for clarity.  Add
326         real documentation.
327         (muse-list-edit-minor-mode): Improve documentation.
329         * texi/doclicense.texi (GNU Free Documentation License): Use
330         pristine copy from Emacs source tree.
332         * texi/muse.texi (Contributors): Move node and appendix indicators
333         here, rather than doclicense.texi.
335 2007-07-29  Jean Magnan de Bornier  <jean@bornier.net>
337         * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
338         command which did not work correctly
340         * lisp/muse-context.el (muse-context-markup-strings): Change rule
341         command which did not work correctly; defined verse commands
342         (muse-context-markup-specials-literal): Eliminate all unuseful entries
344 2007-07-29  Michael Olson  <mwolson@gnu.org>
346         * contrib/httpd.el (httpd-send-file): Use
347         insert-file-contents-literally instead of insert-file-contents.
349         * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
350         Use insert-file-contents-literally instead of
351         insert-file-contents.
353         * experimental/muse-split.el (muse-publish-file)
354         (muse-publish-presplit-publish, muse-publish-no-split-function)
355         (muse-journal-split-by-entry, muse-journal-split-by-month): Use
356         insert-file-contents-literally instead of insert-file-contents.
358         * lisp/muse-book.el (muse-book-publish-chapter)
359         (muse-book-get-directives): Use insert-file-contents-literally
360         instead of insert-file-contents.
362         * lisp/muse-http.el (muse-http-render-page): Use
363         insert-file-contents-literally instead of insert-file-contents.
365         * lisp/muse-import-latex.el (muse-import-latex): Set marker to
366         nowhere when done, since they can slow things down.
368         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
369         marker to nowhere when done, since they can slow things down.
371         * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
372         when done, since they can slow things down.  Use
373         insert-file-contents-literally instead of insert-file-contents.
375         * lisp/muse-publish.el (muse-publish-markup-tag)
376         (muse-publish-markup-word, muse-publish-markup-footnote)
377         (muse-publish-call-tag-on-buffer): Set markers to nowhere when
378         done, since they can slow things down.
379         (muse-insert-file-or-string, muse-publish-file)
380         (muse-publish-include-tag, muse-published-contents): Use
381         insert-file-contents-literally instead of insert-file-contents.
382         (muse-publish-surround-dl): Remove unused variable.  Track whether
383         a term has been found, and handle that case well.
384         (muse-publish-ensure-blank-line): Use a marker, so that we don't
385         lose our place when adding a newline.  This really fixes the
386         definition list item bug.
387         (muse-publish-markup-list): Since people do seem to want
388         definition lists with no terms, allow this.
389         (muse-batch-publish-files): Set muse-current-output-style.
391         * lisp/muse.el (muse-with-temp-buffer): Mention
392         `insert-file-contents-literally'.
394 2007-07-28  Michael Olson  <mwolson@gnu.org>
396         * lisp/muse-mode.el (muse-browse-result): Set
397         muse-current-output-style.
398         (muse-mode): Don't duplicate the paragraph-start regexp
399         unnecessarily.
400         (muse-list-edit-minor-mode-map): New variable containing the
401         keymap for Muse list edit minor mode.
402         (muse-l-e-m-m-list-item-regexp): New variable that matches list
403         items for Muse list edit minor mode.
404         (muse-l-e-m-m-insert-list-item,
405         muse-l-e-m-m-i-list-item-indentation)
406         (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
407         item functions that change the list item regexp before calling the
408         existing function.
409         (muse-l-e-m-m-data): New variable that keeps track of the fill
410         data that we overwrite when activating Muse list edit minor mode,
411         so that we can restore it if the minor mode is toggled off.
412         (muse-list-edit-minor-mode): New minor mode that is useful for
413         editing lists in other major modes.
414         (turn-on-muse-list-edit-minor-mode)
415         (turn-off-muse-list-edit-minor-mode): New interactive functions
416         that turn Muse list edit minor mode on and off, respectively.
417         (muse-on-blank-line, muse-get-paragraph-start): Simplify some
418         regexps.
420         * lisp/muse-project.el (muse-project-publish-this-file): Set
421         muse-current-output-style.  This fixes a bug when publishing to a
422         style that is not first in the list of styles.  Thanks to Jean
423         Magnan de Bornier for the report.
425         * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
426         function that ensures that a blank line exists in the line before
427         point.
428         (muse-publish-markup-list): Use it, rather than
429         `muse-publish-ensure-block'.  This fixes a bug with definition
430         list publishing.  Thanks to meandtheshell for reporting this.
432         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
433         project argument is nil, default to the current project instead of
434         the first project entry in muse-project-alist.  This seems much
435         more sane to me.
437         * lisp/muse.el (muse-forward-list-item): Only check the 'face
438         property if we are in Muse mode or one of its derivatives.  This
439         allows movement on nested lists to work in other modes, and fixes
440         an issue with altering list indentation in
441         muse-list-edit-minor-mode.
443 2007-07-27  Michael Olson  <mwolson@gnu.org>
445         * AUTHORS: Add new authors.
447         * README: Permit Muse to be called "Emacs-Muse".
449         * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
451         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
452         involving list items that have an extra blank line in front.
454         * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
455         and Emacs-Muse are the same thing.
457 2007-07-27  Jean Magnan de Bornier  <jean@bornier.net>
459         * lisp/muse-context.el (muse-context-header): Put
460         starttext after the modules who must be in preamble.
461         (muse-context-markup-strings): Fixed mistake in begin-example and
462         end-example.
464         * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
465         math environment in ConTeXt when centered: "$$ $$" has to be
466         "\startformula \stopformula".
468 2007-07-26  Michael Olson  <mwolson@gnu.org>
470         * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
471         parentheses in URLs.
473 2007-07-24  Michael Olson  <mwolson@gnu.org>
475         * examples/QuickStart.muse (Images): Fix typo where some text
476         existed in the output but not in the example region.
477         (Source Code): Fix another typo.  Explain that publishing from
478         console or X can make a difference.
480         * lisp/muse-context.el (muse-context-pdf-program): New option that
481         determines the program to use for generating PDF files for
482         ConTeXt.
483         (muse-context-pdf-cruft): New option that specifies the extensions
484         of files to remove after generating PDF output successfully.
485         (muse-context-slides-header): Docfix.
486         (muse-context-pdf-generate): Use new options.
488         * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
489         save-restriction call.  This was causing a world of hurt when
490         using <lisp> inside of <include>.
492         * texi/muse.texi (ConTeXt): New section that documents how to use
493         the ConTeXt publishing styles.
495 2007-07-23  Michael Olson  <mwolson@gnu.org>
497         * lisp/muse-context.el: New file that provides support for
498         publishing documents to the ConTeXt format.  Thanks to Jean Magnan
499         de Bornier for his work on this.
501         * lisp/muse-docbook.el (muse-docbook-entities)
502         (muse-docbook-bibliography): Remove unneeded save-restriction use.
504         * lisp/muse-latex2png.el (muse-publish-latex-tag):
505         s/contex/context/.
507         * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
508         (muse-latex-bibliography): Remove call to `widen', since it is not
509         needed anymore.  Remove unneeded save-restriction use.
510         ("slides", "slides-pdf"): Indent elements uniformly.
512 2007-07-22  Michael Olson  <mwolson@gnu.org>
514         * lisp/muse-blosxom.el (muse-blosxom-new-entry):
515         * lisp/muse-mode.el (muse-insert-tag):
516         * lisp/muse-project.el (muse-read-project)
517         (muse-read-project-file):
518         * lisp/muse-publish.el (muse-publish-get-style): Use
519         muse-completing-read-function.
521         * lisp/muse-latex2png.el (muse-publish-latex-tag)
522         (muse-publish-math-tag): Allow the context style -- which I plan
523         to include soon -- to work with these tags.
525         * lisp/muse.el (muse-completing-read-function): New option that
526         determines which function to call when doing a completing-read.
528 2007-07-15  Michael Olson  <mwolson@gnu.org>
530         * lisp/muse-journal.el (muse-journal-html-entry-template)
531         (muse-journal-rdf-entry-template)
532         (muse-journal-rss-entry-template): Mention that this can be text
533         or a filename.
534         (muse-journal-rdf-entry-template, muse-journal-rss-header)
535         (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
536         newlines to make the output look nicer.
537         (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
538         Use muse-insert-file-or-string for the entry templates, rather
539         than muse-insert-markup.  This allows <lisp> and <markup> tags to
540         be acted on.  Thanks to Scott Hyde for the report.
541         (muse-journal-html-munge-buffer): Escape quote of the day using
542         entire-document specials before snarfing it.  Mark entire template
543         as read-only -- this fixes an incorrect escaping bug.  Remove
544         read-only properties before replacing template matches so that
545         they can still be escaped with entire-document specials later on.
546         (muse-journal-rss-munge-buffer): Make sure that title is escaped
547         properly.
548         (muse-journal-markup-tags): Rename from
549         muse-journal-latex-markup-tags, because we will use it for
550         journal-rss-entry as well.
551         (muse-journal-qotd-tag): Move higher.  Use begin-quote-item and
552         end-quote-item.
553         (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
554         html.
555         ("journal-latex", "journal-pdf", "journal-book-latex")
556         ("journal-book-pdf"): Use muse-journal-markup-tags rather than
557         muse-journal-latex-markup-tags.
558         ("journal-rss-entry"): New style that is used by journal-rss and
559         journal-rdf to mark up individual entries.  It is needed so that
560         we can do something meaningful with the qotd tag.
561         (muse-journal-rdf-summarize-entries): Set this to nil by default,
562         because it is annoying.  Update docs to mention this.
563         (muse-journal-rss-summarize-entries): Docfix.
565         * lisp/muse-publish.el (muse-insert-file-or-string): Use
566         muse-publish-markup-header-footer-tags.  I'm not quite sure how
567         this change got reverted.
568         (muse-markup-tag-info): Make into a function.  Move common code
569         here, rather than duplicating it in two places.  Deal with case
570         where muse-publish-use-header-footer-tags is non-nil.
571         (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
572         (muse-inhibit-style-tags): Move higher to avoid byte-compiler
573         warning.
574         (muse-publish-use-header-footer-tags): New variable that indicates
575         whether we should use just the header and footer tags, rather than
576         the full set.
577         (muse-insert-file-or-string): Bind
578         muse-publish-use-header-footer-tags to t.
579         (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
580         Simplify call to muse-markup-tag-info.
581         (muse-publish-mark-up-tag): Bind
582         muse-publish-use-header-footer-tags to nil.
584         * texi/muse.texi (Journal): Update for recent changes.
586 2007-07-14  Michael Olson  <mwolson@gnu.org>
588         * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
589         delete the remainder of the buffer, since this causes the
590         resulting RDF to have invalid syntax.  Thanks to Phillip Lord for
591         the report and the suggested fix.
593         * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
594         beginning of table-el regexp.  This fixes a bug where Muse stalls
595         when trying to publish a malformed table.  Thanks to Ye Wenbin for
596         the report and the suggested fix.
598 2007-07-12  Michael Olson  <mwolson@gnu.org>
600         * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
601         default, rather than the empty string.  This really fixes the bug
602         that occurred when using Muse with muse-project-alist set to nil.
603         Thanks to Jonathan Underwood for the report.
604         (muse-wiki-update-interwiki-regexp): Set
605         muse-wiki-interwiki-regexp to nil if muse-project-alist is not
606         defined.
607         (muse-wiki-handle-implicit-interwiki)
608         (muse-wiki-handle-explicit-interwiki): Handle case where
609         muse-wiki-interwiki-regexp is nil.
611 2007-07-10  Michael Olson  <mwolson@gnu.org>
613         * lisp/muse-mode.el (muse-grep): Abort search if the current
614         project contains no directories.
616         * lisp/muse-project.el (muse-project-file-alist): If
617         muse-project-alist is not defined, or project is nil, return nil
618         right away.  This ought to fix a bug that occurred when using Muse
619         with muse-project-alist set to nil.
620         (muse-project-of-file): Make sure muse-project-alist is not nil.
621         (muse-project-save-buffers): Make sure project is not nil.
623         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
624         case where muse-project-alist is nil.
626         * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
627         for XEmacs, since color-theme.el is poorly behaved, and defines
628         its own replace-in-string.  Bad color-theme.el -- no cookie for
629         you.
631 2007-07-01  Michael Olson  <mwolson@gnu.org>
633         * Makefile (.PHONY): Update for new debian package rules.
635         * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
637         * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
638         Use save-restriction properly.
639         (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
641         * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
642         (muse-latex-fixup-citations): Re-indent.  Use save-restriction
643         properly.
644         (muse-latex-bibliography): Re-indent.
646         * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
647         higher.  This fixes an error at startup with some versions of
648         Emacs.
649         (muse-publish-cite-tag): Re-indent.
651         * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
652         to the end of the link part, so as to exclude the description from
653         the match.  This fixes a bug with three-part links that have
654         descriptions.  Thanks to everyone who pointed it out.
656 2007-06-18  Michael Olson  <mwolson@gnu.org>
658         * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
659         (muse-xhtml1.1-markup-strings): New option that specifies XHTML
660         1.1 specific markup strings.
661         (muse-html-insert-anchor): Use 'anchor string, rather than
662         hard-coding it.  Thanks to Chris Corsair for the suggestion.
663         ("xhtml1.0"): New style that is an alias for the xhtml style.
664         ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
666 2007-06-17  Michael Olson  <mwolson@gnu.org>
668         * examples/QuickStart.muse: Make images local so that the Info
669         version of this document works.  Add <example> for the Literal
670         paragraphs chapter, so that it is clear what is happening.
672         * Makefile: Add elpa target, which is used for building an ELPA
673         package for Muse.
675         * Makefile.defs (ELPADIR, ELPADESC): New variables used for
676         building ELPA packages.
678         * examples/Makefile (%.html, %.pdf, %.info): Add message to
679         indicate what we are publishing.
680         (realclean distclean fullclean): Remove all TeX crud.
682         * examples/emacs-muse.png, examples/muse-made-with.png: Include so
683         that the Info version of QuickStart can publish correctly.
685         * lisp/muse-latex.el (muse-latex-slides-header)
686         (muse-latex-lecture-notes-header): Docfix.
688         * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
689         the list of things to ignore.
691         * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
692         variable.
694         * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
695         default to nil, since texinfmt.el is a serious nuisance.
696         (muse-texinfo-markup-strings): Add newlines to begin-example and
697         end-example.
698         (muse-texinfo-decide-specials): Also escape URL-type specials in a
699         whole slew of other contexts.
701         * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
702         muse-xml.
704         * lisp/muse-xml.el (muse-xml-footer): Docfix.
706         * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
708 2007-06-16  Michael Olson  <mwolson@gnu.org>
710         * etc/IDEAS.muse: Add some ideas from David D. Smith.
712         * examples/QuickStart.muse: Overhaul.
714         * lisp/muse-project.el (muse-project): Call the last part of a
715         muse-project-alist entry "Output styles" rather than "styles".
717         * lisp/muse-publish.el (muse-publish-table-fields): Handle case
718         where we have a pipe character at the beginning of line.
720         * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
721         causing tables to not be sorted at all.
723         * texi/muse.texi: Overhaul.  It would be too time-consuming to
724         list all of the changes here.  The "Getting Started" and
725         "Projects" chapters, in particular, were heavily revised.
727 2007-06-15  Michael Olson  <mwolson@gnu.org>
729         * NEWS: Update.
731         * examples/QuickStart.muse: Mention new features.
733         * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
734         Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
735         terminal, and C-c TAB is more important.  Most people will not
736         want to toggle images on and off that often.
738         * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
739         C-i as well, so that it works in the terminal.
741         * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
742         look a bit tidier when removing the region.
744         * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
745         list regexp part before other parts.
746         (muse-ol-item-regexp): New regexp that specifies how to match an
747         ordered list item.
748         (muse-ul-item-regexp): New regexp that specifies how to match an
749         unordered list item.
750         (muse-table-field-regexp): New regexp that specifies how to match
751         a definition list entry.
753         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
754         lack of support for @headitem in texinfmt.el.
756         * lisp/muse.el: Wrap muse-line-beginning-position and
757         muse-line-end-position in `eval-and-compile', since they are now
758         used in muse.el.
759         (muse-list-item-type): Use a simpler algorithm for detecting which
760         kind of list item we have.  This fixes a bug where a number in a
761         definition list term was being detected incorrectly as an ordered
762         list item.  Fixes bug #6250.
763         (muse-forward-list-item): Get the entire line with the list item.
764         For some reason, Emacs 21 was not populating match 2 correctly,
765         unlike Emacs 22, so this workaround was needed.
767         * texi/muse.texi: (Keystroke Summary): Remove C-c
768         C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
769         alternative keybinding to the C-c TAB stuff.  Mention
770         muse-colors-toggle-inline-images.
772 2007-06-14  Michael Olson  <mwolson@gnu.org>
774         * README: Mention that RelaxNG schema is in etc/ directory.
776         * etc/emacs-wiki-migration.txt: New document that explains how to
777         migrate from emacs-wiki to Muse.
779         * etc/muse.rnc: Increment version number to 1.0.  Fix several
780         nested emphasis and nested lists edge cases.  Move here from
781         examples/.
783         * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
784         same thing as C-c C-S-t, since the former works better in the
785         console.  Thanks to Leo for the suggestion.
787         * lisp/muse-publish.el (muse-publish-markup-table)
788         (muse-publish-markup-table-el): Include a newline in the return
789         string, so that paragraph detection does not get confused.
791         * lisp/muse.el (muse-with-temp-buffer): Docfix.
793         * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
794         keybinding.
796 2007-06-13  Michael Olson  <mwolson@gnu.org>
798         * etc/IDEAS.muse: Mark three-part-links item as done.
800         * experimental/muse-message.el: Remove guard for muse-define-style
801         calls.
803         * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
804         markup rules were being interpreted in reverse order.  This should
805         make implicit interwiki links work properly again.
806         (muse-link-face): Strip anchor from end of a path, so that this
807         works with anchors in interwiki links.
808         (muse-colors-insert-image): Catch error that occurs in Emacs 21
809         when an image does not exist.
811         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
812         anchors.
813         (muse-wiki-handle-implicit-interwiki): Docfix.  Make anchors in
814         interwiki links work.  Thanks to Jim Ottaway for the initial
815         implementation.
816         (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
817         links work.
819         * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
820         about match 0.
821         (muse-handle-explicit-link): Docfix: this does not modify the
822         match data.
823         (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
824         that has the regexp in its car.
826 2007-06-12  Michael Olson  <mwolson@gnu.org>
828         * README: Document new etc/ directory.
830         * etc/IDEAS.muse: Install things from new contributors just after
831         the 3.03 release, since I won't have time to review the code
832         before the release.  Move to new etc/ directory.  Slides
833         publishing has been installed.
835         * lisp/muse-latex.el (muse-latex-slides-header): New option that
836         determines the header to use for publishing slides.
837         (muse-latex-lecture-notes-header): New option that determines the
838         header to use for publishing lecture notes.
839         (muse-latex-slides-markup-tags): New option containing tags to use
840         when publishing slides.
841         (muse-latex-permit-contents-tag): Move higher in file.
842         (muse-latex-slide-tag): New function to publish the <slide> tag.
843         ("slides", "slides-pdf"): New publishing styles that create slides
844         using Beamer.
845         ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
846         create lecture notes using Beamer.
848         * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
849         since otherwise Planner is not happy when `plan' is called during
850         init.  Remove stray quote from autoload snippet.
852 2007-06-11  Michael Olson  <mwolson@gnu.org>
854         * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
855         autoload, rather than having it exist at top-level.  Thanks to Leo
856         for the suggestion.
857         (muse-update-file-extension): Docfix.
859 2007-06-10  Michael Olson  <mwolson@gnu.org>
861         * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
862         URLs were being removed during publishing.  Thanks to everyone who
863         reported this.
865 2007-06-09  Markus Hoenicka <markus.hoenicka@mhoenicka.de>
867         * lisp/muse-book.el
868         * lisp/muse-docbook.el
869         * lisp/muse-latex.el
870         * lisp/muse-publish.el: added support for <cite> element which
871         denotes in-text citations
873         * lisp/muse-html.el
874         * lisp/muse-groff.el
875         * lisp/muse-texinfo.el
876         * lisp/muse-xml.el: added support for <cite> element (stub)
878 2007-06-06  Michael Olson  <mwolson@gnu.org>
880         * lisp/muse-regexps.el (muse-table-line-regexp)
881         (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
882         regexps so that they work with XEmacs 21.  Thanks to Adrian
883         Tritschler for the report.
885         * texi/muse.texi: Update copyright years.
886         (HTML): Document muse-xhtml-style-sheet.  Thanks
887         to thorne for noticing.
888         (Development): Change archive year to 2006.  Thanks to Adrian
889         Tritschler for noticing.  So *that's* why some people had the 2005
890         version ....
892 2007-06-05  Michael Olson  <mwolson@gnu.org>
894         * Makefile (install-info): Remove $(MANUAL).info part, since this
895         is taken care of already by texi/Makefile.  Thanks to Leo for the
896         report.
898         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
899         read-only properties to qotd contents, so that they don't get
900         double-escaped.  Thanks to Leo for the report.
902 2007-06-04  Michael Olson  <mwolson@gnu.org>
904         * lisp/muse-colors.el (muse-link-face): If the link is to a remote
905         -- that is, Tramp or ange-ftp -- file, then do not call
906         file-exists-p on it.  Thanks to Jim Ottaway for the suggestion.
907         Fixes bug #5115.
909         * lisp/muse-html.el (muse-html-insert-contents): Add
910         documentation.  Handle case where heading is read-only, but has
911         muse-contents property.  Remove the muse-contents property for any
912         heading we come across so as to avoid double-including an item in
913         an outer table of contents.
914         (muse-html-denote-headings): New function that denotes whether a
915         heading is not read-only by adding the muse-contents property to
916         it.
917         (muse-html-munge-buffer): If we are not to generate contents,
918         still denote headings, in case some outer layer wants to generate
919         contents for our headings.  This should fix a bug with table of
920         contents and the <include> tag.  Thanks to thorne for the report.
922         * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
923         muse-publish-generate-contents and set it to nil.  This should
924         do the right thing when using <include> tags.
926 2007-06-02  Michael Olson  <mwolson@gnu.org>
928         * NEWS: Update for non-inlined image change and support for
929         table.el style tables.
931         * examples/Makefile (clean): Clean backup files.
933         * examples/QuickStart.muse (Images): New section that describes
934         how to inline and not inline images.
936         * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
937         touch images that have "URL:" in front of them.
939         * lisp/muse-protocols.el (muse-url-protocols): Add handler for
940         "URL:".  Use the identity function to resolve, since we don't want
941         to rip "URL:" out while publishing, due to some magic that depends
942         on that text.
943         (muse-browse-url-url): New function that browses URLs that have
944         "URL:" in front of them, by removing the "URL:" part and
945         reprocessing the remainder.
947         * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
948         (muse-publish-url): Recognize images in the description before
949         images in the link.  Fixes bug #5112.  Thanks to Thomas Kappler
950         for the suggested workaround.
951         (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
952         default value.
953         (muse-publish-classify-url): If target begins with "URL:" return
954         type url.
955         (muse-publish-strip-URL): New function that strips "URL:" from the
956         beginning of a string.  This is used to remove URL: from the link
957         description.  * texi/muse.texi (Markup Strings): Clarify the
958         meanings of image-link, link, and link-and-anchor.
959         (muse-publish-markup-regexps): Move normal table rule to 2350.
960         Rule 2300 is now a regexp that matches table.el-style tables.
961         (muse-publish-markup-functions): Add table-el entry.
962         (muse-publish-table-el-table): New function that given a variant,
963         publishes a table.el-style table using the table in the matched
964         region.
965         (muse-publish-markup-table-el): New function that determines
966         whether the table.el-style table can be published, and what
967         variant to use.
969         * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
970         the borders of table.el-style tables.
972         * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
973         the table has sufficient whitespace in front of it.
975         * texi/muse.texi (Images): Update for new non-inlined image
976         ability and provide example.
978 2007-05-31  Michael Olson  <mwolson@gnu.org>
980         * NEWS: Add example for setting `muse-html-table-attributes'.
982         * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
983         Publish multiple tbody tags if there is a horizontal separator
984         after the heading, because that is valid HTML after all.
986 2007-05-30  Michael Olson  <mwolson@gnu.org>
988         * NEWS: Update.
990         * lisp/muse-latex.el (muse-latex-markup-table): Deal with
991         horizontal separators in tables.
993         * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
994         horizontal separators in tables.
995         (muse-publish-trim-table): New function to remove initial and
996         final blank columns from a table.
997         (muse-publish-table-fields): Call `muse-publish-trim-table'.  Deal
998         with horizontal separators, aka "hlines".
1000         * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
1001         defines the syntax of a horizontal separator in a table.
1003         * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
1004         horizontal separators.  Publish header lines correctly.
1006         * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
1007         where we have nonnumbers as a row type.  This ignores sorting for
1008         hlines.
1009         (muse-xml-markup-table): Deal with horizontal separators.  If the
1010         markup supports table groups, make hlines separate table groups.
1011         Otherwise, ignore them, since they cannot be marked up.  Together,
1012         these changes allow us to support orgtbl-mode tables.  Thanks to
1013         Carsten Dominik for the suggestion.
1015 2007-05-26  Michael Olson  <mwolson@gnu.org>
1017         * lisp/muse-project.el (muse-project-alist-styles): Allow for
1018         other things to be added to each generated style as well.  For
1019         example, this permits me to add
1020         :base-url "http://blog.mwolson.org/"
1021         for my blog.
1023 2007-05-25  Michael Olson  <mwolson@gnu.org>
1025         * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
1026         way of building Debian packages that preserves the original
1027         release tarball and is more modular.
1028         (debrevision, debrelease): Remove.
1029         (dist): No need to remove the debian/ directory, since it is now
1030         in its own branch.
1031         (debprepare): Copy over debian/ directory properly.
1033         * NEWS: Update.
1035         * examples/Makefile (clean): Remove QuickStart.texi, in case
1036         something went wrong during the build.
1037         (%.pdf): Publish the example using the normal pdf style, rather
1038         than info-pdf.
1040         * examples/QuickStart.muse: Add myself to the authors list.
1042         * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
1043         sufficient blank lines before the tag.
1045         * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
1046         we have sufficient blank lines before the tag.
1048         * lisp/muse-latex.el (muse-latex-pdf-program): New option that
1049         specifies the program to call in order to generate PDF content
1050         from LaTeX content.
1051         (muse-latex-pdf-cruft): New option that specifies the extensions
1052         of files to remove after generating PDF output successfully.
1053         (muse-latex-pdf-generate): Use these new options.  Work around the
1054         annoying edge case where a tilde character exists in the filename
1055         or directory path -- now this can only error out when the relative
1056         path from the output file to the source file contains a tilde,
1057         which is far less likely.
1059         * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
1060         muse-publish-ensure-block here after all, because <lisp> et al may
1061         occur inline as part of other things.
1063         * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
1064         occur after full-document escaping, rather than before.  This
1065         prevents automatically-inserted Texinfo code from being escaped.
1066         (muse-texinfo-pdf-generate): Rewrite to call
1067         `muse-latex-pdf-generate' with pdftex as the generating binary,
1068         because texi2pdf suffers irredeemably from the tilde edge case
1069         mentioned above.
1071 2007-05-24  Michael Olson  <mwolson@gnu.org>
1073         * NEWS: Drop vague entries and position interesting entries closer
1074         to the top of each section.  Update for new changes.
1076         * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
1077         and bzr metadata directories to the list of things to ignore.
1079         * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
1080         `muse-publish-ensure-block-tag', since we will use it for more
1081         than just tags.
1082         (muse-publish-markup-list, muse-publish-verse-tag)
1083         (muse-publish-quote-tag, muse-publish-example-tag)
1084         (muse-publish-markup-attribute): Use it.  This fixes a bug that
1085         can occur when these types of markup occur immediately after a
1086         paragraph.  It's good to have defined behavior!
1088         * texi/muse.texi (Markup Strings): Mention new argument for
1089         link-and-anchor.
1091 2007-05-19  Michael Olson  <mwolson@gnu.org>
1093         * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
1094         published footnotes and footnote references.  Thanks to Scott
1095         Jaderholm for the idea.
1097         * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
1098         link-and-anchor, on the recommendation of the original submitter.
1100 2007-05-14  Michael Olson  <mwolson@gnu.org>
1102         * lisp/muse-latex.el (muse-latex-markup-strings): Use better
1103         link-and-anchor markup.  Thanks to Jean Magnan de Bornier for the
1104         suggestion.
1106         * lisp/muse-publish.el (muse-publish-url): Pass the url without a
1107         file extension as the fourth argument.
1109         * README, texi/muse.texi (Getting Help and Reporting Bugs):
1110         Mention the new muse-el-logs mailing list.
1112 2007-05-13  Michael Olson  <mwolson@gnu.org>
1114         * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
1115         "\`" here.  This fixes a problem with publishing custom URLs.
1117 2007-05-12  Michael Olson  <mwolson@gnu.org>
1119         * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
1120         update the list if the current buffer is associated with a file.
1121         This fixes a bug with M-x muse-publish-region in a temporary
1122         buffer.
1124 2007-05-01  Michael Olson  <mwolson@gnu.org>
1126         * lisp/muse-publish.el (muse-publish-region): Remove read-only
1127         properties from the published buffer, so that the results can be
1128         manually tweaked.
1130 2007-04-23  Michael Olson  <mwolson@gnu.org>
1132         * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
1133         find the footnote that goes with a reference, leave the reference
1134         as-is.  This fixes an error where control characters could be
1135         placed in a published document.
1137 2007-04-22  Michael Olson  <mwolson@gnu.org>
1139         * IDEAS.muse: Add muse-slides.el to list of things to include
1140         before release.
1142         * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
1143         character.
1144         (muse-protocol-find): Find protocols correctly.  Rewrite to use
1145         catch/throw.
1146         (muse-browse-url): Don't concatenate "\`" here.  Together, this
1147         fixes a bug with browsing woman:// links.
1149         * lisp/muse-project.el (muse-project-alist-styles): Deal with case
1150         where entry-dir has a trailing backslash.
1151         (muse-project-publish-file): If a style is malformed, skip it and
1152         display a warning message.  This should help people figure out
1153         where the problem is.
1155 2007-04-21  Michael Olson  <mwolson@gnu.org>
1157         * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
1158         yet-to-be-included "contex" publishing style, use "$$" rather
1159         than "\[" and "\]".  Thanks to Jean Magnan de Bornier for pointing
1160         this out.
1162 2007-04-20  Michael Olson  <mwolson@gnu.org>
1164         * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
1165         variable that causes the :before and :before-end hooks to be
1166         ignored when non-nil.
1167         (muse-publish-markup-region): Use it.  Also, guarantee that point
1168         is at end of region after publishing.
1169         (muse-publish-mark-up-tag): Simplify, taking advantage of the new
1170         variable.
1172 2007-04-19  Michael Olson  <mwolson@gnu.org>
1174         * IDEAS.muse: New file containing a list of ideas we have for new
1175         features, or patches that have yet to be applied.
1177         * README: Call it "Emacs Muse", not "the Emacs Muse".  No need to
1178         be so confusing.
1180         * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
1181         docstring.
1183         * lisp/muse-publish.el (muse-publish-markup-tags): Handle
1184         <literal> tags with muse-publish-literal-tag, rather than
1185         muse-publish-mark-read-only.
1186         (muse-publish-literal-tag): New function that publishes the
1187         <literal> tag.  It adds the ability to add the optional "style"
1188         and "exact" elements, which cause text to only be included if the
1189         current publishing style matches some criteria.  The text will be
1190         removed otherwise.  Thanks to Jim Ottaway for the implementation.
1191         (muse-publish-mark-up-tag): Let the <markup> tag take the
1192         additional optional elements "style" and "exact", with much the
1193         same effect as the <literal> improvements, but after calling
1194         "function" or publishing the region first.  Make it possible to
1195         put <content> tags in <markup> regions in HTML publishing.
1197 2007-04-12  Michael Olson  <mwolson@gnu.org>
1199         * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
1200         that a blank line always exists after a heading.  This fixes a bug
1201         in Docbook paragraph detection.  Thanks to Jean Magnan de Bornier
1202         for the report.
1204         * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
1205         detection regexp to that which is used in Docbook and HTML
1206         publishing styles.
1208 2007-04-02  Michael Olson  <mwolson@gnu.org>
1210         * README (muse-el-announce): Make a listing of mailing lists,
1211         rather than pointing to the old EmacsWikiMailingList page.  Thanks
1212         to Andreas Roehler for noticing.
1214 2007-04-01  Michael Olson  <mwolson@gnu.org>
1216         * lisp/muse-publish.el (muse-publish-date-format): Add
1217 `       customization type and group.
1218         (muse-publish-region): New interactive function that publishes a
1219         region to a new buffer.
1221         * texi/muse.texi: Use "document" rather than "manual".
1223 2007-03-31  Michael Olson  <mwolson@gnu.org>
1225         * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
1226         expression (muse-style-derived-p "latex" (muse-style "latex"))
1227         yielded nil.  It now yields t, as expected.  Thanks to Jim Ottaway
1228         for the catch.
1230 2007-02-25  Michael Olson  <mwolson@gnu.org>
1232         * lisp/muse-publish.el (muse-publish-date-format): New option that
1233         specifies how to format the date when publishing Muse pages.
1234         Thanks to Thomas Gehrlein for the suggestion.
1235         (muse-publish-markup-buffer): Use it.
1237 2007-02-23  Michael Olson  <mwolson@gnu.org>
1239         * README: Add Prerequisites section to mention which versions of
1240         Emacs work with Muse.  Thanks to Exal de Jesus Garcia Carrillo for
1241         the suggestion.  Update link destination for Muse's page on
1242         emacswiki.org.
1244 2007-02-15  Michael Olson  <mwolson@gnu.org>
1246         * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
1247         be not just at beginning of line.  This fixes an error with the
1248         <class> tag.  Thanks to Jim Pivarski for the report.
1250 2007-02-14  Michael Olson  <mwolson@gnu.org>
1252         * lisp/muse-publish.el (muse-publish-classify-url): Check to see
1253         whether something is an image before checking to see if it is a
1254         URL.  Thanks to ITSUMI ken-ichi for the report.
1256 2007-02-13  Michael Olson  <mwolson@gnu.org>
1258         * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
1259         comments that have no text better.  Thanks to fang.lungang for the
1260         report.
1261         (muse-publish-markup-comment): Deal with case where no comment
1262         text is provided.
1264 2007-01-23  Michael Olson  <mwolson@gnu.org>
1266         * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
1267         that ensures that at least one blank line exists at the given
1268         position.  This is used to avoid paragraph detection problems when
1269         block-level tags like <example> immediately follow a paragraph.
1270         Thanks to Hans Ekbrand for the report.
1271         (muse-publish-example-tag): Use it.
1273 2007-01-19  Michael Olson  <mwolson@gnu.org>
1275         * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
1276         previous blank line if we are publishing in Latex.  Otherwise,
1277         that wouldn't be the right thing, so leave it be.
1279 2007-01-17  Michael Olson  <mwolson@gnu.org>
1281         * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
1282         multiple centered math lines on the same line; keep them on
1283         different lines.  Use \[ math-text \] instead of $$math-text$$,
1284         since the latter seems to be deprecated.  Thanks to Jody Klymak
1285         for the pointer.
1287 2007-01-15  Michael Olson  <mwolson@gnu.org>
1289         * lisp/muse-latex2png.el (muse-publish-latex-tag)
1290         (muse-publish-math-tag): Publish region read-only when current
1291         style is Latex-derived, so that Muse does not escape it.
1292         (muse-publish-math-tag): If 6 or more spaces come before the tag,
1293         surround the region with "$$" rather than "$".  This is the Muse
1294         syntax for something centered, so it should be a good fit.
1296 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
1298         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
1299         protocol.
1300         (muse-browse-url-man): Change man page URL format.  The code is
1301         simpler when the section is left inside parentheses.
1302         (muse-browse-url-woman): New function.
1304 2007-01-14  Michael Olson  <mwolson@gnu.org>
1306         * AUTHORS: Bookkeeping.
1308         * lisp/muse-latex2png.el: Associate <math> tag with
1309         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
1310         Klymak for the report.
1311         (muse-publish-math-tag): Use muse-insert-markup for the "$"
1312         characters, so they don't get escaped.
1314         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
1315         make muse-style-derived-p easier to implement.
1316         (muse-style-derived-p): If the style is not provided, fetch it and
1317         check to see if the car is a string.  This should fix the other
1318         problem that was reported.
1320         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
1321         explains a case where setting muse-file-extension to nil can cause
1322         unexpected behavior.
1324 2007-01-09  Michael Olson  <mwolson@gnu.org>
1326         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1327         comments higher priority than tags.  Thanks to Stefan van der Walt
1328         for the report.
1330 2007-01-08  Michael Olson  <mwolson@gnu.org>
1332         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1333         argument rather than calling match-string.  Thanks to Stefan van
1334         der Walt for the report.  This should fix a bug with publishing
1335         <include file="..." markup="example">.
1337 2007-01-06  Michael Olson  <mwolson@gnu.org>
1339         * Makefile (debclean): New rule split from debrevision and
1340         debrelease.
1341         (debbuild): Take distributor into account.
1343         * Makefile.defs (DISTRIBUTOR): New field that tracks what
1344         vendor/distributor we are building for.
1346 2007-01-04  Michael Olson  <mwolson@gnu.org>
1348         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1349         line.
1351         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1352         point to muse-publish-src-tag by default, since <src> and
1353         <example> have different parameters.
1354         (muse-publish-src-tag): New barebones publishing function for
1355         <src>, which is superseded when publishing in an HTML-based style.
1357 2007-01-03  Michael Olson  <mwolson@gnu.org>
1359         * lisp/muse-html.el (muse-html-src-tag): Document.
1361         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1362         command that calls a given tag on the current buffer.  Attributes
1363         may be passed.
1364         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1365         it.
1366         (muse-publish-srcify-buffer): New function that allows
1367         markup="src" in the <include> tag.
1368         (muse-publish-get-and-delete-attr): New macro that gets an
1369         attribute from a list and removes the first instance of that
1370         attribute from said list.
1371         (muse-publish-markup-attribute): Handle markup="src".
1372         (muse-publish-command-tag, muse-publish-include-tag): Use
1373         muse-publish-get-and-delete-attr.  This allows the remaining
1374         attributes to be passed.
1376         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1377         as changes to <command> and <include>.
1379 2006-12-30  Michael Olson  <mwolson@gnu.org>
1381         * NEWS: Update.
1383         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1384         from muse-publish-math-tag to avoid conflict with
1385         muse-latex2png.el.
1387 2006-12-23  Michael Olson  <mwolson@gnu.org>
1389         * lisp/muse-latex2png.el: Update header, since this has been
1390         rewritten sufficiently to not need an assignment from the original
1391         author.
1392         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1393         (muse-latex2png): Use two underscores to separate prefix and hash.
1394         (muse-latex2png-region): New function split from
1395         muse-publish-latex-tag that can be used easily by other code.
1396         Detect whether we are using an HTML-based publishing style, and
1397         insert a simpler markup if we are not.  If we are using a
1398         Latex-based publishing style, do not generate an image, and leave
1399         the region alone.  Return the path of the generated image, in case
1400         other functions want to use this programmatically.
1401         (muse-publish-latex-tag): Set a default prefix based on the name
1402         of the current file.
1403         (muse-publish-math-tag): New tag that surrounds the region with
1404         "$" characters, so that it becomes a Latex math region, and then
1405         publishes it.
1407         * lisp/muse-publish.el (muse-style-derived-p): New function that
1408         returns non-nil if a given style, or the current style if omitted,
1409         is equal to or derived from the given base style.  This is useful
1410         in <lisp> tags, because it allows the user to specify markup that
1411         is only to be inserted for one particular style.
1413 2006-12-22  Michael Olson  <mwolson@gnu.org>
1415         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1416         (muse-html-src-tag): New function which publishes the <src> tag.
1417         Thanks to Clinton Ebadi and Charles Wang for the initial
1418         implementations.
1420         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1422 2006-12-21  Michael Olson  <mwolson@gnu.org>
1424         * examples/johnw/muse-johnw.el: Update for preferred
1425         muse-derive-style usage.  Rename to muse-init.el.
1427         * examples/mwolson/muse-init.el: Update.
1429         * lisp/muse-book.el (muse-book-publish): New function split from
1430         muse-book-publish-project.  This is used in the definitions for
1431         the book-latex and book-pdf styles.
1432         (muse-book-publish-p): New function split from muse-book-publish.
1433         (muse-book-get-directives): New function that retrieves the
1434         publishing directives from the given file.
1435         (muse-book-publish): Use muse-book-get-directives to set the title
1436         if no title was specified.
1438         * lisp/muse-project.el (muse-project): Add :publish-project entry
1439         to widget.
1440         (muse-read-project, muse-project-find-file): Message fix.
1441         (muse-project-publish-file-default): New function split from
1442         muse-project-publish-file.
1443         (muse-project-publish-file): Allow file-level publishing function
1444         to be specified by the :publish element.  The default is
1445         muse-project-publish-file-default.
1446         (muse-project-publish-default): New function split from
1447         muse-project-publish.
1448         (muse-project-publish): Allow project-level publishing function to
1449         be specified by :publish-project element.  The default is
1450         muse-project-publish-default.
1452         * lisp/muse-publish.el (muse-publish-file): Message fix.
1454         * texi/muse.texi (Book): Mention new way to publish books and
1455         provide an example, since the process may be non-obvious.
1457 2006-12-20  Michael Olson  <mwolson@gnu.org>
1459         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1460         content-modifying code from the rest of
1461         muse-docbook-finalize-buffer.
1463         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1464         muse-groff-finalize-buffer, since it adds content to the buffer.
1466         * lisp/muse-html.el (muse-html-munge-buffer): Split out
1467         content-modifying code from the rest of muse-html-finalize-buffer.
1468         This fixes a bug when using <include> with <content> tags.
1470         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1471         (muse-journal-latex-munge-buffer)
1472         (muse-journal-rss-munge-buffer): Rename, since they add content to
1473         the buffer.
1475         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1476         muse-latex-finalize-buffer, since it adds content to the buffer.
1478         * lisp/muse-mode.el:
1479         * lisp/muse-project.el:
1480         * lisp/muse-publish.el:
1481         * lisp/muse.el: Fix recursive load error.
1483         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1484         muse-texinfo-finalize-buffer, since it adds content to the buffer.
1486         * lisp/muse-wiki.el: Comment cleanup.
1488         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1490 2006-12-17  Michael Olson  <mwolson@gnu.org>
1492         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1493         Remove the definition of \comment, since Latex already has comment
1494         syntax.
1495         (muse-latex-markup-strings): Use the Latex comment syntax, rather
1496         than our own.  Thanks to Ryan Stutsman for pointing this out.
1498 2006-12-02  Michael Olson  <mwolson@gnu.org>
1500         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1501         that this can generate a proper table of contents for Planner HTML
1502         publishing.
1504 2006-12-01  Michael Olson  <mwolson@gnu.org>
1506         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1507         using a very old Emacs, avoid an infinite loop that could occur
1508         when the regexp is an empty string.
1510 2006-11-26  Michael Olson  <mwolson@gnu.org>
1512         * NEWS: Bring up to date.
1514         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1515         list issues and multiple-stanza verse issues.  This takes care of
1516         all of the markup issues I was worried about.
1518         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1519         (muse-project-publish-private-files): New option that indicates
1520         whether files with private filesystem permissions should be
1521         published.  The default is to publish them, since it avoids
1522         confusion in new users.
1523         (muse-project-private-p): Use it.
1525 2006-11-19  Michael Olson  <mwolson@gnu.org>
1527         * lisp/muse-project.el (muse-project-resolve-link): If no remote
1528         style is found, which means that the link is not a Muse page, do
1529         not add a suffix or prefix to it.  This should fix the
1530         "[[thing.owl]]" bug that Phillip Lord reported.
1532         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1533         removing unused 2nd argument.
1535 2006-11-17  Michael Olson  <mwolson@gnu.org>
1537         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1538         latex publishing where nested enumerated lists would be squashed
1539         together at the end.
1541 2006-11-16  Michael Olson  <mwolson@gnu.org>
1543         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1544         list embedded in a definition list look right.  This also allows
1545         for definitions to be separated from their terms, much like the
1546         way HTML does it by default, if the user puts a blank line or a
1547         line break between the term and the definition.  If the term and
1548         definition are on the same line, they will be that way in the
1549         output as well.
1551 2006-11-11  Michael Olson  <mwolson@gnu.org>
1553         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
1554         for the report.
1555         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1557 2006-11-07  Michael Olson  <mwolson@gnu.org>
1559         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1560         release candidate for Muse 3.03, available.
1562         * NEWS: Update.
1564 2006-11-06  Michael Olson  <mwolson@gnu.org>
1566         * lisp/muse-project.el (muse-project-find-file): Fix bug when
1567         following a relative link worked even when the path was incorrect.
1569 2006-11-04  John Sullivan  <john@wjsullivan.net>
1571         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1572         muse-follow-name-at-point to reduce collisions with other
1573         modes (Planner).
1575         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1577 2006-11-04  Michael Olson  <mwolson@gnu.org>
1579         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1580         optional, and make interwiki delimiter a regular rather than shy
1581         group.
1582         (muse-wiki-handle-implicit-interwiki): Rename from
1583         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
1584         (muse-wiki-handle-explicit-interwiki): New function that is
1585         smarter about where an explicit link ends in a buffer.  This
1586         allows you to refer to page names with invalid Wiki characters,
1587         such as underscores and dashes, merely by enclosing them in double
1588         brackets.  Also, a bug with recognizing project names too loosely
1589         has been fixed.
1591 2006-11-03  Michael Olson  <mwolson@gnu.org>
1593         * lisp/muse-project.el (muse-project-page-file): Make relative
1594         links work as expected, hopefully.
1596         * lisp/muse-publish.el (muse-publish-this-file): Set the current
1597         output style manually, since it will differ from anything in the
1598         publishing style list.
1600 2006-10-30  Michael Olson  <mwolson@gnu.org>
1602         * lisp/muse-colors.el (muse-colors-markup): Remove note about
1603         grouping elements, since that no longer applies.
1604         (muse-colors-custom-tags): Explicitly match against
1605         muse-tag-regexp to get the match-data set the way we want.  This
1606         really fixes the <example> highlighting bug that Stefan reported.
1607         (muse-configure-highlighting): Set the original value to the
1608         symbol, not the modified value.  Re-use modified rules properly.
1610         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1611         introduced yesterday.
1613 2006-10-29  Michael Olson  <mwolson@gnu.org>
1615         * examples/mwolson: Update my example configuration.
1617         * NEWS: Update.
1619         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1620         without a regexp in the first position before iterating through
1621         them to build muse-colors-vector.  This fixes a bug with the
1622         display of <example> tags.  Thanks to Stefan Reichör for the
1623         report.
1625         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1626         files in projects to be linked to.
1628         * lisp/muse-publish.el (muse-publish-url): Allow the original link
1629         to serve as a description for a URL, as long as it differs from
1630         the destination URL.  This fixes the description of WikPage links
1631         in PDF output.
1632         (muse-publish-link-file): Check to see whether the given link
1633         points at a valid file.  If so, return it.  Otherwise, apply other
1634         transforms like prefix and link suffix.
1636         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1637         "/", it is a file or directory, not a Muse page.  Thanks to
1638         Phillip Lord for the suggestion.
1640         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1641         of the current page as the local path, instead of duplicating the
1642         remote file's path.  This probably fixes at least one reported
1643         bug. since it's quite major.
1644         (muse-wiki-update-project-file-regexp)
1645         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1646         passed to regexp-opt, since that can cause Emacs 21 to throw an
1647         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
1648         DOT edu for the report.
1649         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1651 2006-10-28  Michael Olson  <mwolson@gnu.org>
1653         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1654         (muse-project-resolve-link): If the given style does not have a
1655         link-suffix, default to suffix.  This fixes a bug I was noticing
1656         when linking to a file that was published in both PDF and HTML
1657         form.
1659         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1660         function that is used as a callback to determine the initial
1661         amount of indentation that the current dl item has.
1662         (muse-publish-surround-dl): Use it.  Pass the initial indent value
1663         and the post-indent value, instead of trying to determine them
1664         both.
1665         (muse-publish-strip-list-indentation): New function stripped from
1666         `muse-publish-surround-text' for readability.
1667         (muse-publish-surround-text): Instead of taking a determine-indent
1668         value, take a determine-indent-func function, which is called just
1669         after finding the next list item.  If we are asked to determine
1670         the amount of indentation, concatenate indent and post-indent the
1671         first time around.  This effectively fixes all known definition
1672         list issues.
1674 2006-10-16  Michael Olson  <mwolson@gnu.org>
1676         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1677         other software -- namely, Planner -- can detect whether they are
1678         using a version of Muse that supports nested tags.
1679         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1680         muse-publish-goto-tag-end.
1682         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1683         Adapt for nested tags.
1685         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1686         <class> tag is nestable.  Thanks to Phillip Lord for noticing
1687         this.
1689         * lisp/muse-publish.el (muse-publish-markup-tag)
1690         (muse-publish-quote-tag): Use muse-goto-tag-end.
1692         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1694 2006-10-15  Michael Olson  <mwolson@gnu.org>
1696         * AUTHORS: Bookkeeping.
1698         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1699         tag.
1701         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1702         tags.
1704         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1706         * lisp/muse-import-docbook.el (muse-import-docbook)
1707         (muse-import-docbook-files): Docfix.
1708         (muse-import-docbook-get-title): Remove cl.el-ism.
1710         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1712         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1714         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1716         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1717         (muse-next-reference, muse-previous-reference): Minor whitespace
1718         changes.
1719         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
1720         the suggestion.
1722         * lisp/muse-poem.el (muse-poem-tag): Ditto.
1724         * lisp/muse-publish.el (muse-publish-markup-tags)
1725         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1726         element and make 4th element determine whether tags are nestable.
1727         (muse-publish-goto-tag-end): New function that moves to the end of
1728         a tag.  Handle nested tags when NESTED is non-nil.
1729         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
1730         5th element for function.
1731         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
1732         this on several scenarios, and it seems to work.
1733         (muse-publish-surround-text): Accept new optional argument
1734         LIST-ITEM which determines the regexp to use for list items.  The
1735         default is to use muse-list-item-regexp.
1737         * muse.texi (Markup Tags): Mention nestable tags.
1739         * NEWS: Mention new files.
1741 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
1743         * lisp/muse-import-docbook.el: New file that converts Docbook XML
1744         into Muse format.
1746         * lisp/muse-import-xml.el: New file that provides helper routines
1747         for converting XML-ish files to Muse format.
1749 2006-10-10  Michael Olson  <mwolson@gnu.org>
1751         * NEWS: Update for 3.02.7 bugfix release.
1753 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
1755         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1756         using the value in the muse #date directive.
1757         (muse-blosxom-use-metadate): New option that determines whether or
1758         not to use the #postdate directive.
1759         (muse-blosxom-format-date): Convert a date string to PyBlosxom
1760         metadate plugin format.
1762 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
1764         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1765         recognised URLs.
1767         * muse.texi: Clarify handling of implicit links by mentioning
1768         which characters can prevent Muse from recognizing something as an
1769         implicit link.
1771 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
1773         * lisp/muse-mode.el (muse-next-reference)
1774         (muse-previous-reference): Fix bug #6367 by moving point to the
1775         beginning of the link.
1777 2006-09-26  Michael Olson  <mwolson@gnu.org>
1779         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1780         beginning-of-line.  This should fix a bug that was noticed in
1781         recent Emacs 22 builds.
1783         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1784         eval-and-compile block to avoid a compiler warning.
1786 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
1788         * lisp/muse-backlink.el (muse-backlink-split-string):
1789         Compatibility with Emacs versions < 22
1790         (muse-backlink-pending): New internal variable
1791         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1792         that backlinks are inserted at the right time.
1793         (muse-backlink-insert-hook-func): Remove unwind-protection; check
1794         for pending backlink, and that this is the targe page.
1795         (muse-backlink-handle-link): Don’t handle the link if we are
1796         already handling one. Return the link as well as the parent links.
1798 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
1800         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1801         #6942 - muse-blosxom-new-entry fails when using tags.
1803 2006-09-14  Michael Olson  <mwolson@gnu.org>
1805         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1806         compiler warning.
1808 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
1810         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1811         function: Protect all wikiwords from START to END from further
1812         processing.
1813         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1815 2006-09-13  Michael Olson  <mwolson@gnu.org>
1817         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1818         adopted from Jim Ottaway's patch.  It removes links from the
1819         heading, and then marks the region read-only to inhibit WikiWord
1820         detection.
1822 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
1824         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1825         special handling for headings.
1826         (muse-texinfo-remove-links): New function that removes explicit
1827         links from the given strings, replacing them with a description.
1829 2006-09-11  Michael Olson  <mwolson@gnu.org>
1831         * muse.texi (Getting Help and Reporting Bugs): Mention the
1832         muse-el-internationalization mailing list.
1834         * lisp/muse.el (muse-path-sans-extension): New function that acts
1835         like file-name-sans-extension, but guarantees to never modify the
1836         directory part of the path.  Thanks to Evan Monroig for
1837         investigating this.
1839         * lisp/muse-book.el (muse-book-publish-project): Use
1840         muse-path-sans-extension instead of file-name-sans-extension.
1842         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1843         Ditto.
1845 2006-08-30  Michael Olson  <mwolson@gnu.org>
1847         * muse.texi (Blosxom Requirements): Fix typo.
1849         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1850         directories for bzr and darcs.
1852         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1853         contrib/pyblosxom/getstamps.py: Update version and headers.
1855 2006-08-27  Michael Olson  <mwolson@gnu.org>
1857         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1858         nil values before they get to mapconcat.  This fixes a lockup when
1859         muse-wiki-match-all-project-files is nil.
1861         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1862         (muse-wiki-ignore-implicit-links-to-current-page)
1863         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1864         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1865         (muse-wiki-publish-small-title-words)
1866         (muse-wiki-publish-pretty-title): Docfix.
1867         (muse-wiki-update-local-wikiword-regexp): Rename from
1868         muse-wiki-update-local-wikiword-regexp.  Set
1869         muse-wiki-project-file-regexp instead of
1870         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
1871         take muse-wiki-use-wikiword into account, since this is a
1872         different concept now.
1873         (muse-wiki-update-wikiword-regexp): Remove.
1874         (muse-wiki-wikiword-regexp): In-line the :set function.
1875         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
1877 2006-08-26  Michael Olson  <mwolson@gnu.org>
1879         * lisp/muse-publish.el (muse-publish-surround-text): When looking
1880         for indented list items, ignore blank lines.
1882         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
1883         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
1884         mapconcat.  This should hopefully fix a problem with large amounts
1885         of files with spaces in their name.  Thanks to Greg Detre for the
1886         report.
1888 2006-08-24  Michael Olson  <mwolson@gnu.org>
1890         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
1891         numbers from the argument to format-time-string.  This fixes an
1892         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
1894 2006-08-18  Michael Olson  <mwolson@gnu.org>
1896         * lisp/muse-project.el (muse-project-file-entries): Since we are
1897         given a full path, match against the filename as well.  This fixes
1898         an issue where backup files were being added to the file alist.
1900         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
1901         from muse-html.el.
1903 2006-08-12  Michael Olson  <mwolson@gnu.org>
1905         * Makefile (.PHONY): Don't use line continuations.
1906         (realclean fullclean): Call realclean in subdirs, not distclean.
1907         (distclean): Don't call realclean, since this would wipe out our
1908         autoloads file.
1909         (dist): Use correct path to autoloads file.
1911         * NEWS: Catch up with the latest changes.
1913         * experimental/Makefile (.PHONY): Wrap long line.
1915         * lisp/Makefile (distclean): Do the same thing as "clean", not
1916         "realclean".
1918         * lisp/muse-project.el (muse-project-get-applicable-style):
1919         Indentation tweak.
1920         (muse-project-ignore-regexp, muse-project-recurse-directory):
1921         Docfix.
1922         (muse-project-of-file): Try the ignored files regexp against the
1923         base filename as well as the entire path.
1925         * lisp/muse-publish.el (muse-publish-this-file): Display message
1926         if the buffer is not associated with any file, so that we avoid
1927         errors later on.
1928         (muse-publish-url-desc): New function taken from muse-publish-url
1929         that causes a URL description to be transformed.
1930         (muse-publish-url): Call muse-publish-url-desc on either the
1931         description or the original URL if it will be used as a
1932         description.  Accept the original URL as an argument, in case it
1933         was transformed earlier.
1934         (muse-publish-insert-url): Pass original URL as an argument.
1935         (muse-publish-markup-link): Make this somewhat easier to follow.
1936         Pass original URL as argument.
1937         (muse-publish-get-style): If the same style is used to publish to
1938         two different directories, prompt the user for which directory to
1939         use.
1940         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
1941         latest changes.
1942         (muse-publish-markup-url): Pass original URL as an argument.  This
1943         fixes the "nil" description for bare URLs that was in 3.02.91.
1944         Nothing like finding a bug just after completing the announcement
1945         of a release.
1947         * lisp/muse.el: Use defalias whenever convenient.
1948         (muse-version): Set version to 3.02.92 (3.03 RC2).
1950 2006-08-10  Michael Olson  <mwolson@gnu.org>
1952         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
1953         style does not derive from any other class, return `t' here.
1954         This, along with the corresponding change to muse-publish.el,
1955         fixes a problem with the table of contents getting inserted
1956         multiple times for custom html-based styles.
1957         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
1958         smarter method for table centering that works with XHTML.
1960         * lisp/muse-latex2png.el Rename all functions to have a
1961         "muse-latex2png" prefix.  Turn all variables into customizable
1962         options in the muse-latex2png group.
1963         (muse-latex2png-img-dest): New option specifying where to place
1964         the images.
1965         (muse-latex2png-template): New option containing the template to
1966         use for the surrounding LaTeX code.
1967         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
1968         compliance.
1969         (muse-latex2png-move2pubdir): Avoid multiple redundant error
1970         messages when something else goes wrong.  Create the image
1971         subdirectory if it doesn't exist already -- thanks to Christian
1972         Straßer for the report.  Expand the filename properly.
1973         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
1974         and filename expansion.
1975         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
1976         the default directory properly.
1978         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
1979         do not run the same function twice.
1981 2006-08-08  Michael Olson  <mwolson@gnu.org>
1983         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
1984         introduced wrong-type-argument error.
1986         * lisp/muse-html.el (muse-html-markup-strings)
1987         (muse-xhtml-markup-string): Cause table definition that contains
1988         image to be center-aligned.  This should fix an issue with images
1989         not being centered when captions are very long.
1991         * lisp/muse-publish.el (muse-publish-table-fields): Trim
1992         whitespace from fields once we have split them up.
1994         * lisp/muse.el (muse-trim-whitespace): New function that strips
1995         leading and trailing whitespace from a string.
1997 2006-08-07  Michael Olson  <mwolson@gnu.org>
1999         * NEWS: Update through patch-95.
2001         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
2002         to match the tags.
2003         (muse-colors-explicit-link): Show images in link descriptions if
2004         inlined images are enabled.
2006         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
2007         definitions for 'image-with-desc, 'image, and 'image-link.
2008         (muse-docbook-markup-paragraph): If an inlined image begins a
2009         paragraph, insert <para> before it.
2010         (muse-docbook-fixup-images): New function that upper-cases the
2011         "format" attribute of the <imagedata> tag.
2012         (muse-docbook-finalize-buffer): Call it.
2014         * lisp/muse-html.el (muse-html-markup-strings): Publish images
2015         with descriptions as centered tables, with a centered caption
2016         underneath.  The resulting look is consistent with the way that
2017         they are published in the LaTeX style.  Thanks to Jody Klymak for
2018         the suggestion.
2019         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
2020         valid way to center a table.
2021         (muse-html-markup-paragraph): Use class="image" instead of
2022         "image-link" for paragraphs that start with an embedded image.
2024         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
2025         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
2026         suggestion.
2027         (muse-latex-markup-specials-image): New option that enables
2028         escaping of specials in images.  This was split from the URL
2029         specials.
2030         (muse-latex-decide-specials): Handle 'image context.
2031         (muse-latex-fixup-dquotes): Go to beginning of document, instead
2032         of relying on caller to do this for us.
2034         * lisp/muse-publish.el (muse-publish-escape-specials): Document
2035         'image context.
2036         (muse-publish-url): Use 'image context for images.  Use 'image
2037         instead of 'image-link and 'image-link in place of
2038         'url-with-image.  Separate the image file from its extension so
2039         that docbook and texinfo can publish images correctly.
2040         (muse-publish-markup-link): Don't force a description if one is
2041         not given.  This fixes a bug where images without descriptions
2042         were being published as 'image-with-desc instead of 'image.
2044         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
2045         images the same as URLs.
2046         (muse-texinfo-markup-strings): Improve image markup to achieve an
2047         effect similar to that of the LaTeX publishing style.  Simplify
2048         'url string.
2050         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
2052         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
2053         when we have to use the custom version of this function.
2055         * muse.texi (Images): Explain how to toggle inlining of images and
2056         give better examples.  Mention captions and that captioned images
2057         should not be used inside of text paragraphs.
2058         (Markup Strings): Bring up-to-date with the changes made since
2059         3.02.
2061 2006-08-06  Michael Olson  <mwolson@gnu.org>
2063         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
2064         in the Emacs source tree.
2066         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
2067         in the Emacs source tree.
2069         * ChangeLog.3: New file created from the old ChangeLog.
2071         * Makefile.defs (VERSION): Set to 3.02.91.
2073         * NEWS: Update through patch-84.
2075         * lisp/muse.el (muse-version): Set to 3.02.91.
2077         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
2078         attributes.
2079         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
2080         delimiter are instead of hard-coding it.
2082         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
2083         (muse-mode): Make filling definition lists work better.  This
2084         should fix #5359.
2086         * lisp/muse-publish.el (muse-style-run-hooks): Use
2087         `muse-style-element' instead of `muse-get-keyword' here.  This
2088         should fix #6399.
2090         * muse.texi: Set version to 3.02.91 (3.02 RC2).
2092 See ChangeLog.3 for earlier changes.
2094 ;; Local Variables:
2095 ;; coding: utf-8
2096 ;; End: