Display helpful message after toggling inline images on/off
[muse-el.git] / ChangeLog
blob223c2589f41b8302f94301345af8283613cc01a3
1 2007-09-17  Michael Olson  <mwolson@gnu.org>
3         * lisp/muse-colors.el (muse-colors-toggle-inline-images): Display
4         message about how images are now displayed.
6 2007-09-06  Michael Olson  <mwolson@gnu.org>
8         * lisp/muse-html.el (muse-html-class-tag): Fix bug where nested
9         class tags were not working.  We move to just after the beginning
10         of the first class tag, so that we can detect any remaining class
11         tags.  Thanks to Florian Beck for the report.  Fix error that
12         occurred when class tag has no name element.  Thanks to Peter
13         Baranyi for the report.  The correct behavior in this case is to
14         not publish the tag at all.
16         * lisp/muse.el (muse-goto-tag-end): Fix bug where nested tags with
17         arguments were not being detected properly.
19 2007-09-05  Michael Olson  <mwolson@gnu.org>
21         * lisp/muse-context.el (muse-context-decide-specials): Add
22         footnote.
24         * lisp/muse-latex.el (muse-latex-decide-specials): Add footnote.
26         * lisp/muse-publish.el (muse-publish-escape-specials): Mention
27         'footnote in docstring.
28         (muse-publish-markup-footnote): Minor docstring fix.  Escape
29         footnote text properly.  Thanks to Jean Magnan de Bornier for
30         noticing.
31         (muse-publish-url): When checking to see if this is just a plain
32         URL without a description, compare the strings as they were before
33         doing escaping.  This fixes a bug where plain URLs could sometimes
34         be published as if they were URLs with descriptions.
36         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Add
37         footnote.
39 2007-08-29  Michael Olson  <mwolson@gnu.org>
41         * lisp/muse.el (muse-update-values): Reset the value of
42         muse-current-project in all Muse buffers.  This updates the rules
43         in case you want to publish a file after changing its associated
44         muse-project-alist entry.
46 2007-08-27  Michael Olson  <mwolson@gnu.org>
48         * lisp/muse.el (muse-update-values): New function that the user
49         can call after changing muse-project-alist, in order to update
50         various autogenerated values.
52         * texi/muse.texi (Keystroke Summary): Document it.
54 2007-08-25  Michael Olson  <mwolson@gnu.org>
56         * examples/QuickStart.muse: Fix typo in first paragraph.  Thanks
57         to Karl Berry for reporting this.
59         * lisp/muse-mode.el (muse-visit-link-default): Fix bug with
60         browsing anchors that come after a link to them.
62         * texi/muse.texi (Poem): Fix typo in spelling of LaTeX.  Thanks to
63         Karl Berry for reporting this.
65 2007-08-24  Michael Olson  <mwolson@gnu.org>
67         * Release Emacs Muse 3.11.
69         * AUTHORS: Add new authors for contrib files.
71         * NEWS: Add entries for Muse 3.11.
73         * README: Mention that contents of contrib/blosxom and
74         contrib/pyblosxom have different licenses than the rest of Muse.
76         * contrib/blosxom/getstamps.pl: New file that implements fetching
77         timestamps from published Muse files and placing them in a single
78         timestamps file.  That file can then be used by blosxom's metadate
79         plugin.  Thanks to Michael Welle for providing this file, as well
80         as instructions on how to use Muse with Blosxom.
82         * contrib/blosxom/metadate_0_0_3: New file implementing the
83         metadate plugin for blosxom.
85         * contrib/pyblosxom/getstamps.py: Add license text.  It seems safe
86         to assume that the original author wanted this to be distributed
87         with Pyblosxom, and hence use the MIT license like the rest of
88         Pyblosxom.
90         * contrib/pyblosxom/hardcodedates.py: Add license text.
92         * contrib/pyblosxom/make-blog: Change license text to be "This
93         file may be used, distributed, and modified without restriction."
95         * contrib/pyblosxom/metadate.py: New file that implements the
96         PyBlosxom metadate plugin.  Since this can no longer be found at
97         the original author's website, I have included it with Muse.
99         * lisp/muse-blosxom.el: Update location of metadate plugin in
100         header.
102         * lisp/muse-wiki.el (muse-wiki-project-file-regexp): Fix typo in
103         docstring.
105         * texi/muse.texi (Blosxom Requirements): Organize information by
106         subheading and subsubheading, and document how to use the metadate
107         plugin.  Briefly document using Blosxom to serve Muse entries.
109 2007-08-23  Michael Olson  <mwolson@gnu.org>
111         * lisp/muse-html.el (muse-html-insert-contents): Escape heading
112         title just before extracting it.
114         * lisp/muse-latex.el (muse-latex-fixup-headings): New function
115         that removes footnotes from headers, since they are invalid in
116         LaTeX.
117         (muse-latex-munge-buffer): Call it.
119         * lisp/muse-publish.el (muse-publish-markup-heading): Don't escape
120         specials here.  This fixes a bug involving links in headings.
122         * lisp/muse.el (muse-update-file-extension): Simplify, and handle
123         some edge cases.
124         (muse-update-file-extension-after-init): Temporarily bind
125         muse-file-extension to "muse", so that muse-update-file-extension
126         knows what the old value was.  This should fix a bug reported by
127         Jean Magnan de Bornier.
129 2007-08-21  Michael Olson  <mwolson@gnu.org>
131         * lisp/muse-texinfo.el (muse-texinfo-markup-strings): Try to make
132         url, link, and link-and-anchor look better in texi2html output.
133         Thanks to thorne for the report.
135 2007-08-20  Michael Olson  <mwolson@gnu.org>
137         * lisp/muse-journal.el (muse-journal-anchorize-title): Revamp to
138         escape characters rather than discard them.  Use muse-regexp-alnum
139         rather than listing out the characters and numbers.  Thanks to
140         Shunsuke OKANO for the report.
141         (muse-journal-rss-munge-buffer): Make sure that <![CDATA[ stuff is
142         used when generating a summary.
144 2007-08-19  Michael Olson  <mwolson@gnu.org>
146         * examples/mwolson: Update my example settings.
148         * lisp/muse-colors.el (muse-colors-region): Bind
149         muse-colors-region-end to the end of the last line.  This avoids a
150         bug where lines that had emphasis would suddenly become
151         unhighlighted when moving around the buffer.
153         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug
154         involving paragraphs after literallayout markup, which is used in
155         <verse> tags.  Thanks to Shunsuke OKANO for the report.
157         * lisp/muse-html.el (muse-html-src-tag): Use
158         muse-delete-and-extract-region.
160         * lisp/muse-import-xml.el: Add require statement.
161         (muse-import-xml-parse-node): Use muse-replace-regexp-in-string.
163         * lisp/muse-protocols.el (muse-browse-url-man): Add require
164         statement.
165         (muse-browse-url-woman): Add require statement.
167         * lisp/muse-publish.el (muse-publish-surround-text): Fix serious
168         bug in definition list publishing.  We were skipping past the
169         initial indented line, and that was causing an erroneous
170         blockquote to be inserted.  This alone merits a new release.
172         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Fix bug with
173         XEmacs' return value for shell-command.
175         * lisp/muse.el (muse-delete-and-extract-region): New compatibility
176         function to deal with XEmacs' lack of the
177         delete-and-extract-region function.
179 2007-08-18  Michael Olson  <mwolson@gnu.org>
181         * AUTHORS: Update.
183         * lisp/muse-publish.el (muse-publish-include-tag): Switch from
184         copy-tree to copy-alist, since Emacs21 does not have the former,
185         and the latter does what we want.
187         * lisp/muse.el: Force-require 'derived, since Emacs21 does not
188         have derived-mode-p in subr.el like Emacs22 does.
190 2007-08-17  Michael Olson  <mwolson@gnu.org>
192         * etc/muse.rnc: Add the <cite> tag.
194         * lisp/muse-context.el (muse-context-slides-header): Clarify what
195         "mystyle" is.
197         * lisp/muse-xml.el (muse-xml-markup-strings): Mark up citations as
198         <cite type="something">.  We'll leave it to the post processing
199         tools to interpret that.
201         * texi/muse.texi (Directives, Blosxom Entries): Use @code{} for
202         directives.
203         (Citations): New section that explains further how to use the
204         <cite> tag.  The text was taken from Marcus Hoenicka's
205         documentation at http://refdb.sourceforge.net/muse.html and
206         modified.
207         (Tag Summary): Link to the Citations section in the entry for
208         <cite>.
209         (ConTeXt): Update the documentation for
210         muse-context-slides-header.
212 2007-08-17  Jean Magnan de Bornier  <jean@bornier.net>
214         * lisp/muse-context.el (muse-context-slides-header): Use #module
215         directive, if it is provided.
216         (muse-context-slides-header): Mention how to use #module.
218 2007-08-16  Michael Olson  <mwolson@gnu.org>
220         * Release Emacs Muse 3.10.
222         * Makefile (dist, debprepare): Pass HEAD argument to git-archive.
223         (upload): Don't depend on release rule.
225         * NEWS: Document remaining changes.
227 2007-08-15  Michael Olson  <mwolson@gnu.org>
229         * NEWS: Document items through 2007-08-12.
231         * lisp/muse-colors.el: Split the muse-directive-or-comment
232         property into two separate properties that are muse-directive and
233         muse-comment.
234         (muse-colors-region-end): Make buffer-local.
235         (muse-colors-delayed-commands): New variable that contains a list
236         of commands to run immediately after highlighting.  This is meant
237         to allow highlighting functions to delay code until later.
238         (muse-colors-region): Apply commands in
239         muse-colors-delayed-commands.
240         (muse-colors-inhibit-tags-in-directives): New variable that
241         determines whether tags are allowed in directives.
242         (muse-colors-custom-tags): Take
243         muse-colors-inhibit-tags-in-directives into account.
244         (muse-unhighlight-region): Remove muse-directive and muse-comment
245         properties.
246         (muse-colors-title): Modify muse-colors-delayed-commands.
247         (muse-colors-title-lisp): New command that gets called after
248         highlighting other things.  This interprets <lisp> tags, and is
249         passed arguments specifying the beginning and end of the region.
250         Thanks to Junichi Uekawa for the report.  The reason we want to do
251         things this way is because this is the behavior we get already
252         when publishing the page.
254         * lisp/muse.el (muse-goto-tag-end): Change to use muse-comment
255         property rather than muse-directive-or-comment.
257 2007-08-14  Michael Olson  <mwolson@gnu.org>
259         * lisp/muse-colors.el: Document all functions and variables.
260         (muse-colors-emphasized, muse-colors-underlined)
261         (muse-colors-verbatim, muse-colors-custom-tags)
262         (muse-colors-explicit-link, muse-colors-implicit-link): Don't trod
263         on comments or the #title directive.
264         (muse-colors-markup): Add comment rule.
265         (muse-colors-implicit-link): Only remove flyspell overlay after we
266         decide whether this is an implicit link, rather than before.
267         (muse-colors-title): Add the muse-directive-or-comment property.
268         (muse-colors-comment): New function that colorizes comments using
269         font-lock-comment-face.
270         (muse-colors-region-end): New variable indicating the end of the
271         region that is currently being font-locked.  This removes the need
272         for an ugly "defvar end" hack.
273         (muse-colors-emphasized, muse-colors-underlined)
274         (muse-colors-verbatim): Use it.
275         (muse-colors-region): Let-bind it.
277         * lisp/muse-mode.el (muse-list-edit-minor-mode): Grammar fix in
278         docstring.
280         * lisp/muse-publish.el (muse-publish-markup-heading): Escape
281         specials in heading now, rather than waiting on the whole-document
282         pass later on.  This lets <contents> generation work without
283         validation errors.  Thanks to Reid van Melle for the report.
285         * texi/muse.texi (Tag Summary): Document <cite> tag.
286         (Miscellaneous): New chapter containing "Muse List Edit Minor
287         Mode" section.
288         (Muse List Edit Minor Mode): New section that documents
289         muse-list-edit-minor-mode.
290         (Development): Mention the MuseDevlopment page on emacswiki.org.
292         * lisp/muse.el (muse-goto-tag-end): Deal with case where we are
293         font-locking and the end or beginning of a tag is in a comment or
294         directive.
296 2007-08-12  Michael Olson  <mwolson@gnu.org>
298         * lisp/muse-html.el (muse-html-strip-links): New function that
299         strips HTML links from a string.
300         (muse-html-insert-contents): Use it, instead of
301         muse-publish-strip-tags.  This fixes a bug reported by Xin Shi
302         involving the use of <sup> in section titles.
304         * lisp/muse-project.el (muse-project-resolve-directory): New
305         function that figures out the directory part of the path that
306         provides a link to a page.
307         (muse-project-resolve-link): Expand docstring.  Use the new
308         function.  Don't call muse-publish-link-file, because that does
309         the wrong thing when we have muse-file-extension set to nil.
310         Thanks to Sebastian Obermanns for the report.
311         (muse-project-publish-this-file): Let-bind muse-current-project.
312         Also, if the file is not associated with a project, fall back to
313         muse-publish-this-file.
314         (muse-project-set-variables): Add this to
315         muse-before-publish-hook, so that it gets called.  This fixes a
316         bug where project-specific variables were being used in Muse mode,
317         but ignored when publishing.
319         * lisp/muse-publish.el (muse-publish-link-name)
320         (muse-publish-link-file, muse-publish-link-page): Add docstrings
321         so that I can remember what each of these things do.
322         (muse-publish-strip-tags): Remove, since it is no longer used.
323         (muse-publish-cite-tag): Don't let-bind
324         muse-publishing-directives, because there is no need to do so.
325         Fix code indentation.
326         (muse-publish-markup-attribute): Avoid multiple evaluation of
327         attrs argument, in case it is list value instead of a symbol.  Use
328         sexp instead of form in the edebug-form-spec.
329         (muse-publish-include-tag): Make a full copy of
330         muse-publishing-directives, since it can be modified with setcdr.
331         This fixes a bug where #title and some other directives were
332         leaking out of an included region.
333         (muse-publish-mark-up-tag): Don't let-bind
334         muse-publishing-directives, because there is no need to do so.
336         * lisp/muse.el (muse-page-name): Improve docstring.
338         * texi/muse.texi (Development): Mention the http method for
339         anonymous git access to the shared repo.
341 2007-08-10  Michael Olson  <mwolson@gnu.org>
343         * Makefile (dist, debprepare): Use git instead of tla.
345         * contrib/httpd.el (httpd-send-file): Use insert-file-contents.
347         * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
348         Use muse-insert-file-contents.
350         * experimental/muse-split.el (muse-publish-file)
351         (muse-publish-presplit-publish, muse-publish-no-split-function)
352         (muse-journal-split-by-entry, muse-journal-split-by-month): Use
353         muse-insert-file-contents.
355         * lisp/muse-book.el (muse-book-publish-chapter)
356         (muse-book-get-directives): Use muse-insert-file-contents.
358         * lisp/muse-http.el (muse-http-render-page): Use
359         muse-insert-file-contents.
361         * lisp/muse-poem.el (muse-poem-markup-tag): Use
362         muse-insert-file-contents.
364         * lisp/muse-publish.el (muse-insert-file-or-string)
365         (muse-publish-file, muse-publish-include-tag)
366         (muse-published-contents): Use muse-insert-file-contents.
368         * lisp/muse.el (muse-insert-file-contents): New function that
369         inserts a file with character code conversion, but none of the
370         other frivolities.  Since insert-file-contents-literally does not
371         do character code conversion, it is not suitable for us.
372         (muse-with-temp-buffer): Mention muse-insert-file-contents rather
373         than insert-file-contents-literally.
375 2007-08-09  Michael Olson  <mwolson@gnu.org>
377         * lisp/muse.el (muse-write-file): Pay attention to
378         coding-system-for-write and save-buffer-coding-system.  This
379         should fix a recently-introduced bug with writing Muse pages in
380         different coding systems.
382 2007-08-08  Michael Olson  <mwolson@gnu.org>
384         * README (Prerequisites): Fix typo.
385         (Compilation, Installation): Update.
386         (Documentation, Further Documentation): Update URLs.
387         (Further Documentation): Add quick blurb on how to participate in
388         Muse development or track changes.
390         * texi/muse.texi (Releases): Use gna.org URL for downloading the
391         latest release, rather than my website.
392         (Development): Change instructions to use git instead of
393         Arch. Mention where to get a Windows binary for git.  Improve the
394         look of the listing.  Add section with instructions for Becoming a
395         Muse developer.
396         (Installation): Update instructions for Makefile.defs.default and
397         XEmacs.  Add index entries.  Add section for ELPA, since Muse
398         ought to be distributed in ELPA after the 3.10 release.  Fix typo
399         and clarify wording.
401 2007-08-06  Michael Olson  <mwolson@gnu.org>
403         * texi/muse.texi: Make sure that attributes are marked up with
404         @option{} rather than @code{} or @samp{} for consistency.
405         (Journal): Add "muse-project-alist-considerations" subheading,
406         along with a mention of :base-url.
408 2007-08-05  Michael Olson  <mwolson@gnu.org>
410         * .gitignore: Add texi/muse.html and the DVC log edit file.
412         * Makefile.defs.default (install_info): Rename from INSTALLINFO.
413         Turn this into something that can be called like a command, due to
414         needing to deal with XEmacs, which has different argument order.
415         Thanks to Terrence Brannon for the report.
417         * lisp/muse-project.el (muse-project-of-file): Simplify by using
418         catch, throw, and dolist.  Look for exact matches before
419         considering any subdirectories.  If no exact matches are found,
420         then pick the longest match.
422         * lisp/muse.el (muse-sort-by-rating): Mention default test in
423         documentation.
425         * scripts/muse-build.el: Avoid interference from VC.el in the
426         build process.
428         * texi/Makefile (install): Call install_info.
430 2007-08-03  Michael Olson  <mwolson@gnu.org>
432         * lisp/muse-project.el (muse-project-applicable-styles): Remove
433         useless argument ignore-regexp.  Use saner logic.  This fixes a
434         bug where a file could potentially not exist but still appear in
435         the used-styles list.  Thanks to John Wiegley for the fix.
436         (muse-project-publish-file): Don't take ignore-reegxp argument.
438 2007-08-02  Michael Olson  <mwolson@gnu.org>
440         * lisp/muse-publish.el (muse-batch-publish-files): Don't activate
441         VC when publishing files in batch.  This avoids some annoying
442         messages when building QuickStart in the examples directory.
444         * lisp/muse-mode.el (muse-mode): Don't try to indent line before
445         inserting a comment.
447 2007-07-31  Michael Olson  <mwolson@gnu.org>
449         * lisp/Makefile: Add dependencies between Emacs Lisp files, so
450         that Muse can be recompiled without running "make clean" after an
451         update.
453         * lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
454         delete forward one character, since we are guaranteed to be on a
455         blank line.  Don't delete all initial whitespace of the first
456         line.  This fixes an issue where the output from the verse tag did
457         not match the output from Muse's verse syntax.
459 2007-07-29  Michael Olson  <mwolson@gnu.org>
461         * Relicense to GPLv3.
463         * Makefile.defs.default: Rename from Makefile.defs.  This allows
464         people to copy this file to Makefile.defs and make changes,
465         without having the changes be accidentally committed.  If
466         Makefile.defs does not exist, this file is read instead, in order
467         to minimize inconvenience to the casual user.
469         * Makefile, contrib/Makefile, examples/Makefile,
470         experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
471         Makefile.defs.default or Makefile.defs.
473         * lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
474         function names.
475         (muse-l-e-m-m-insert-list-item): Add real documentation.
476         (muse-l-e-m-m-increase-list-item-indent)
477         (muse-l-e-m-m-decrease-list-item-indent): Rename for clarity.  Add
478         real documentation.
479         (muse-list-edit-minor-mode): Improve documentation.
481         * texi/doclicense.texi (GNU Free Documentation License): Use
482         pristine copy from Emacs source tree.
484         * texi/muse.texi (Contributors): Move node and appendix indicators
485         here, rather than doclicense.texi.
487 2007-07-29  Jean Magnan de Bornier  <jean@bornier.net>
489         * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
490         command which did not work correctly
492         * lisp/muse-context.el (muse-context-markup-strings): Change rule
493         command which did not work correctly; defined verse commands
494         (muse-context-markup-specials-literal): Eliminate all unuseful entries
496 2007-07-29  Michael Olson  <mwolson@gnu.org>
498         * contrib/httpd.el (httpd-send-file): Use
499         insert-file-contents-literally instead of insert-file-contents.
501         * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
502         Use insert-file-contents-literally instead of
503         insert-file-contents.
505         * experimental/muse-split.el (muse-publish-file)
506         (muse-publish-presplit-publish, muse-publish-no-split-function)
507         (muse-journal-split-by-entry, muse-journal-split-by-month): Use
508         insert-file-contents-literally instead of insert-file-contents.
510         * lisp/muse-book.el (muse-book-publish-chapter)
511         (muse-book-get-directives): Use insert-file-contents-literally
512         instead of insert-file-contents.
514         * lisp/muse-http.el (muse-http-render-page): Use
515         insert-file-contents-literally instead of insert-file-contents.
517         * lisp/muse-import-latex.el (muse-import-latex): Set marker to
518         nowhere when done, since they can slow things down.
520         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
521         marker to nowhere when done, since they can slow things down.
523         * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
524         when done, since they can slow things down.  Use
525         insert-file-contents-literally instead of insert-file-contents.
527         * lisp/muse-publish.el (muse-publish-markup-tag)
528         (muse-publish-markup-word, muse-publish-markup-footnote)
529         (muse-publish-call-tag-on-buffer): Set markers to nowhere when
530         done, since they can slow things down.
531         (muse-insert-file-or-string, muse-publish-file)
532         (muse-publish-include-tag, muse-published-contents): Use
533         insert-file-contents-literally instead of insert-file-contents.
534         (muse-publish-surround-dl): Remove unused variable.  Track whether
535         a term has been found, and handle that case well.
536         (muse-publish-ensure-blank-line): Use a marker, so that we don't
537         lose our place when adding a newline.  This really fixes the
538         definition list item bug.
539         (muse-publish-markup-list): Since people do seem to want
540         definition lists with no terms, allow this.
541         (muse-batch-publish-files): Set muse-current-output-style.
543         * lisp/muse.el (muse-with-temp-buffer): Mention
544         `insert-file-contents-literally'.
546 2007-07-28  Michael Olson  <mwolson@gnu.org>
548         * lisp/muse-mode.el (muse-browse-result): Set
549         muse-current-output-style.
550         (muse-mode): Don't duplicate the paragraph-start regexp
551         unnecessarily.
552         (muse-list-edit-minor-mode-map): New variable containing the
553         keymap for Muse list edit minor mode.
554         (muse-l-e-m-m-list-item-regexp): New variable that matches list
555         items for Muse list edit minor mode.
556         (muse-l-e-m-m-insert-list-item,
557         muse-l-e-m-m-i-list-item-indentation)
558         (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
559         item functions that change the list item regexp before calling the
560         existing function.
561         (muse-l-e-m-m-data): New variable that keeps track of the fill
562         data that we overwrite when activating Muse list edit minor mode,
563         so that we can restore it if the minor mode is toggled off.
564         (muse-list-edit-minor-mode): New minor mode that is useful for
565         editing lists in other major modes.
566         (turn-on-muse-list-edit-minor-mode)
567         (turn-off-muse-list-edit-minor-mode): New interactive functions
568         that turn Muse list edit minor mode on and off, respectively.
569         (muse-on-blank-line, muse-get-paragraph-start): Simplify some
570         regexps.
572         * lisp/muse-project.el (muse-project-publish-this-file): Set
573         muse-current-output-style.  This fixes a bug when publishing to a
574         style that is not first in the list of styles.  Thanks to Jean
575         Magnan de Bornier for the report.
577         * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
578         function that ensures that a blank line exists in the line before
579         point.
580         (muse-publish-markup-list): Use it, rather than
581         `muse-publish-ensure-block'.  This fixes a bug with definition
582         list publishing.  Thanks to meandtheshell for reporting this.
584         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
585         project argument is nil, default to the current project instead of
586         the first project entry in muse-project-alist.  This seems much
587         more sane to me.
589         * lisp/muse.el (muse-forward-list-item): Only check the 'face
590         property if we are in Muse mode or one of its derivatives.  This
591         allows movement on nested lists to work in other modes, and fixes
592         an issue with altering list indentation in
593         muse-list-edit-minor-mode.
595 2007-07-27  Michael Olson  <mwolson@gnu.org>
597         * AUTHORS: Add new authors.
599         * README: Permit Muse to be called "Emacs-Muse".
601         * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
603         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
604         involving list items that have an extra blank line in front.
606         * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
607         and Emacs-Muse are the same thing.
609 2007-07-27  Jean Magnan de Bornier  <jean@bornier.net>
611         * lisp/muse-context.el (muse-context-header): Put
612         starttext after the modules who must be in preamble.
613         (muse-context-markup-strings): Fixed mistake in begin-example and
614         end-example.
616         * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
617         math environment in ConTeXt when centered: "$$ $$" has to be
618         "\startformula \stopformula".
620 2007-07-26  Michael Olson  <mwolson@gnu.org>
622         * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
623         parentheses in URLs.
625 2007-07-24  Michael Olson  <mwolson@gnu.org>
627         * examples/QuickStart.muse (Images): Fix typo where some text
628         existed in the output but not in the example region.
629         (Source Code): Fix another typo.  Explain that publishing from
630         console or X can make a difference.
632         * lisp/muse-context.el (muse-context-pdf-program): New option that
633         determines the program to use for generating PDF files for
634         ConTeXt.
635         (muse-context-pdf-cruft): New option that specifies the extensions
636         of files to remove after generating PDF output successfully.
637         (muse-context-slides-header): Docfix.
638         (muse-context-pdf-generate): Use new options.
640         * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
641         save-restriction call.  This was causing a world of hurt when
642         using <lisp> inside of <include>.
644         * texi/muse.texi (ConTeXt): New section that documents how to use
645         the ConTeXt publishing styles.
647 2007-07-23  Michael Olson  <mwolson@gnu.org>
649         * lisp/muse-context.el: New file that provides support for
650         publishing documents to the ConTeXt format.  Thanks to Jean Magnan
651         de Bornier for his work on this.
653         * lisp/muse-docbook.el (muse-docbook-entities)
654         (muse-docbook-bibliography): Remove unneeded save-restriction use.
656         * lisp/muse-latex2png.el (muse-publish-latex-tag):
657         s/contex/context/.
659         * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
660         (muse-latex-bibliography): Remove call to `widen', since it is not
661         needed anymore.  Remove unneeded save-restriction use.
662         ("slides", "slides-pdf"): Indent elements uniformly.
664 2007-07-22  Michael Olson  <mwolson@gnu.org>
666         * lisp/muse-blosxom.el (muse-blosxom-new-entry):
667         * lisp/muse-mode.el (muse-insert-tag):
668         * lisp/muse-project.el (muse-read-project)
669         (muse-read-project-file):
670         * lisp/muse-publish.el (muse-publish-get-style): Use
671         muse-completing-read-function.
673         * lisp/muse-latex2png.el (muse-publish-latex-tag)
674         (muse-publish-math-tag): Allow the context style -- which I plan
675         to include soon -- to work with these tags.
677         * lisp/muse.el (muse-completing-read-function): New option that
678         determines which function to call when doing a completing-read.
680 2007-07-15  Michael Olson  <mwolson@gnu.org>
682         * lisp/muse-journal.el (muse-journal-html-entry-template)
683         (muse-journal-rdf-entry-template)
684         (muse-journal-rss-entry-template): Mention that this can be text
685         or a filename.
686         (muse-journal-rdf-entry-template, muse-journal-rss-header)
687         (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
688         newlines to make the output look nicer.
689         (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
690         Use muse-insert-file-or-string for the entry templates, rather
691         than muse-insert-markup.  This allows <lisp> and <markup> tags to
692         be acted on.  Thanks to Scott Hyde for the report.
693         (muse-journal-html-munge-buffer): Escape quote of the day using
694         entire-document specials before snarfing it.  Mark entire template
695         as read-only -- this fixes an incorrect escaping bug.  Remove
696         read-only properties before replacing template matches so that
697         they can still be escaped with entire-document specials later on.
698         (muse-journal-rss-munge-buffer): Make sure that title is escaped
699         properly.
700         (muse-journal-markup-tags): Rename from
701         muse-journal-latex-markup-tags, because we will use it for
702         journal-rss-entry as well.
703         (muse-journal-qotd-tag): Move higher.  Use begin-quote-item and
704         end-quote-item.
705         (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
706         html.
707         ("journal-latex", "journal-pdf", "journal-book-latex")
708         ("journal-book-pdf"): Use muse-journal-markup-tags rather than
709         muse-journal-latex-markup-tags.
710         ("journal-rss-entry"): New style that is used by journal-rss and
711         journal-rdf to mark up individual entries.  It is needed so that
712         we can do something meaningful with the qotd tag.
713         (muse-journal-rdf-summarize-entries): Set this to nil by default,
714         because it is annoying.  Update docs to mention this.
715         (muse-journal-rss-summarize-entries): Docfix.
717         * lisp/muse-publish.el (muse-insert-file-or-string): Use
718         muse-publish-markup-header-footer-tags.  I'm not quite sure how
719         this change got reverted.
720         (muse-markup-tag-info): Make into a function.  Move common code
721         here, rather than duplicating it in two places.  Deal with case
722         where muse-publish-use-header-footer-tags is non-nil.
723         (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
724         (muse-inhibit-style-tags): Move higher to avoid byte-compiler
725         warning.
726         (muse-publish-use-header-footer-tags): New variable that indicates
727         whether we should use just the header and footer tags, rather than
728         the full set.
729         (muse-insert-file-or-string): Bind
730         muse-publish-use-header-footer-tags to t.
731         (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
732         Simplify call to muse-markup-tag-info.
733         (muse-publish-mark-up-tag): Bind
734         muse-publish-use-header-footer-tags to nil.
736         * texi/muse.texi (Journal): Update for recent changes.
738 2007-07-14  Michael Olson  <mwolson@gnu.org>
740         * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
741         delete the remainder of the buffer, since this causes the
742         resulting RDF to have invalid syntax.  Thanks to Phillip Lord for
743         the report and the suggested fix.
745         * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
746         beginning of table-el regexp.  This fixes a bug where Muse stalls
747         when trying to publish a malformed table.  Thanks to Ye Wenbin for
748         the report and the suggested fix.
750 2007-07-12  Michael Olson  <mwolson@gnu.org>
752         * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
753         default, rather than the empty string.  This really fixes the bug
754         that occurred when using Muse with muse-project-alist set to nil.
755         Thanks to Jonathan Underwood for the report.
756         (muse-wiki-update-interwiki-regexp): Set
757         muse-wiki-interwiki-regexp to nil if muse-project-alist is not
758         defined.
759         (muse-wiki-handle-implicit-interwiki)
760         (muse-wiki-handle-explicit-interwiki): Handle case where
761         muse-wiki-interwiki-regexp is nil.
763 2007-07-10  Michael Olson  <mwolson@gnu.org>
765         * lisp/muse-mode.el (muse-grep): Abort search if the current
766         project contains no directories.
768         * lisp/muse-project.el (muse-project-file-alist): If
769         muse-project-alist is not defined, or project is nil, return nil
770         right away.  This ought to fix a bug that occurred when using Muse
771         with muse-project-alist set to nil.
772         (muse-project-of-file): Make sure muse-project-alist is not nil.
773         (muse-project-save-buffers): Make sure project is not nil.
775         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
776         case where muse-project-alist is nil.
778         * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
779         for XEmacs, since color-theme.el is poorly behaved, and defines
780         its own replace-in-string.  Bad color-theme.el -- no cookie for
781         you.
783 2007-07-01  Michael Olson  <mwolson@gnu.org>
785         * Makefile (.PHONY): Update for new debian package rules.
787         * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
789         * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
790         Use save-restriction properly.
791         (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
793         * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
794         (muse-latex-fixup-citations): Re-indent.  Use save-restriction
795         properly.
796         (muse-latex-bibliography): Re-indent.
798         * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
799         higher.  This fixes an error at startup with some versions of
800         Emacs.
801         (muse-publish-cite-tag): Re-indent.
803         * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
804         to the end of the link part, so as to exclude the description from
805         the match.  This fixes a bug with three-part links that have
806         descriptions.  Thanks to everyone who pointed it out.
808 2007-06-18  Michael Olson  <mwolson@gnu.org>
810         * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
811         (muse-xhtml1.1-markup-strings): New option that specifies XHTML
812         1.1 specific markup strings.
813         (muse-html-insert-anchor): Use 'anchor string, rather than
814         hard-coding it.  Thanks to Chris Corsair for the suggestion.
815         ("xhtml1.0"): New style that is an alias for the xhtml style.
816         ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
818 2007-06-17  Michael Olson  <mwolson@gnu.org>
820         * examples/QuickStart.muse: Make images local so that the Info
821         version of this document works.  Add <example> for the Literal
822         paragraphs chapter, so that it is clear what is happening.
824         * Makefile: Add elpa target, which is used for building an ELPA
825         package for Muse.
827         * Makefile.defs (ELPADIR, ELPADESC): New variables used for
828         building ELPA packages.
830         * examples/Makefile (%.html, %.pdf, %.info): Add message to
831         indicate what we are publishing.
832         (realclean distclean fullclean): Remove all TeX crud.
834         * examples/emacs-muse.png, examples/muse-made-with.png: Include so
835         that the Info version of QuickStart can publish correctly.
837         * lisp/muse-latex.el (muse-latex-slides-header)
838         (muse-latex-lecture-notes-header): Docfix.
840         * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
841         the list of things to ignore.
843         * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
844         variable.
846         * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
847         default to nil, since texinfmt.el is a serious nuisance.
848         (muse-texinfo-markup-strings): Add newlines to begin-example and
849         end-example.
850         (muse-texinfo-decide-specials): Also escape URL-type specials in a
851         whole slew of other contexts.
853         * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
854         muse-xml.
856         * lisp/muse-xml.el (muse-xml-footer): Docfix.
858         * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
860 2007-06-16  Michael Olson  <mwolson@gnu.org>
862         * etc/IDEAS.muse: Add some ideas from David D. Smith.
864         * examples/QuickStart.muse: Overhaul.
866         * lisp/muse-project.el (muse-project): Call the last part of a
867         muse-project-alist entry "Output styles" rather than "styles".
869         * lisp/muse-publish.el (muse-publish-table-fields): Handle case
870         where we have a pipe character at the beginning of line.
872         * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
873         causing tables to not be sorted at all.
875         * texi/muse.texi: Overhaul.  It would be too time-consuming to
876         list all of the changes here.  The "Getting Started" and
877         "Projects" chapters, in particular, were heavily revised.
879 2007-06-15  Michael Olson  <mwolson@gnu.org>
881         * NEWS: Update.
883         * examples/QuickStart.muse: Mention new features.
885         * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
886         Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
887         terminal, and C-c TAB is more important.  Most people will not
888         want to toggle images on and off that often.
890         * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
891         C-i as well, so that it works in the terminal.
893         * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
894         look a bit tidier when removing the region.
896         * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
897         list regexp part before other parts.
898         (muse-ol-item-regexp): New regexp that specifies how to match an
899         ordered list item.
900         (muse-ul-item-regexp): New regexp that specifies how to match an
901         unordered list item.
902         (muse-table-field-regexp): New regexp that specifies how to match
903         a definition list entry.
905         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
906         lack of support for @headitem in texinfmt.el.
908         * lisp/muse.el: Wrap muse-line-beginning-position and
909         muse-line-end-position in `eval-and-compile', since they are now
910         used in muse.el.
911         (muse-list-item-type): Use a simpler algorithm for detecting which
912         kind of list item we have.  This fixes a bug where a number in a
913         definition list term was being detected incorrectly as an ordered
914         list item.  Fixes bug #6250.
915         (muse-forward-list-item): Get the entire line with the list item.
916         For some reason, Emacs 21 was not populating match 2 correctly,
917         unlike Emacs 22, so this workaround was needed.
919         * texi/muse.texi: (Keystroke Summary): Remove C-c
920         C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
921         alternative keybinding to the C-c TAB stuff.  Mention
922         muse-colors-toggle-inline-images.
924 2007-06-14  Michael Olson  <mwolson@gnu.org>
926         * README: Mention that RelaxNG schema is in etc/ directory.
928         * etc/emacs-wiki-migration.txt: New document that explains how to
929         migrate from emacs-wiki to Muse.
931         * etc/muse.rnc: Increment version number to 1.0.  Fix several
932         nested emphasis and nested lists edge cases.  Move here from
933         examples/.
935         * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
936         same thing as C-c C-S-t, since the former works better in the
937         console.  Thanks to Leo for the suggestion.
939         * lisp/muse-publish.el (muse-publish-markup-table)
940         (muse-publish-markup-table-el): Include a newline in the return
941         string, so that paragraph detection does not get confused.
943         * lisp/muse.el (muse-with-temp-buffer): Docfix.
945         * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
946         keybinding.
948 2007-06-13  Michael Olson  <mwolson@gnu.org>
950         * etc/IDEAS.muse: Mark three-part-links item as done.
952         * experimental/muse-message.el: Remove guard for muse-define-style
953         calls.
955         * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
956         markup rules were being interpreted in reverse order.  This should
957         make implicit interwiki links work properly again.
958         (muse-link-face): Strip anchor from end of a path, so that this
959         works with anchors in interwiki links.
960         (muse-colors-insert-image): Catch error that occurs in Emacs 21
961         when an image does not exist.
963         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
964         anchors.
965         (muse-wiki-handle-implicit-interwiki): Docfix.  Make anchors in
966         interwiki links work.  Thanks to Jim Ottaway for the initial
967         implementation.
968         (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
969         links work.
971         * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
972         about match 0.
973         (muse-handle-explicit-link): Docfix: this does not modify the
974         match data.
975         (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
976         that has the regexp in its car.
978 2007-06-12  Michael Olson  <mwolson@gnu.org>
980         * README: Document new etc/ directory.
982         * etc/IDEAS.muse: Install things from new contributors just after
983         the 3.03 release, since I won't have time to review the code
984         before the release.  Move to new etc/ directory.  Slides
985         publishing has been installed.
987         * lisp/muse-latex.el (muse-latex-slides-header): New option that
988         determines the header to use for publishing slides.
989         (muse-latex-lecture-notes-header): New option that determines the
990         header to use for publishing lecture notes.
991         (muse-latex-slides-markup-tags): New option containing tags to use
992         when publishing slides.
993         (muse-latex-permit-contents-tag): Move higher in file.
994         (muse-latex-slide-tag): New function to publish the <slide> tag.
995         ("slides", "slides-pdf"): New publishing styles that create slides
996         using Beamer.
997         ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
998         create lecture notes using Beamer.
1000         * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
1001         since otherwise Planner is not happy when `plan' is called during
1002         init.  Remove stray quote from autoload snippet.
1004 2007-06-11  Michael Olson  <mwolson@gnu.org>
1006         * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
1007         autoload, rather than having it exist at top-level.  Thanks to Leo
1008         for the suggestion.
1009         (muse-update-file-extension): Docfix.
1011 2007-06-10  Michael Olson  <mwolson@gnu.org>
1013         * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
1014         URLs were being removed during publishing.  Thanks to everyone who
1015         reported this.
1017 2007-06-09  Markus Hoenicka <markus.hoenicka@mhoenicka.de>
1019         * lisp/muse-book.el
1020         * lisp/muse-docbook.el
1021         * lisp/muse-latex.el
1022         * lisp/muse-publish.el: added support for <cite> element which
1023         denotes in-text citations
1025         * lisp/muse-html.el
1026         * lisp/muse-groff.el
1027         * lisp/muse-texinfo.el
1028         * lisp/muse-xml.el: added support for <cite> element (stub)
1030 2007-06-06  Michael Olson  <mwolson@gnu.org>
1032         * lisp/muse-regexps.el (muse-table-line-regexp)
1033         (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
1034         regexps so that they work with XEmacs 21.  Thanks to Adrian
1035         Tritschler for the report.
1037         * texi/muse.texi: Update copyright years.
1038         (HTML): Document muse-xhtml-style-sheet.  Thanks
1039         to thorne for noticing.
1040         (Development): Change archive year to 2006.  Thanks to Adrian
1041         Tritschler for noticing.  So *that's* why some people had the 2005
1042         version ....
1044 2007-06-05  Michael Olson  <mwolson@gnu.org>
1046         * Makefile (install-info): Remove $(MANUAL).info part, since this
1047         is taken care of already by texi/Makefile.  Thanks to Leo for the
1048         report.
1050         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
1051         read-only properties to qotd contents, so that they don't get
1052         double-escaped.  Thanks to Leo for the report.
1054 2007-06-04  Michael Olson  <mwolson@gnu.org>
1056         * lisp/muse-colors.el (muse-link-face): If the link is to a remote
1057         -- that is, Tramp or ange-ftp -- file, then do not call
1058         file-exists-p on it.  Thanks to Jim Ottaway for the suggestion.
1059         Fixes bug #5115.
1061         * lisp/muse-html.el (muse-html-insert-contents): Add
1062         documentation.  Handle case where heading is read-only, but has
1063         muse-contents property.  Remove the muse-contents property for any
1064         heading we come across so as to avoid double-including an item in
1065         an outer table of contents.
1066         (muse-html-denote-headings): New function that denotes whether a
1067         heading is not read-only by adding the muse-contents property to
1068         it.
1069         (muse-html-munge-buffer): If we are not to generate contents,
1070         still denote headings, in case some outer layer wants to generate
1071         contents for our headings.  This should fix a bug with table of
1072         contents and the <include> tag.  Thanks to thorne for the report.
1074         * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
1075         muse-publish-generate-contents and set it to nil.  This should
1076         do the right thing when using <include> tags.
1078 2007-06-02  Michael Olson  <mwolson@gnu.org>
1080         * NEWS: Update for non-inlined image change and support for
1081         table.el style tables.
1083         * examples/Makefile (clean): Clean backup files.
1085         * examples/QuickStart.muse (Images): New section that describes
1086         how to inline and not inline images.
1088         * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
1089         touch images that have "URL:" in front of them.
1091         * lisp/muse-protocols.el (muse-url-protocols): Add handler for
1092         "URL:".  Use the identity function to resolve, since we don't want
1093         to rip "URL:" out while publishing, due to some magic that depends
1094         on that text.
1095         (muse-browse-url-url): New function that browses URLs that have
1096         "URL:" in front of them, by removing the "URL:" part and
1097         reprocessing the remainder.
1099         * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
1100         (muse-publish-url): Recognize images in the description before
1101         images in the link.  Fixes bug #5112.  Thanks to Thomas Kappler
1102         for the suggested workaround.
1103         (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
1104         default value.
1105         (muse-publish-classify-url): If target begins with "URL:" return
1106         type url.
1107         (muse-publish-strip-URL): New function that strips "URL:" from the
1108         beginning of a string.  This is used to remove URL: from the link
1109         description.  * texi/muse.texi (Markup Strings): Clarify the
1110         meanings of image-link, link, and link-and-anchor.
1111         (muse-publish-markup-regexps): Move normal table rule to 2350.
1112         Rule 2300 is now a regexp that matches table.el-style tables.
1113         (muse-publish-markup-functions): Add table-el entry.
1114         (muse-publish-table-el-table): New function that given a variant,
1115         publishes a table.el-style table using the table in the matched
1116         region.
1117         (muse-publish-markup-table-el): New function that determines
1118         whether the table.el-style table can be published, and what
1119         variant to use.
1121         * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
1122         the borders of table.el-style tables.
1124         * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
1125         the table has sufficient whitespace in front of it.
1127         * texi/muse.texi (Images): Update for new non-inlined image
1128         ability and provide example.
1130 2007-05-31  Michael Olson  <mwolson@gnu.org>
1132         * NEWS: Add example for setting `muse-html-table-attributes'.
1134         * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
1135         Publish multiple tbody tags if there is a horizontal separator
1136         after the heading, because that is valid HTML after all.
1138 2007-05-30  Michael Olson  <mwolson@gnu.org>
1140         * NEWS: Update.
1142         * lisp/muse-latex.el (muse-latex-markup-table): Deal with
1143         horizontal separators in tables.
1145         * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
1146         horizontal separators in tables.
1147         (muse-publish-trim-table): New function to remove initial and
1148         final blank columns from a table.
1149         (muse-publish-table-fields): Call `muse-publish-trim-table'.  Deal
1150         with horizontal separators, aka "hlines".
1152         * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
1153         defines the syntax of a horizontal separator in a table.
1155         * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
1156         horizontal separators.  Publish header lines correctly.
1158         * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
1159         where we have nonnumbers as a row type.  This ignores sorting for
1160         hlines.
1161         (muse-xml-markup-table): Deal with horizontal separators.  If the
1162         markup supports table groups, make hlines separate table groups.
1163         Otherwise, ignore them, since they cannot be marked up.  Together,
1164         these changes allow us to support orgtbl-mode tables.  Thanks to
1165         Carsten Dominik for the suggestion.
1167 2007-05-26  Michael Olson  <mwolson@gnu.org>
1169         * lisp/muse-project.el (muse-project-alist-styles): Allow for
1170         other things to be added to each generated style as well.  For
1171         example, this permits me to add
1172         :base-url "http://blog.mwolson.org/"
1173         for my blog.
1175 2007-05-25  Michael Olson  <mwolson@gnu.org>
1177         * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
1178         way of building Debian packages that preserves the original
1179         release tarball and is more modular.
1180         (debrevision, debrelease): Remove.
1181         (dist): No need to remove the debian/ directory, since it is now
1182         in its own branch.
1183         (debprepare): Copy over debian/ directory properly.
1185         * NEWS: Update.
1187         * examples/Makefile (clean): Remove QuickStart.texi, in case
1188         something went wrong during the build.
1189         (%.pdf): Publish the example using the normal pdf style, rather
1190         than info-pdf.
1192         * examples/QuickStart.muse: Add myself to the authors list.
1194         * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
1195         sufficient blank lines before the tag.
1197         * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
1198         we have sufficient blank lines before the tag.
1200         * lisp/muse-latex.el (muse-latex-pdf-program): New option that
1201         specifies the program to call in order to generate PDF content
1202         from LaTeX content.
1203         (muse-latex-pdf-cruft): New option that specifies the extensions
1204         of files to remove after generating PDF output successfully.
1205         (muse-latex-pdf-generate): Use these new options.  Work around the
1206         annoying edge case where a tilde character exists in the filename
1207         or directory path -- now this can only error out when the relative
1208         path from the output file to the source file contains a tilde,
1209         which is far less likely.
1211         * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
1212         muse-publish-ensure-block here after all, because <lisp> et al may
1213         occur inline as part of other things.
1215         * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
1216         occur after full-document escaping, rather than before.  This
1217         prevents automatically-inserted Texinfo code from being escaped.
1218         (muse-texinfo-pdf-generate): Rewrite to call
1219         `muse-latex-pdf-generate' with pdftex as the generating binary,
1220         because texi2pdf suffers irredeemably from the tilde edge case
1221         mentioned above.
1223 2007-05-24  Michael Olson  <mwolson@gnu.org>
1225         * NEWS: Drop vague entries and position interesting entries closer
1226         to the top of each section.  Update for new changes.
1228         * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
1229         and bzr metadata directories to the list of things to ignore.
1231         * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
1232         `muse-publish-ensure-block-tag', since we will use it for more
1233         than just tags.
1234         (muse-publish-markup-list, muse-publish-verse-tag)
1235         (muse-publish-quote-tag, muse-publish-example-tag)
1236         (muse-publish-markup-attribute): Use it.  This fixes a bug that
1237         can occur when these types of markup occur immediately after a
1238         paragraph.  It's good to have defined behavior!
1240         * texi/muse.texi (Markup Strings): Mention new argument for
1241         link-and-anchor.
1243 2007-05-19  Michael Olson  <mwolson@gnu.org>
1245         * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
1246         published footnotes and footnote references.  Thanks to Scott
1247         Jaderholm for the idea.
1249         * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
1250         link-and-anchor, on the recommendation of the original submitter.
1252 2007-05-14  Michael Olson  <mwolson@gnu.org>
1254         * lisp/muse-latex.el (muse-latex-markup-strings): Use better
1255         link-and-anchor markup.  Thanks to Jean Magnan de Bornier for the
1256         suggestion.
1258         * lisp/muse-publish.el (muse-publish-url): Pass the url without a
1259         file extension as the fourth argument.
1261         * README, texi/muse.texi (Getting Help and Reporting Bugs):
1262         Mention the new muse-el-logs mailing list.
1264 2007-05-13  Michael Olson  <mwolson@gnu.org>
1266         * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
1267         "\`" here.  This fixes a problem with publishing custom URLs.
1269 2007-05-12  Michael Olson  <mwolson@gnu.org>
1271         * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
1272         update the list if the current buffer is associated with a file.
1273         This fixes a bug with M-x muse-publish-region in a temporary
1274         buffer.
1276 2007-05-01  Michael Olson  <mwolson@gnu.org>
1278         * lisp/muse-publish.el (muse-publish-region): Remove read-only
1279         properties from the published buffer, so that the results can be
1280         manually tweaked.
1282 2007-04-23  Michael Olson  <mwolson@gnu.org>
1284         * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
1285         find the footnote that goes with a reference, leave the reference
1286         as-is.  This fixes an error where control characters could be
1287         placed in a published document.
1289 2007-04-22  Michael Olson  <mwolson@gnu.org>
1291         * IDEAS.muse: Add muse-slides.el to list of things to include
1292         before release.
1294         * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
1295         character.
1296         (muse-protocol-find): Find protocols correctly.  Rewrite to use
1297         catch/throw.
1298         (muse-browse-url): Don't concatenate "\`" here.  Together, this
1299         fixes a bug with browsing woman:// links.
1301         * lisp/muse-project.el (muse-project-alist-styles): Deal with case
1302         where entry-dir has a trailing backslash.
1303         (muse-project-publish-file): If a style is malformed, skip it and
1304         display a warning message.  This should help people figure out
1305         where the problem is.
1307 2007-04-21  Michael Olson  <mwolson@gnu.org>
1309         * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
1310         yet-to-be-included "contex" publishing style, use "$$" rather
1311         than "\[" and "\]".  Thanks to Jean Magnan de Bornier for pointing
1312         this out.
1314 2007-04-20  Michael Olson  <mwolson@gnu.org>
1316         * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
1317         variable that causes the :before and :before-end hooks to be
1318         ignored when non-nil.
1319         (muse-publish-markup-region): Use it.  Also, guarantee that point
1320         is at end of region after publishing.
1321         (muse-publish-mark-up-tag): Simplify, taking advantage of the new
1322         variable.
1324 2007-04-19  Michael Olson  <mwolson@gnu.org>
1326         * IDEAS.muse: New file containing a list of ideas we have for new
1327         features, or patches that have yet to be applied.
1329         * README: Call it "Emacs Muse", not "the Emacs Muse".  No need to
1330         be so confusing.
1332         * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
1333         docstring.
1335         * lisp/muse-publish.el (muse-publish-markup-tags): Handle
1336         <literal> tags with muse-publish-literal-tag, rather than
1337         muse-publish-mark-read-only.
1338         (muse-publish-literal-tag): New function that publishes the
1339         <literal> tag.  It adds the ability to add the optional "style"
1340         and "exact" elements, which cause text to only be included if the
1341         current publishing style matches some criteria.  The text will be
1342         removed otherwise.  Thanks to Jim Ottaway for the implementation.
1343         (muse-publish-mark-up-tag): Let the <markup> tag take the
1344         additional optional elements "style" and "exact", with much the
1345         same effect as the <literal> improvements, but after calling
1346         "function" or publishing the region first.  Make it possible to
1347         put <content> tags in <markup> regions in HTML publishing.
1349 2007-04-12  Michael Olson  <mwolson@gnu.org>
1351         * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
1352         that a blank line always exists after a heading.  This fixes a bug
1353         in Docbook paragraph detection.  Thanks to Jean Magnan de Bornier
1354         for the report.
1356         * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
1357         detection regexp to that which is used in Docbook and HTML
1358         publishing styles.
1360 2007-04-02  Michael Olson  <mwolson@gnu.org>
1362         * README (muse-el-announce): Make a listing of mailing lists,
1363         rather than pointing to the old EmacsWikiMailingList page.  Thanks
1364         to Andreas Roehler for noticing.
1366 2007-04-01  Michael Olson  <mwolson@gnu.org>
1368         * lisp/muse-publish.el (muse-publish-date-format): Add
1369 `       customization type and group.
1370         (muse-publish-region): New interactive function that publishes a
1371         region to a new buffer.
1373         * texi/muse.texi: Use "document" rather than "manual".
1375 2007-03-31  Michael Olson  <mwolson@gnu.org>
1377         * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
1378         expression (muse-style-derived-p "latex" (muse-style "latex"))
1379         yielded nil.  It now yields t, as expected.  Thanks to Jim Ottaway
1380         for the catch.
1382 2007-02-25  Michael Olson  <mwolson@gnu.org>
1384         * lisp/muse-publish.el (muse-publish-date-format): New option that
1385         specifies how to format the date when publishing Muse pages.
1386         Thanks to Thomas Gehrlein for the suggestion.
1387         (muse-publish-markup-buffer): Use it.
1389 2007-02-23  Michael Olson  <mwolson@gnu.org>
1391         * README: Add Prerequisites section to mention which versions of
1392         Emacs work with Muse.  Thanks to Exal de Jesus Garcia Carrillo for
1393         the suggestion.  Update link destination for Muse's page on
1394         emacswiki.org.
1396 2007-02-15  Michael Olson  <mwolson@gnu.org>
1398         * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
1399         be not just at beginning of line.  This fixes an error with the
1400         <class> tag.  Thanks to Jim Pivarski for the report.
1402 2007-02-14  Michael Olson  <mwolson@gnu.org>
1404         * lisp/muse-publish.el (muse-publish-classify-url): Check to see
1405         whether something is an image before checking to see if it is a
1406         URL.  Thanks to ITSUMI ken-ichi for the report.
1408 2007-02-13  Michael Olson  <mwolson@gnu.org>
1410         * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
1411         comments that have no text better.  Thanks to fang.lungang for the
1412         report.
1413         (muse-publish-markup-comment): Deal with case where no comment
1414         text is provided.
1416 2007-01-23  Michael Olson  <mwolson@gnu.org>
1418         * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
1419         that ensures that at least one blank line exists at the given
1420         position.  This is used to avoid paragraph detection problems when
1421         block-level tags like <example> immediately follow a paragraph.
1422         Thanks to Hans Ekbrand for the report.
1423         (muse-publish-example-tag): Use it.
1425 2007-01-19  Michael Olson  <mwolson@gnu.org>
1427         * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
1428         previous blank line if we are publishing in Latex.  Otherwise,
1429         that wouldn't be the right thing, so leave it be.
1431 2007-01-17  Michael Olson  <mwolson@gnu.org>
1433         * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
1434         multiple centered math lines on the same line; keep them on
1435         different lines.  Use \[ math-text \] instead of $$math-text$$,
1436         since the latter seems to be deprecated.  Thanks to Jody Klymak
1437         for the pointer.
1439 2007-01-15  Michael Olson  <mwolson@gnu.org>
1441         * lisp/muse-latex2png.el (muse-publish-latex-tag)
1442         (muse-publish-math-tag): Publish region read-only when current
1443         style is Latex-derived, so that Muse does not escape it.
1444         (muse-publish-math-tag): If 6 or more spaces come before the tag,
1445         surround the region with "$$" rather than "$".  This is the Muse
1446         syntax for something centered, so it should be a good fit.
1448 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
1450         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
1451         protocol.
1452         (muse-browse-url-man): Change man page URL format.  The code is
1453         simpler when the section is left inside parentheses.
1454         (muse-browse-url-woman): New function.
1456 2007-01-14  Michael Olson  <mwolson@gnu.org>
1458         * AUTHORS: Bookkeeping.
1460         * lisp/muse-latex2png.el: Associate <math> tag with
1461         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
1462         Klymak for the report.
1463         (muse-publish-math-tag): Use muse-insert-markup for the "$"
1464         characters, so they don't get escaped.
1466         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
1467         make muse-style-derived-p easier to implement.
1468         (muse-style-derived-p): If the style is not provided, fetch it and
1469         check to see if the car is a string.  This should fix the other
1470         problem that was reported.
1472         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
1473         explains a case where setting muse-file-extension to nil can cause
1474         unexpected behavior.
1476 2007-01-09  Michael Olson  <mwolson@gnu.org>
1478         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1479         comments higher priority than tags.  Thanks to Stefan van der Walt
1480         for the report.
1482 2007-01-08  Michael Olson  <mwolson@gnu.org>
1484         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1485         argument rather than calling match-string.  Thanks to Stefan van
1486         der Walt for the report.  This should fix a bug with publishing
1487         <include file="..." markup="example">.
1489 2007-01-06  Michael Olson  <mwolson@gnu.org>
1491         * Makefile (debclean): New rule split from debrevision and
1492         debrelease.
1493         (debbuild): Take distributor into account.
1495         * Makefile.defs (DISTRIBUTOR): New field that tracks what
1496         vendor/distributor we are building for.
1498 2007-01-04  Michael Olson  <mwolson@gnu.org>
1500         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1501         line.
1503         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1504         point to muse-publish-src-tag by default, since <src> and
1505         <example> have different parameters.
1506         (muse-publish-src-tag): New barebones publishing function for
1507         <src>, which is superseded when publishing in an HTML-based style.
1509 2007-01-03  Michael Olson  <mwolson@gnu.org>
1511         * lisp/muse-html.el (muse-html-src-tag): Document.
1513         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1514         command that calls a given tag on the current buffer.  Attributes
1515         may be passed.
1516         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1517         it.
1518         (muse-publish-srcify-buffer): New function that allows
1519         markup="src" in the <include> tag.
1520         (muse-publish-get-and-delete-attr): New macro that gets an
1521         attribute from a list and removes the first instance of that
1522         attribute from said list.
1523         (muse-publish-markup-attribute): Handle markup="src".
1524         (muse-publish-command-tag, muse-publish-include-tag): Use
1525         muse-publish-get-and-delete-attr.  This allows the remaining
1526         attributes to be passed.
1528         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1529         as changes to <command> and <include>.
1531 2006-12-30  Michael Olson  <mwolson@gnu.org>
1533         * NEWS: Update.
1535         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1536         from muse-publish-math-tag to avoid conflict with
1537         muse-latex2png.el.
1539 2006-12-23  Michael Olson  <mwolson@gnu.org>
1541         * lisp/muse-latex2png.el: Update header, since this has been
1542         rewritten sufficiently to not need an assignment from the original
1543         author.
1544         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1545         (muse-latex2png): Use two underscores to separate prefix and hash.
1546         (muse-latex2png-region): New function split from
1547         muse-publish-latex-tag that can be used easily by other code.
1548         Detect whether we are using an HTML-based publishing style, and
1549         insert a simpler markup if we are not.  If we are using a
1550         Latex-based publishing style, do not generate an image, and leave
1551         the region alone.  Return the path of the generated image, in case
1552         other functions want to use this programmatically.
1553         (muse-publish-latex-tag): Set a default prefix based on the name
1554         of the current file.
1555         (muse-publish-math-tag): New tag that surrounds the region with
1556         "$" characters, so that it becomes a Latex math region, and then
1557         publishes it.
1559         * lisp/muse-publish.el (muse-style-derived-p): New function that
1560         returns non-nil if a given style, or the current style if omitted,
1561         is equal to or derived from the given base style.  This is useful
1562         in <lisp> tags, because it allows the user to specify markup that
1563         is only to be inserted for one particular style.
1565 2006-12-22  Michael Olson  <mwolson@gnu.org>
1567         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1568         (muse-html-src-tag): New function which publishes the <src> tag.
1569         Thanks to Clinton Ebadi and Charles Wang for the initial
1570         implementations.
1572         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1574 2006-12-21  Michael Olson  <mwolson@gnu.org>
1576         * examples/johnw/muse-johnw.el: Update for preferred
1577         muse-derive-style usage.  Rename to muse-init.el.
1579         * examples/mwolson/muse-init.el: Update.
1581         * lisp/muse-book.el (muse-book-publish): New function split from
1582         muse-book-publish-project.  This is used in the definitions for
1583         the book-latex and book-pdf styles.
1584         (muse-book-publish-p): New function split from muse-book-publish.
1585         (muse-book-get-directives): New function that retrieves the
1586         publishing directives from the given file.
1587         (muse-book-publish): Use muse-book-get-directives to set the title
1588         if no title was specified.
1590         * lisp/muse-project.el (muse-project): Add :publish-project entry
1591         to widget.
1592         (muse-read-project, muse-project-find-file): Message fix.
1593         (muse-project-publish-file-default): New function split from
1594         muse-project-publish-file.
1595         (muse-project-publish-file): Allow file-level publishing function
1596         to be specified by the :publish element.  The default is
1597         muse-project-publish-file-default.
1598         (muse-project-publish-default): New function split from
1599         muse-project-publish.
1600         (muse-project-publish): Allow project-level publishing function to
1601         be specified by :publish-project element.  The default is
1602         muse-project-publish-default.
1604         * lisp/muse-publish.el (muse-publish-file): Message fix.
1606         * texi/muse.texi (Book): Mention new way to publish books and
1607         provide an example, since the process may be non-obvious.
1609 2006-12-20  Michael Olson  <mwolson@gnu.org>
1611         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1612         content-modifying code from the rest of
1613         muse-docbook-finalize-buffer.
1615         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1616         muse-groff-finalize-buffer, since it adds content to the buffer.
1618         * lisp/muse-html.el (muse-html-munge-buffer): Split out
1619         content-modifying code from the rest of muse-html-finalize-buffer.
1620         This fixes a bug when using <include> with <content> tags.
1622         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1623         (muse-journal-latex-munge-buffer)
1624         (muse-journal-rss-munge-buffer): Rename, since they add content to
1625         the buffer.
1627         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1628         muse-latex-finalize-buffer, since it adds content to the buffer.
1630         * lisp/muse-mode.el:
1631         * lisp/muse-project.el:
1632         * lisp/muse-publish.el:
1633         * lisp/muse.el: Fix recursive load error.
1635         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1636         muse-texinfo-finalize-buffer, since it adds content to the buffer.
1638         * lisp/muse-wiki.el: Comment cleanup.
1640         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1642 2006-12-17  Michael Olson  <mwolson@gnu.org>
1644         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1645         Remove the definition of \comment, since Latex already has comment
1646         syntax.
1647         (muse-latex-markup-strings): Use the Latex comment syntax, rather
1648         than our own.  Thanks to Ryan Stutsman for pointing this out.
1650 2006-12-02  Michael Olson  <mwolson@gnu.org>
1652         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1653         that this can generate a proper table of contents for Planner HTML
1654         publishing.
1656 2006-12-01  Michael Olson  <mwolson@gnu.org>
1658         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1659         using a very old Emacs, avoid an infinite loop that could occur
1660         when the regexp is an empty string.
1662 2006-11-26  Michael Olson  <mwolson@gnu.org>
1664         * NEWS: Bring up to date.
1666         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1667         list issues and multiple-stanza verse issues.  This takes care of
1668         all of the markup issues I was worried about.
1670         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1671         (muse-project-publish-private-files): New option that indicates
1672         whether files with private filesystem permissions should be
1673         published.  The default is to publish them, since it avoids
1674         confusion in new users.
1675         (muse-project-private-p): Use it.
1677 2006-11-19  Michael Olson  <mwolson@gnu.org>
1679         * lisp/muse-project.el (muse-project-resolve-link): If no remote
1680         style is found, which means that the link is not a Muse page, do
1681         not add a suffix or prefix to it.  This should fix the
1682         "[[thing.owl]]" bug that Phillip Lord reported.
1684         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1685         removing unused 2nd argument.
1687 2006-11-17  Michael Olson  <mwolson@gnu.org>
1689         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1690         latex publishing where nested enumerated lists would be squashed
1691         together at the end.
1693 2006-11-16  Michael Olson  <mwolson@gnu.org>
1695         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1696         list embedded in a definition list look right.  This also allows
1697         for definitions to be separated from their terms, much like the
1698         way HTML does it by default, if the user puts a blank line or a
1699         line break between the term and the definition.  If the term and
1700         definition are on the same line, they will be that way in the
1701         output as well.
1703 2006-11-11  Michael Olson  <mwolson@gnu.org>
1705         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
1706         for the report.
1707         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1709 2006-11-07  Michael Olson  <mwolson@gnu.org>
1711         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1712         release candidate for Muse 3.03, available.
1714         * NEWS: Update.
1716 2006-11-06  Michael Olson  <mwolson@gnu.org>
1718         * lisp/muse-project.el (muse-project-find-file): Fix bug when
1719         following a relative link worked even when the path was incorrect.
1721 2006-11-04  John Sullivan  <john@wjsullivan.net>
1723         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1724         muse-follow-name-at-point to reduce collisions with other
1725         modes (Planner).
1727         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1729 2006-11-04  Michael Olson  <mwolson@gnu.org>
1731         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1732         optional, and make interwiki delimiter a regular rather than shy
1733         group.
1734         (muse-wiki-handle-implicit-interwiki): Rename from
1735         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
1736         (muse-wiki-handle-explicit-interwiki): New function that is
1737         smarter about where an explicit link ends in a buffer.  This
1738         allows you to refer to page names with invalid Wiki characters,
1739         such as underscores and dashes, merely by enclosing them in double
1740         brackets.  Also, a bug with recognizing project names too loosely
1741         has been fixed.
1743 2006-11-03  Michael Olson  <mwolson@gnu.org>
1745         * lisp/muse-project.el (muse-project-page-file): Make relative
1746         links work as expected, hopefully.
1748         * lisp/muse-publish.el (muse-publish-this-file): Set the current
1749         output style manually, since it will differ from anything in the
1750         publishing style list.
1752 2006-10-30  Michael Olson  <mwolson@gnu.org>
1754         * lisp/muse-colors.el (muse-colors-markup): Remove note about
1755         grouping elements, since that no longer applies.
1756         (muse-colors-custom-tags): Explicitly match against
1757         muse-tag-regexp to get the match-data set the way we want.  This
1758         really fixes the <example> highlighting bug that Stefan reported.
1759         (muse-configure-highlighting): Set the original value to the
1760         symbol, not the modified value.  Re-use modified rules properly.
1762         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1763         introduced yesterday.
1765 2006-10-29  Michael Olson  <mwolson@gnu.org>
1767         * examples/mwolson: Update my example configuration.
1769         * NEWS: Update.
1771         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1772         without a regexp in the first position before iterating through
1773         them to build muse-colors-vector.  This fixes a bug with the
1774         display of <example> tags.  Thanks to Stefan Reichör for the
1775         report.
1777         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1778         files in projects to be linked to.
1780         * lisp/muse-publish.el (muse-publish-url): Allow the original link
1781         to serve as a description for a URL, as long as it differs from
1782         the destination URL.  This fixes the description of WikPage links
1783         in PDF output.
1784         (muse-publish-link-file): Check to see whether the given link
1785         points at a valid file.  If so, return it.  Otherwise, apply other
1786         transforms like prefix and link suffix.
1788         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1789         "/", it is a file or directory, not a Muse page.  Thanks to
1790         Phillip Lord for the suggestion.
1792         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1793         of the current page as the local path, instead of duplicating the
1794         remote file's path.  This probably fixes at least one reported
1795         bug. since it's quite major.
1796         (muse-wiki-update-project-file-regexp)
1797         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1798         passed to regexp-opt, since that can cause Emacs 21 to throw an
1799         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
1800         DOT edu for the report.
1801         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1803 2006-10-28  Michael Olson  <mwolson@gnu.org>
1805         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1806         (muse-project-resolve-link): If the given style does not have a
1807         link-suffix, default to suffix.  This fixes a bug I was noticing
1808         when linking to a file that was published in both PDF and HTML
1809         form.
1811         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1812         function that is used as a callback to determine the initial
1813         amount of indentation that the current dl item has.
1814         (muse-publish-surround-dl): Use it.  Pass the initial indent value
1815         and the post-indent value, instead of trying to determine them
1816         both.
1817         (muse-publish-strip-list-indentation): New function stripped from
1818         `muse-publish-surround-text' for readability.
1819         (muse-publish-surround-text): Instead of taking a determine-indent
1820         value, take a determine-indent-func function, which is called just
1821         after finding the next list item.  If we are asked to determine
1822         the amount of indentation, concatenate indent and post-indent the
1823         first time around.  This effectively fixes all known definition
1824         list issues.
1826 2006-10-16  Michael Olson  <mwolson@gnu.org>
1828         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1829         other software -- namely, Planner -- can detect whether they are
1830         using a version of Muse that supports nested tags.
1831         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1832         muse-publish-goto-tag-end.
1834         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1835         Adapt for nested tags.
1837         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1838         <class> tag is nestable.  Thanks to Phillip Lord for noticing
1839         this.
1841         * lisp/muse-publish.el (muse-publish-markup-tag)
1842         (muse-publish-quote-tag): Use muse-goto-tag-end.
1844         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1846 2006-10-15  Michael Olson  <mwolson@gnu.org>
1848         * AUTHORS: Bookkeeping.
1850         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1851         tag.
1853         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1854         tags.
1856         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1858         * lisp/muse-import-docbook.el (muse-import-docbook)
1859         (muse-import-docbook-files): Docfix.
1860         (muse-import-docbook-get-title): Remove cl.el-ism.
1862         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1864         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1866         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1868         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1869         (muse-next-reference, muse-previous-reference): Minor whitespace
1870         changes.
1871         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
1872         the suggestion.
1874         * lisp/muse-poem.el (muse-poem-tag): Ditto.
1876         * lisp/muse-publish.el (muse-publish-markup-tags)
1877         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1878         element and make 4th element determine whether tags are nestable.
1879         (muse-publish-goto-tag-end): New function that moves to the end of
1880         a tag.  Handle nested tags when NESTED is non-nil.
1881         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
1882         5th element for function.
1883         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
1884         this on several scenarios, and it seems to work.
1885         (muse-publish-surround-text): Accept new optional argument
1886         LIST-ITEM which determines the regexp to use for list items.  The
1887         default is to use muse-list-item-regexp.
1889         * muse.texi (Markup Tags): Mention nestable tags.
1891         * NEWS: Mention new files.
1893 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
1895         * lisp/muse-import-docbook.el: New file that converts Docbook XML
1896         into Muse format.
1898         * lisp/muse-import-xml.el: New file that provides helper routines
1899         for converting XML-ish files to Muse format.
1901 2006-10-10  Michael Olson  <mwolson@gnu.org>
1903         * NEWS: Update for 3.02.7 bugfix release.
1905 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
1907         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1908         using the value in the muse #date directive.
1909         (muse-blosxom-use-metadate): New option that determines whether or
1910         not to use the #postdate directive.
1911         (muse-blosxom-format-date): Convert a date string to PyBlosxom
1912         metadate plugin format.
1914 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
1916         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1917         recognised URLs.
1919         * muse.texi: Clarify handling of implicit links by mentioning
1920         which characters can prevent Muse from recognizing something as an
1921         implicit link.
1923 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
1925         * lisp/muse-mode.el (muse-next-reference)
1926         (muse-previous-reference): Fix bug #6367 by moving point to the
1927         beginning of the link.
1929 2006-09-26  Michael Olson  <mwolson@gnu.org>
1931         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1932         beginning-of-line.  This should fix a bug that was noticed in
1933         recent Emacs 22 builds.
1935         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1936         eval-and-compile block to avoid a compiler warning.
1938 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
1940         * lisp/muse-backlink.el (muse-backlink-split-string):
1941         Compatibility with Emacs versions < 22
1942         (muse-backlink-pending): New internal variable
1943         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1944         that backlinks are inserted at the right time.
1945         (muse-backlink-insert-hook-func): Remove unwind-protection; check
1946         for pending backlink, and that this is the targe page.
1947         (muse-backlink-handle-link): Don’t handle the link if we are
1948         already handling one. Return the link as well as the parent links.
1950 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
1952         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1953         #6942 - muse-blosxom-new-entry fails when using tags.
1955 2006-09-14  Michael Olson  <mwolson@gnu.org>
1957         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1958         compiler warning.
1960 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
1962         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1963         function: Protect all wikiwords from START to END from further
1964         processing.
1965         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1967 2006-09-13  Michael Olson  <mwolson@gnu.org>
1969         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1970         adopted from Jim Ottaway's patch.  It removes links from the
1971         heading, and then marks the region read-only to inhibit WikiWord
1972         detection.
1974 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
1976         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1977         special handling for headings.
1978         (muse-texinfo-remove-links): New function that removes explicit
1979         links from the given strings, replacing them with a description.
1981 2006-09-11  Michael Olson  <mwolson@gnu.org>
1983         * muse.texi (Getting Help and Reporting Bugs): Mention the
1984         muse-el-internationalization mailing list.
1986         * lisp/muse.el (muse-path-sans-extension): New function that acts
1987         like file-name-sans-extension, but guarantees to never modify the
1988         directory part of the path.  Thanks to Evan Monroig for
1989         investigating this.
1991         * lisp/muse-book.el (muse-book-publish-project): Use
1992         muse-path-sans-extension instead of file-name-sans-extension.
1994         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1995         Ditto.
1997 2006-08-30  Michael Olson  <mwolson@gnu.org>
1999         * muse.texi (Blosxom Requirements): Fix typo.
2001         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
2002         directories for bzr and darcs.
2004         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
2005         contrib/pyblosxom/getstamps.py: Update version and headers.
2007 2006-08-27  Michael Olson  <mwolson@gnu.org>
2009         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
2010         nil values before they get to mapconcat.  This fixes a lockup when
2011         muse-wiki-match-all-project-files is nil.
2013         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
2014         (muse-wiki-ignore-implicit-links-to-current-page)
2015         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
2016         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
2017         (muse-wiki-publish-small-title-words)
2018         (muse-wiki-publish-pretty-title): Docfix.
2019         (muse-wiki-update-local-wikiword-regexp): Rename from
2020         muse-wiki-update-local-wikiword-regexp.  Set
2021         muse-wiki-project-file-regexp instead of
2022         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
2023         take muse-wiki-use-wikiword into account, since this is a
2024         different concept now.
2025         (muse-wiki-update-wikiword-regexp): Remove.
2026         (muse-wiki-wikiword-regexp): In-line the :set function.
2027         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
2029 2006-08-26  Michael Olson  <mwolson@gnu.org>
2031         * lisp/muse-publish.el (muse-publish-surround-text): When looking
2032         for indented list items, ignore blank lines.
2034         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
2035         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
2036         mapconcat.  This should hopefully fix a problem with large amounts
2037         of files with spaces in their name.  Thanks to Greg Detre for the
2038         report.
2040 2006-08-24  Michael Olson  <mwolson@gnu.org>
2042         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
2043         numbers from the argument to format-time-string.  This fixes an
2044         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
2046 2006-08-18  Michael Olson  <mwolson@gnu.org>
2048         * lisp/muse-project.el (muse-project-file-entries): Since we are
2049         given a full path, match against the filename as well.  This fixes
2050         an issue where backup files were being added to the file alist.
2052         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
2053         from muse-html.el.
2055 2006-08-12  Michael Olson  <mwolson@gnu.org>
2057         * Makefile (.PHONY): Don't use line continuations.
2058         (realclean fullclean): Call realclean in subdirs, not distclean.
2059         (distclean): Don't call realclean, since this would wipe out our
2060         autoloads file.
2061         (dist): Use correct path to autoloads file.
2063         * NEWS: Catch up with the latest changes.
2065         * experimental/Makefile (.PHONY): Wrap long line.
2067         * lisp/Makefile (distclean): Do the same thing as "clean", not
2068         "realclean".
2070         * lisp/muse-project.el (muse-project-get-applicable-style):
2071         Indentation tweak.
2072         (muse-project-ignore-regexp, muse-project-recurse-directory):
2073         Docfix.
2074         (muse-project-of-file): Try the ignored files regexp against the
2075         base filename as well as the entire path.
2077         * lisp/muse-publish.el (muse-publish-this-file): Display message
2078         if the buffer is not associated with any file, so that we avoid
2079         errors later on.
2080         (muse-publish-url-desc): New function taken from muse-publish-url
2081         that causes a URL description to be transformed.
2082         (muse-publish-url): Call muse-publish-url-desc on either the
2083         description or the original URL if it will be used as a
2084         description.  Accept the original URL as an argument, in case it
2085         was transformed earlier.
2086         (muse-publish-insert-url): Pass original URL as an argument.
2087         (muse-publish-markup-link): Make this somewhat easier to follow.
2088         Pass original URL as argument.
2089         (muse-publish-get-style): If the same style is used to publish to
2090         two different directories, prompt the user for which directory to
2091         use.
2092         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
2093         latest changes.
2094         (muse-publish-markup-url): Pass original URL as an argument.  This
2095         fixes the "nil" description for bare URLs that was in 3.02.91.
2096         Nothing like finding a bug just after completing the announcement
2097         of a release.
2099         * lisp/muse.el: Use defalias whenever convenient.
2100         (muse-version): Set version to 3.02.92 (3.03 RC2).
2102 2006-08-10  Michael Olson  <mwolson@gnu.org>
2104         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
2105         style does not derive from any other class, return `t' here.
2106         This, along with the corresponding change to muse-publish.el,
2107         fixes a problem with the table of contents getting inserted
2108         multiple times for custom html-based styles.
2109         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
2110         smarter method for table centering that works with XHTML.
2112         * lisp/muse-latex2png.el Rename all functions to have a
2113         "muse-latex2png" prefix.  Turn all variables into customizable
2114         options in the muse-latex2png group.
2115         (muse-latex2png-img-dest): New option specifying where to place
2116         the images.
2117         (muse-latex2png-template): New option containing the template to
2118         use for the surrounding LaTeX code.
2119         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
2120         compliance.
2121         (muse-latex2png-move2pubdir): Avoid multiple redundant error
2122         messages when something else goes wrong.  Create the image
2123         subdirectory if it doesn't exist already -- thanks to Christian
2124         Straßer for the report.  Expand the filename properly.
2125         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
2126         and filename expansion.
2127         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
2128         the default directory properly.
2130         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
2131         do not run the same function twice.
2133 2006-08-08  Michael Olson  <mwolson@gnu.org>
2135         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
2136         introduced wrong-type-argument error.
2138         * lisp/muse-html.el (muse-html-markup-strings)
2139         (muse-xhtml-markup-string): Cause table definition that contains
2140         image to be center-aligned.  This should fix an issue with images
2141         not being centered when captions are very long.
2143         * lisp/muse-publish.el (muse-publish-table-fields): Trim
2144         whitespace from fields once we have split them up.
2146         * lisp/muse.el (muse-trim-whitespace): New function that strips
2147         leading and trailing whitespace from a string.
2149 2006-08-07  Michael Olson  <mwolson@gnu.org>
2151         * NEWS: Update through patch-95.
2153         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
2154         to match the tags.
2155         (muse-colors-explicit-link): Show images in link descriptions if
2156         inlined images are enabled.
2158         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
2159         definitions for 'image-with-desc, 'image, and 'image-link.
2160         (muse-docbook-markup-paragraph): If an inlined image begins a
2161         paragraph, insert <para> before it.
2162         (muse-docbook-fixup-images): New function that upper-cases the
2163         "format" attribute of the <imagedata> tag.
2164         (muse-docbook-finalize-buffer): Call it.
2166         * lisp/muse-html.el (muse-html-markup-strings): Publish images
2167         with descriptions as centered tables, with a centered caption
2168         underneath.  The resulting look is consistent with the way that
2169         they are published in the LaTeX style.  Thanks to Jody Klymak for
2170         the suggestion.
2171         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
2172         valid way to center a table.
2173         (muse-html-markup-paragraph): Use class="image" instead of
2174         "image-link" for paragraphs that start with an embedded image.
2176         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
2177         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
2178         suggestion.
2179         (muse-latex-markup-specials-image): New option that enables
2180         escaping of specials in images.  This was split from the URL
2181         specials.
2182         (muse-latex-decide-specials): Handle 'image context.
2183         (muse-latex-fixup-dquotes): Go to beginning of document, instead
2184         of relying on caller to do this for us.
2186         * lisp/muse-publish.el (muse-publish-escape-specials): Document
2187         'image context.
2188         (muse-publish-url): Use 'image context for images.  Use 'image
2189         instead of 'image-link and 'image-link in place of
2190         'url-with-image.  Separate the image file from its extension so
2191         that docbook and texinfo can publish images correctly.
2192         (muse-publish-markup-link): Don't force a description if one is
2193         not given.  This fixes a bug where images without descriptions
2194         were being published as 'image-with-desc instead of 'image.
2196         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
2197         images the same as URLs.
2198         (muse-texinfo-markup-strings): Improve image markup to achieve an
2199         effect similar to that of the LaTeX publishing style.  Simplify
2200         'url string.
2202         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
2204         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
2205         when we have to use the custom version of this function.
2207         * muse.texi (Images): Explain how to toggle inlining of images and
2208         give better examples.  Mention captions and that captioned images
2209         should not be used inside of text paragraphs.
2210         (Markup Strings): Bring up-to-date with the changes made since
2211         3.02.
2213 2006-08-06  Michael Olson  <mwolson@gnu.org>
2215         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
2216         in the Emacs source tree.
2218         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
2219         in the Emacs source tree.
2221         * ChangeLog.3: New file created from the old ChangeLog.
2223         * Makefile.defs (VERSION): Set to 3.02.91.
2225         * NEWS: Update through patch-84.
2227         * lisp/muse.el (muse-version): Set to 3.02.91.
2229         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
2230         attributes.
2231         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
2232         delimiter are instead of hard-coding it.
2234         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
2235         (muse-mode): Make filling definition lists work better.  This
2236         should fix #5359.
2238         * lisp/muse-publish.el (muse-style-run-hooks): Use
2239         `muse-style-element' instead of `muse-get-keyword' here.  This
2240         should fix #6399.
2242         * muse.texi: Set version to 3.02.91 (3.02 RC2).
2244 See ChangeLog.3 for earlier changes.
2246 ;; Local Variables:
2247 ;; coding: utf-8
2248 ;; End: