manual: Add Citations section to better explain <cite> tag
[muse-el.git] / ChangeLog
blobf55576b90bd17c22fb76c1ccaf3490634fba8014
1 2007-08-17  Michael Olson  <mwolson@gnu.org>
3         * etc/muse.rnc: Add the <cite> tag.
5         * lisp/muse-xml.el (muse-xml-markup-strings): Mark up citations as
6         <cite type="something">.  We'll leave it to the post processing
7         tools to interpret that.
9         * texi/muse.texi (Directives, Blosxom Entries): Use @code{} for
10         directives.
11         (Citations): New section that explains further how to use the
12         <cite> tag.  The text was taken from Marcus Hoenicka's
13         documentation at http://refdb.sourceforge.net/muse.html and
14         modified.
15         (Tag Summary): Link to the Citations section in the entry for
16         <cite>.
18 2007-08-16  Michael Olson  <mwolson@gnu.org>
20         * Release Emacs Muse 3.10.
22         * Makefile (dist, debprepare): Pass HEAD argument to git-archive.
23         (upload): Don't depend on release rule.
25         * NEWS: Document remaining changes.
27 2007-08-15  Michael Olson  <mwolson@gnu.org>
29         * NEWS: Document items through 2007-08-12.
31         * lisp/muse-colors.el: Split the muse-directive-or-comment
32         property into two separate properties that are muse-directive and
33         muse-comment.
34         (muse-colors-region-end): Make buffer-local.
35         (muse-colors-delayed-commands): New variable that contains a list
36         of commands to run immediately after highlighting.  This is meant
37         to allow highlighting functions to delay code until later.
38         (muse-colors-region): Apply commands in
39         muse-colors-delayed-commands.
40         (muse-colors-inhibit-tags-in-directives): New variable that
41         determines whether tags are allowed in directives.
42         (muse-colors-custom-tags): Take
43         muse-colors-inhibit-tags-in-directives into account.
44         (muse-unhighlight-region): Remove muse-directive and muse-comment
45         properties.
46         (muse-colors-title): Modify muse-colors-delayed-commands.
47         (muse-colors-title-lisp): New command that gets called after
48         highlighting other things.  This interprets <lisp> tags, and is
49         passed arguments specifying the beginning and end of the region.
50         Thanks to Junichi Uekawa for the report.  The reason we want to do
51         things this way is because this is the behavior we get already
52         when publishing the page.
54         * lisp/muse.el (muse-goto-tag-end): Change to use muse-comment
55         property rather than muse-directive-or-comment.
57 2007-08-14  Michael Olson  <mwolson@gnu.org>
59         * lisp/muse-colors.el: Document all functions and variables.
60         (muse-colors-emphasized, muse-colors-underlined)
61         (muse-colors-verbatim, muse-colors-custom-tags)
62         (muse-colors-explicit-link, muse-colors-implicit-link): Don't trod
63         on comments or the #title directive.
64         (muse-colors-markup): Add comment rule.
65         (muse-colors-implicit-link): Only remove flyspell overlay after we
66         decide whether this is an implicit link, rather than before.
67         (muse-colors-title): Add the muse-directive-or-comment property.
68         (muse-colors-comment): New function that colorizes comments using
69         font-lock-comment-face.
70         (muse-colors-region-end): New variable indicating the end of the
71         region that is currently being font-locked.  This removes the need
72         for an ugly "defvar end" hack.
73         (muse-colors-emphasized, muse-colors-underlined)
74         (muse-colors-verbatim): Use it.
75         (muse-colors-region): Let-bind it.
77         * lisp/muse-mode.el (muse-list-edit-minor-mode): Grammar fix in
78         docstring.
80         * lisp/muse-publish.el (muse-publish-markup-heading): Escape
81         specials in heading now, rather than waiting on the whole-document
82         pass later on.  This lets <contents> generation work without
83         validation errors.  Thanks to Reid van Melle for the report.
85         * texi/muse.texi (Tag Summary): Document <cite> tag.
86         (Miscellaneous): New chapter containing "Muse List Edit Minor
87         Mode" section.
88         (Muse List Edit Minor Mode): New section that documents
89         muse-list-edit-minor-mode.
90         (Development): Mention the MuseDevlopment page on emacswiki.org.
92         * lisp/muse.el (muse-goto-tag-end): Deal with case where we are
93         font-locking and the end or beginning of a tag is in a comment or
94         directive.
96 2007-08-12  Michael Olson  <mwolson@gnu.org>
98         * lisp/muse-html.el (muse-html-strip-links): New function that
99         strips HTML links from a string.
100         (muse-html-insert-contents): Use it, instead of
101         muse-publish-strip-tags.  This fixes a bug reported by Xin Shi
102         involving the use of <sup> in section titles.
104         * lisp/muse-project.el (muse-project-resolve-directory): New
105         function that figures out the directory part of the path that
106         provides a link to a page.
107         (muse-project-resolve-link): Expand docstring.  Use the new
108         function.  Don't call muse-publish-link-file, because that does
109         the wrong thing when we have muse-file-extension set to nil.
110         Thanks to Sebastian Obermanns for the report.
111         (muse-project-publish-this-file): Let-bind muse-current-project.
112         Also, if the file is not associated with a project, fall back to
113         muse-publish-this-file.
114         (muse-project-set-variables): Add this to
115         muse-before-publish-hook, so that it gets called.  This fixes a
116         bug where project-specific variables were being used in Muse mode,
117         but ignored when publishing.
119         * lisp/muse-publish.el (muse-publish-link-name)
120         (muse-publish-link-file, muse-publish-link-page): Add docstrings
121         so that I can remember what each of these things do.
122         (muse-publish-strip-tags): Remove, since it is no longer used.
123         (muse-publish-cite-tag): Don't let-bind
124         muse-publishing-directives, because there is no need to do so.
125         Fix code indentation.
126         (muse-publish-markup-attribute): Avoid multiple evaluation of
127         attrs argument, in case it is list value instead of a symbol.  Use
128         sexp instead of form in the edebug-form-spec.
129         (muse-publish-include-tag): Make a full copy of
130         muse-publishing-directives, since it can be modified with setcdr.
131         This fixes a bug where #title and some other directives were
132         leaking out of an included region.
133         (muse-publish-mark-up-tag): Don't let-bind
134         muse-publishing-directives, because there is no need to do so.
136         * lisp/muse.el (muse-page-name): Improve docstring.
138         * texi/muse.texi (Development): Mention the http method for
139         anonymous git access to the shared repo.
141 2007-08-10  Michael Olson  <mwolson@gnu.org>
143         * Makefile (dist, debprepare): Use git instead of tla.
145         * contrib/httpd.el (httpd-send-file): Use insert-file-contents.
147         * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
148         Use muse-insert-file-contents.
150         * experimental/muse-split.el (muse-publish-file)
151         (muse-publish-presplit-publish, muse-publish-no-split-function)
152         (muse-journal-split-by-entry, muse-journal-split-by-month): Use
153         muse-insert-file-contents.
155         * lisp/muse-book.el (muse-book-publish-chapter)
156         (muse-book-get-directives): Use muse-insert-file-contents.
158         * lisp/muse-http.el (muse-http-render-page): Use
159         muse-insert-file-contents.
161         * lisp/muse-poem.el (muse-poem-markup-tag): Use
162         muse-insert-file-contents.
164         * lisp/muse-publish.el (muse-insert-file-or-string)
165         (muse-publish-file, muse-publish-include-tag)
166         (muse-published-contents): Use muse-insert-file-contents.
168         * lisp/muse.el (muse-insert-file-contents): New function that
169         inserts a file with character code conversion, but none of the
170         other frivolities.  Since insert-file-contents-literally does not
171         do character code conversion, it is not suitable for us.
172         (muse-with-temp-buffer): Mention muse-insert-file-contents rather
173         than insert-file-contents-literally.
175 2007-08-09  Michael Olson  <mwolson@gnu.org>
177         * lisp/muse.el (muse-write-file): Pay attention to
178         coding-system-for-write and save-buffer-coding-system.  This
179         should fix a recently-introduced bug with writing Muse pages in
180         different coding systems.
182 2007-08-08  Michael Olson  <mwolson@gnu.org>
184         * README (Prerequisites): Fix typo.
185         (Compilation, Installation): Update.
186         (Documentation, Further Documentation): Update URLs.
187         (Further Documentation): Add quick blurb on how to participate in
188         Muse development or track changes.
190         * texi/muse.texi (Releases): Use gna.org URL for downloading the
191         latest release, rather than my website.
192         (Development): Change instructions to use git instead of
193         Arch. Mention where to get a Windows binary for git.  Improve the
194         look of the listing.  Add section with instructions for Becoming a
195         Muse developer.
196         (Installation): Update instructions for Makefile.defs.default and
197         XEmacs.  Add index entries.  Add section for ELPA, since Muse
198         ought to be distributed in ELPA after the 3.10 release.  Fix typo
199         and clarify wording.
201 2007-08-06  Michael Olson  <mwolson@gnu.org>
203         * texi/muse.texi: Make sure that attributes are marked up with
204         @option{} rather than @code{} or @samp{} for consistency.
205         (Journal): Add "muse-project-alist-considerations" subheading,
206         along with a mention of :base-url.
208 2007-08-05  Michael Olson  <mwolson@gnu.org>
210         * .gitignore: Add texi/muse.html and the DVC log edit file.
212         * Makefile.defs.default (install_info): Rename from INSTALLINFO.
213         Turn this into something that can be called like a command, due to
214         needing to deal with XEmacs, which has different argument order.
215         Thanks to Terrence Brannon for the report.
217         * lisp/muse-project.el (muse-project-of-file): Simplify by using
218         catch, throw, and dolist.  Look for exact matches before
219         considering any subdirectories.  If no exact matches are found,
220         then pick the longest match.
222         * lisp/muse.el (muse-sort-by-rating): Mention default test in
223         documentation.
225         * scripts/muse-build.el: Avoid interference from VC.el in the
226         build process.
228         * texi/Makefile (install): Call install_info.
230 2007-08-03  Michael Olson  <mwolson@gnu.org>
232         * lisp/muse-project.el (muse-project-applicable-styles): Remove
233         useless argument ignore-regexp.  Use saner logic.  This fixes a
234         bug where a file could potentially not exist but still appear in
235         the used-styles list.  Thanks to John Wiegley for the fix.
236         (muse-project-publish-file): Don't take ignore-reegxp argument.
238 2007-08-02  Michael Olson  <mwolson@gnu.org>
240         * lisp/muse-publish.el (muse-batch-publish-files): Don't activate
241         VC when publishing files in batch.  This avoids some annoying
242         messages when building QuickStart in the examples directory.
244         * lisp/muse-mode.el (muse-mode): Don't try to indent line before
245         inserting a comment.
247 2007-07-31  Michael Olson  <mwolson@gnu.org>
249         * lisp/Makefile: Add dependencies between Emacs Lisp files, so
250         that Muse can be recompiled without running "make clean" after an
251         update.
253         * lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
254         delete forward one character, since we are guaranteed to be on a
255         blank line.  Don't delete all initial whitespace of the first
256         line.  This fixes an issue where the output from the verse tag did
257         not match the output from Muse's verse syntax.
259 2007-07-29  Michael Olson  <mwolson@gnu.org>
261         * Relicense to GPLv3.
263         * Makefile.defs.default: Rename from Makefile.defs.  This allows
264         people to copy this file to Makefile.defs and make changes,
265         without having the changes be accidentally committed.  If
266         Makefile.defs does not exist, this file is read instead, in order
267         to minimize inconvenience to the casual user.
269         * Makefile, contrib/Makefile, examples/Makefile,
270         experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
271         Makefile.defs.default or Makefile.defs.
273         * lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
274         function names.
275         (muse-l-e-m-m-insert-list-item): Add real documentation.
276         (muse-l-e-m-m-increase-list-item-indent)
277         (muse-l-e-m-m-decrease-list-item-indent): Rename for clarity.  Add
278         real documentation.
279         (muse-list-edit-minor-mode): Improve documentation.
281         * texi/doclicense.texi (GNU Free Documentation License): Use
282         pristine copy from Emacs source tree.
284         * texi/muse.texi (Contributors): Move node and appendix indicators
285         here, rather than doclicense.texi.
287 2007-07-29  Jean Magnan de Bornier  <jean@bornier.net>
289         * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
290         command which did not work correctly
292         * lisp/muse-context.el (muse-context-markup-strings): Change rule
293         command which did not work correctly; defined verse commands
294         (muse-context-markup-specials-literal): Eliminate all unuseful entries
296 2007-07-29  Michael Olson  <mwolson@gnu.org>
298         * contrib/httpd.el (httpd-send-file): Use
299         insert-file-contents-literally instead of insert-file-contents.
301         * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
302         Use insert-file-contents-literally instead of
303         insert-file-contents.
305         * experimental/muse-split.el (muse-publish-file)
306         (muse-publish-presplit-publish, muse-publish-no-split-function)
307         (muse-journal-split-by-entry, muse-journal-split-by-month): Use
308         insert-file-contents-literally instead of insert-file-contents.
310         * lisp/muse-book.el (muse-book-publish-chapter)
311         (muse-book-get-directives): Use insert-file-contents-literally
312         instead of insert-file-contents.
314         * lisp/muse-http.el (muse-http-render-page): Use
315         insert-file-contents-literally instead of insert-file-contents.
317         * lisp/muse-import-latex.el (muse-import-latex): Set marker to
318         nowhere when done, since they can slow things down.
320         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
321         marker to nowhere when done, since they can slow things down.
323         * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
324         when done, since they can slow things down.  Use
325         insert-file-contents-literally instead of insert-file-contents.
327         * lisp/muse-publish.el (muse-publish-markup-tag)
328         (muse-publish-markup-word, muse-publish-markup-footnote)
329         (muse-publish-call-tag-on-buffer): Set markers to nowhere when
330         done, since they can slow things down.
331         (muse-insert-file-or-string, muse-publish-file)
332         (muse-publish-include-tag, muse-published-contents): Use
333         insert-file-contents-literally instead of insert-file-contents.
334         (muse-publish-surround-dl): Remove unused variable.  Track whether
335         a term has been found, and handle that case well.
336         (muse-publish-ensure-blank-line): Use a marker, so that we don't
337         lose our place when adding a newline.  This really fixes the
338         definition list item bug.
339         (muse-publish-markup-list): Since people do seem to want
340         definition lists with no terms, allow this.
341         (muse-batch-publish-files): Set muse-current-output-style.
343         * lisp/muse.el (muse-with-temp-buffer): Mention
344         `insert-file-contents-literally'.
346 2007-07-28  Michael Olson  <mwolson@gnu.org>
348         * lisp/muse-mode.el (muse-browse-result): Set
349         muse-current-output-style.
350         (muse-mode): Don't duplicate the paragraph-start regexp
351         unnecessarily.
352         (muse-list-edit-minor-mode-map): New variable containing the
353         keymap for Muse list edit minor mode.
354         (muse-l-e-m-m-list-item-regexp): New variable that matches list
355         items for Muse list edit minor mode.
356         (muse-l-e-m-m-insert-list-item,
357         muse-l-e-m-m-i-list-item-indentation)
358         (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
359         item functions that change the list item regexp before calling the
360         existing function.
361         (muse-l-e-m-m-data): New variable that keeps track of the fill
362         data that we overwrite when activating Muse list edit minor mode,
363         so that we can restore it if the minor mode is toggled off.
364         (muse-list-edit-minor-mode): New minor mode that is useful for
365         editing lists in other major modes.
366         (turn-on-muse-list-edit-minor-mode)
367         (turn-off-muse-list-edit-minor-mode): New interactive functions
368         that turn Muse list edit minor mode on and off, respectively.
369         (muse-on-blank-line, muse-get-paragraph-start): Simplify some
370         regexps.
372         * lisp/muse-project.el (muse-project-publish-this-file): Set
373         muse-current-output-style.  This fixes a bug when publishing to a
374         style that is not first in the list of styles.  Thanks to Jean
375         Magnan de Bornier for the report.
377         * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
378         function that ensures that a blank line exists in the line before
379         point.
380         (muse-publish-markup-list): Use it, rather than
381         `muse-publish-ensure-block'.  This fixes a bug with definition
382         list publishing.  Thanks to meandtheshell for reporting this.
384         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
385         project argument is nil, default to the current project instead of
386         the first project entry in muse-project-alist.  This seems much
387         more sane to me.
389         * lisp/muse.el (muse-forward-list-item): Only check the 'face
390         property if we are in Muse mode or one of its derivatives.  This
391         allows movement on nested lists to work in other modes, and fixes
392         an issue with altering list indentation in
393         muse-list-edit-minor-mode.
395 2007-07-27  Michael Olson  <mwolson@gnu.org>
397         * AUTHORS: Add new authors.
399         * README: Permit Muse to be called "Emacs-Muse".
401         * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
403         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
404         involving list items that have an extra blank line in front.
406         * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
407         and Emacs-Muse are the same thing.
409 2007-07-27  Jean Magnan de Bornier  <jean@bornier.net>
411         * lisp/muse-context.el (muse-context-header): Put
412         starttext after the modules who must be in preamble.
413         (muse-context-markup-strings): Fixed mistake in begin-example and
414         end-example.
416         * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
417         math environment in ConTeXt when centered: "$$ $$" has to be
418         "\startformula \stopformula".
420 2007-07-26  Michael Olson  <mwolson@gnu.org>
422         * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
423         parentheses in URLs.
425 2007-07-24  Michael Olson  <mwolson@gnu.org>
427         * examples/QuickStart.muse (Images): Fix typo where some text
428         existed in the output but not in the example region.
429         (Source Code): Fix another typo.  Explain that publishing from
430         console or X can make a difference.
432         * lisp/muse-context.el (muse-context-pdf-program): New option that
433         determines the program to use for generating PDF files for
434         ConTeXt.
435         (muse-context-pdf-cruft): New option that specifies the extensions
436         of files to remove after generating PDF output successfully.
437         (muse-context-slides-header): Docfix.
438         (muse-context-pdf-generate): Use new options.
440         * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
441         save-restriction call.  This was causing a world of hurt when
442         using <lisp> inside of <include>.
444         * texi/muse.texi (ConTeXt): New section that documents how to use
445         the ConTeXt publishing styles.
447 2007-07-23  Michael Olson  <mwolson@gnu.org>
449         * lisp/muse-context.el: New file that provides support for
450         publishing documents to the ConTeXt format.  Thanks to Jean Magnan
451         de Bornier for his work on this.
453         * lisp/muse-docbook.el (muse-docbook-entities)
454         (muse-docbook-bibliography): Remove unneeded save-restriction use.
456         * lisp/muse-latex2png.el (muse-publish-latex-tag):
457         s/contex/context/.
459         * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
460         (muse-latex-bibliography): Remove call to `widen', since it is not
461         needed anymore.  Remove unneeded save-restriction use.
462         ("slides", "slides-pdf"): Indent elements uniformly.
464 2007-07-22  Michael Olson  <mwolson@gnu.org>
466         * lisp/muse-blosxom.el (muse-blosxom-new-entry):
467         * lisp/muse-mode.el (muse-insert-tag):
468         * lisp/muse-project.el (muse-read-project)
469         (muse-read-project-file):
470         * lisp/muse-publish.el (muse-publish-get-style): Use
471         muse-completing-read-function.
473         * lisp/muse-latex2png.el (muse-publish-latex-tag)
474         (muse-publish-math-tag): Allow the context style -- which I plan
475         to include soon -- to work with these tags.
477         * lisp/muse.el (muse-completing-read-function): New option that
478         determines which function to call when doing a completing-read.
480 2007-07-15  Michael Olson  <mwolson@gnu.org>
482         * lisp/muse-journal.el (muse-journal-html-entry-template)
483         (muse-journal-rdf-entry-template)
484         (muse-journal-rss-entry-template): Mention that this can be text
485         or a filename.
486         (muse-journal-rdf-entry-template, muse-journal-rss-header)
487         (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
488         newlines to make the output look nicer.
489         (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
490         Use muse-insert-file-or-string for the entry templates, rather
491         than muse-insert-markup.  This allows <lisp> and <markup> tags to
492         be acted on.  Thanks to Scott Hyde for the report.
493         (muse-journal-html-munge-buffer): Escape quote of the day using
494         entire-document specials before snarfing it.  Mark entire template
495         as read-only -- this fixes an incorrect escaping bug.  Remove
496         read-only properties before replacing template matches so that
497         they can still be escaped with entire-document specials later on.
498         (muse-journal-rss-munge-buffer): Make sure that title is escaped
499         properly.
500         (muse-journal-markup-tags): Rename from
501         muse-journal-latex-markup-tags, because we will use it for
502         journal-rss-entry as well.
503         (muse-journal-qotd-tag): Move higher.  Use begin-quote-item and
504         end-quote-item.
505         (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
506         html.
507         ("journal-latex", "journal-pdf", "journal-book-latex")
508         ("journal-book-pdf"): Use muse-journal-markup-tags rather than
509         muse-journal-latex-markup-tags.
510         ("journal-rss-entry"): New style that is used by journal-rss and
511         journal-rdf to mark up individual entries.  It is needed so that
512         we can do something meaningful with the qotd tag.
513         (muse-journal-rdf-summarize-entries): Set this to nil by default,
514         because it is annoying.  Update docs to mention this.
515         (muse-journal-rss-summarize-entries): Docfix.
517         * lisp/muse-publish.el (muse-insert-file-or-string): Use
518         muse-publish-markup-header-footer-tags.  I'm not quite sure how
519         this change got reverted.
520         (muse-markup-tag-info): Make into a function.  Move common code
521         here, rather than duplicating it in two places.  Deal with case
522         where muse-publish-use-header-footer-tags is non-nil.
523         (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
524         (muse-inhibit-style-tags): Move higher to avoid byte-compiler
525         warning.
526         (muse-publish-use-header-footer-tags): New variable that indicates
527         whether we should use just the header and footer tags, rather than
528         the full set.
529         (muse-insert-file-or-string): Bind
530         muse-publish-use-header-footer-tags to t.
531         (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
532         Simplify call to muse-markup-tag-info.
533         (muse-publish-mark-up-tag): Bind
534         muse-publish-use-header-footer-tags to nil.
536         * texi/muse.texi (Journal): Update for recent changes.
538 2007-07-14  Michael Olson  <mwolson@gnu.org>
540         * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
541         delete the remainder of the buffer, since this causes the
542         resulting RDF to have invalid syntax.  Thanks to Phillip Lord for
543         the report and the suggested fix.
545         * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
546         beginning of table-el regexp.  This fixes a bug where Muse stalls
547         when trying to publish a malformed table.  Thanks to Ye Wenbin for
548         the report and the suggested fix.
550 2007-07-12  Michael Olson  <mwolson@gnu.org>
552         * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
553         default, rather than the empty string.  This really fixes the bug
554         that occurred when using Muse with muse-project-alist set to nil.
555         Thanks to Jonathan Underwood for the report.
556         (muse-wiki-update-interwiki-regexp): Set
557         muse-wiki-interwiki-regexp to nil if muse-project-alist is not
558         defined.
559         (muse-wiki-handle-implicit-interwiki)
560         (muse-wiki-handle-explicit-interwiki): Handle case where
561         muse-wiki-interwiki-regexp is nil.
563 2007-07-10  Michael Olson  <mwolson@gnu.org>
565         * lisp/muse-mode.el (muse-grep): Abort search if the current
566         project contains no directories.
568         * lisp/muse-project.el (muse-project-file-alist): If
569         muse-project-alist is not defined, or project is nil, return nil
570         right away.  This ought to fix a bug that occurred when using Muse
571         with muse-project-alist set to nil.
572         (muse-project-of-file): Make sure muse-project-alist is not nil.
573         (muse-project-save-buffers): Make sure project is not nil.
575         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
576         case where muse-project-alist is nil.
578         * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
579         for XEmacs, since color-theme.el is poorly behaved, and defines
580         its own replace-in-string.  Bad color-theme.el -- no cookie for
581         you.
583 2007-07-01  Michael Olson  <mwolson@gnu.org>
585         * Makefile (.PHONY): Update for new debian package rules.
587         * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
589         * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
590         Use save-restriction properly.
591         (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
593         * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
594         (muse-latex-fixup-citations): Re-indent.  Use save-restriction
595         properly.
596         (muse-latex-bibliography): Re-indent.
598         * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
599         higher.  This fixes an error at startup with some versions of
600         Emacs.
601         (muse-publish-cite-tag): Re-indent.
603         * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
604         to the end of the link part, so as to exclude the description from
605         the match.  This fixes a bug with three-part links that have
606         descriptions.  Thanks to everyone who pointed it out.
608 2007-06-18  Michael Olson  <mwolson@gnu.org>
610         * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
611         (muse-xhtml1.1-markup-strings): New option that specifies XHTML
612         1.1 specific markup strings.
613         (muse-html-insert-anchor): Use 'anchor string, rather than
614         hard-coding it.  Thanks to Chris Corsair for the suggestion.
615         ("xhtml1.0"): New style that is an alias for the xhtml style.
616         ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
618 2007-06-17  Michael Olson  <mwolson@gnu.org>
620         * examples/QuickStart.muse: Make images local so that the Info
621         version of this document works.  Add <example> for the Literal
622         paragraphs chapter, so that it is clear what is happening.
624         * Makefile: Add elpa target, which is used for building an ELPA
625         package for Muse.
627         * Makefile.defs (ELPADIR, ELPADESC): New variables used for
628         building ELPA packages.
630         * examples/Makefile (%.html, %.pdf, %.info): Add message to
631         indicate what we are publishing.
632         (realclean distclean fullclean): Remove all TeX crud.
634         * examples/emacs-muse.png, examples/muse-made-with.png: Include so
635         that the Info version of QuickStart can publish correctly.
637         * lisp/muse-latex.el (muse-latex-slides-header)
638         (muse-latex-lecture-notes-header): Docfix.
640         * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
641         the list of things to ignore.
643         * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
644         variable.
646         * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
647         default to nil, since texinfmt.el is a serious nuisance.
648         (muse-texinfo-markup-strings): Add newlines to begin-example and
649         end-example.
650         (muse-texinfo-decide-specials): Also escape URL-type specials in a
651         whole slew of other contexts.
653         * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
654         muse-xml.
656         * lisp/muse-xml.el (muse-xml-footer): Docfix.
658         * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
660 2007-06-16  Michael Olson  <mwolson@gnu.org>
662         * etc/IDEAS.muse: Add some ideas from David D. Smith.
664         * examples/QuickStart.muse: Overhaul.
666         * lisp/muse-project.el (muse-project): Call the last part of a
667         muse-project-alist entry "Output styles" rather than "styles".
669         * lisp/muse-publish.el (muse-publish-table-fields): Handle case
670         where we have a pipe character at the beginning of line.
672         * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
673         causing tables to not be sorted at all.
675         * texi/muse.texi: Overhaul.  It would be too time-consuming to
676         list all of the changes here.  The "Getting Started" and
677         "Projects" chapters, in particular, were heavily revised.
679 2007-06-15  Michael Olson  <mwolson@gnu.org>
681         * NEWS: Update.
683         * examples/QuickStart.muse: Mention new features.
685         * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
686         Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
687         terminal, and C-c TAB is more important.  Most people will not
688         want to toggle images on and off that often.
690         * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
691         C-i as well, so that it works in the terminal.
693         * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
694         look a bit tidier when removing the region.
696         * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
697         list regexp part before other parts.
698         (muse-ol-item-regexp): New regexp that specifies how to match an
699         ordered list item.
700         (muse-ul-item-regexp): New regexp that specifies how to match an
701         unordered list item.
702         (muse-table-field-regexp): New regexp that specifies how to match
703         a definition list entry.
705         * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
706         lack of support for @headitem in texinfmt.el.
708         * lisp/muse.el: Wrap muse-line-beginning-position and
709         muse-line-end-position in `eval-and-compile', since they are now
710         used in muse.el.
711         (muse-list-item-type): Use a simpler algorithm for detecting which
712         kind of list item we have.  This fixes a bug where a number in a
713         definition list term was being detected incorrectly as an ordered
714         list item.  Fixes bug #6250.
715         (muse-forward-list-item): Get the entire line with the list item.
716         For some reason, Emacs 21 was not populating match 2 correctly,
717         unlike Emacs 22, so this workaround was needed.
719         * texi/muse.texi: (Keystroke Summary): Remove C-c
720         C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
721         alternative keybinding to the C-c TAB stuff.  Mention
722         muse-colors-toggle-inline-images.
724 2007-06-14  Michael Olson  <mwolson@gnu.org>
726         * README: Mention that RelaxNG schema is in etc/ directory.
728         * etc/emacs-wiki-migration.txt: New document that explains how to
729         migrate from emacs-wiki to Muse.
731         * etc/muse.rnc: Increment version number to 1.0.  Fix several
732         nested emphasis and nested lists edge cases.  Move here from
733         examples/.
735         * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
736         same thing as C-c C-S-t, since the former works better in the
737         console.  Thanks to Leo for the suggestion.
739         * lisp/muse-publish.el (muse-publish-markup-table)
740         (muse-publish-markup-table-el): Include a newline in the return
741         string, so that paragraph detection does not get confused.
743         * lisp/muse.el (muse-with-temp-buffer): Docfix.
745         * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
746         keybinding.
748 2007-06-13  Michael Olson  <mwolson@gnu.org>
750         * etc/IDEAS.muse: Mark three-part-links item as done.
752         * experimental/muse-message.el: Remove guard for muse-define-style
753         calls.
755         * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
756         markup rules were being interpreted in reverse order.  This should
757         make implicit interwiki links work properly again.
758         (muse-link-face): Strip anchor from end of a path, so that this
759         works with anchors in interwiki links.
760         (muse-colors-insert-image): Catch error that occurs in Emacs 21
761         when an image does not exist.
763         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
764         anchors.
765         (muse-wiki-handle-implicit-interwiki): Docfix.  Make anchors in
766         interwiki links work.  Thanks to Jim Ottaway for the initial
767         implementation.
768         (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
769         links work.
771         * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
772         about match 0.
773         (muse-handle-explicit-link): Docfix: this does not modify the
774         match data.
775         (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
776         that has the regexp in its car.
778 2007-06-12  Michael Olson  <mwolson@gnu.org>
780         * README: Document new etc/ directory.
782         * etc/IDEAS.muse: Install things from new contributors just after
783         the 3.03 release, since I won't have time to review the code
784         before the release.  Move to new etc/ directory.  Slides
785         publishing has been installed.
787         * lisp/muse-latex.el (muse-latex-slides-header): New option that
788         determines the header to use for publishing slides.
789         (muse-latex-lecture-notes-header): New option that determines the
790         header to use for publishing lecture notes.
791         (muse-latex-slides-markup-tags): New option containing tags to use
792         when publishing slides.
793         (muse-latex-permit-contents-tag): Move higher in file.
794         (muse-latex-slide-tag): New function to publish the <slide> tag.
795         ("slides", "slides-pdf"): New publishing styles that create slides
796         using Beamer.
797         ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
798         create lecture notes using Beamer.
800         * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
801         since otherwise Planner is not happy when `plan' is called during
802         init.  Remove stray quote from autoload snippet.
804 2007-06-11  Michael Olson  <mwolson@gnu.org>
806         * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
807         autoload, rather than having it exist at top-level.  Thanks to Leo
808         for the suggestion.
809         (muse-update-file-extension): Docfix.
811 2007-06-10  Michael Olson  <mwolson@gnu.org>
813         * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
814         URLs were being removed during publishing.  Thanks to everyone who
815         reported this.
817 2007-06-09  Markus Hoenicka <markus.hoenicka@mhoenicka.de>
819         * lisp/muse-book.el
820         * lisp/muse-docbook.el
821         * lisp/muse-latex.el
822         * lisp/muse-publish.el: added support for <cite> element which
823         denotes in-text citations
825         * lisp/muse-html.el
826         * lisp/muse-groff.el
827         * lisp/muse-texinfo.el
828         * lisp/muse-xml.el: added support for <cite> element (stub)
830 2007-06-06  Michael Olson  <mwolson@gnu.org>
832         * lisp/muse-regexps.el (muse-table-line-regexp)
833         (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
834         regexps so that they work with XEmacs 21.  Thanks to Adrian
835         Tritschler for the report.
837         * texi/muse.texi: Update copyright years.
838         (HTML): Document muse-xhtml-style-sheet.  Thanks
839         to thorne for noticing.
840         (Development): Change archive year to 2006.  Thanks to Adrian
841         Tritschler for noticing.  So *that's* why some people had the 2005
842         version ....
844 2007-06-05  Michael Olson  <mwolson@gnu.org>
846         * Makefile (install-info): Remove $(MANUAL).info part, since this
847         is taken care of already by texi/Makefile.  Thanks to Leo for the
848         report.
850         * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
851         read-only properties to qotd contents, so that they don't get
852         double-escaped.  Thanks to Leo for the report.
854 2007-06-04  Michael Olson  <mwolson@gnu.org>
856         * lisp/muse-colors.el (muse-link-face): If the link is to a remote
857         -- that is, Tramp or ange-ftp -- file, then do not call
858         file-exists-p on it.  Thanks to Jim Ottaway for the suggestion.
859         Fixes bug #5115.
861         * lisp/muse-html.el (muse-html-insert-contents): Add
862         documentation.  Handle case where heading is read-only, but has
863         muse-contents property.  Remove the muse-contents property for any
864         heading we come across so as to avoid double-including an item in
865         an outer table of contents.
866         (muse-html-denote-headings): New function that denotes whether a
867         heading is not read-only by adding the muse-contents property to
868         it.
869         (muse-html-munge-buffer): If we are not to generate contents,
870         still denote headings, in case some outer layer wants to generate
871         contents for our headings.  This should fix a bug with table of
872         contents and the <include> tag.  Thanks to thorne for the report.
874         * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
875         muse-publish-generate-contents and set it to nil.  This should
876         do the right thing when using <include> tags.
878 2007-06-02  Michael Olson  <mwolson@gnu.org>
880         * NEWS: Update for non-inlined image change and support for
881         table.el style tables.
883         * examples/Makefile (clean): Clean backup files.
885         * examples/QuickStart.muse (Images): New section that describes
886         how to inline and not inline images.
888         * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
889         touch images that have "URL:" in front of them.
891         * lisp/muse-protocols.el (muse-url-protocols): Add handler for
892         "URL:".  Use the identity function to resolve, since we don't want
893         to rip "URL:" out while publishing, due to some magic that depends
894         on that text.
895         (muse-browse-url-url): New function that browses URLs that have
896         "URL:" in front of them, by removing the "URL:" part and
897         reprocessing the remainder.
899         * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
900         (muse-publish-url): Recognize images in the description before
901         images in the link.  Fixes bug #5112.  Thanks to Thomas Kappler
902         for the suggested workaround.
903         (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
904         default value.
905         (muse-publish-classify-url): If target begins with "URL:" return
906         type url.
907         (muse-publish-strip-URL): New function that strips "URL:" from the
908         beginning of a string.  This is used to remove URL: from the link
909         description.  * texi/muse.texi (Markup Strings): Clarify the
910         meanings of image-link, link, and link-and-anchor.
911         (muse-publish-markup-regexps): Move normal table rule to 2350.
912         Rule 2300 is now a regexp that matches table.el-style tables.
913         (muse-publish-markup-functions): Add table-el entry.
914         (muse-publish-table-el-table): New function that given a variant,
915         publishes a table.el-style table using the table in the matched
916         region.
917         (muse-publish-markup-table-el): New function that determines
918         whether the table.el-style table can be published, and what
919         variant to use.
921         * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
922         the borders of table.el-style tables.
924         * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
925         the table has sufficient whitespace in front of it.
927         * texi/muse.texi (Images): Update for new non-inlined image
928         ability and provide example.
930 2007-05-31  Michael Olson  <mwolson@gnu.org>
932         * NEWS: Add example for setting `muse-html-table-attributes'.
934         * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
935         Publish multiple tbody tags if there is a horizontal separator
936         after the heading, because that is valid HTML after all.
938 2007-05-30  Michael Olson  <mwolson@gnu.org>
940         * NEWS: Update.
942         * lisp/muse-latex.el (muse-latex-markup-table): Deal with
943         horizontal separators in tables.
945         * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
946         horizontal separators in tables.
947         (muse-publish-trim-table): New function to remove initial and
948         final blank columns from a table.
949         (muse-publish-table-fields): Call `muse-publish-trim-table'.  Deal
950         with horizontal separators, aka "hlines".
952         * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
953         defines the syntax of a horizontal separator in a table.
955         * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
956         horizontal separators.  Publish header lines correctly.
958         * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
959         where we have nonnumbers as a row type.  This ignores sorting for
960         hlines.
961         (muse-xml-markup-table): Deal with horizontal separators.  If the
962         markup supports table groups, make hlines separate table groups.
963         Otherwise, ignore them, since they cannot be marked up.  Together,
964         these changes allow us to support orgtbl-mode tables.  Thanks to
965         Carsten Dominik for the suggestion.
967 2007-05-26  Michael Olson  <mwolson@gnu.org>
969         * lisp/muse-project.el (muse-project-alist-styles): Allow for
970         other things to be added to each generated style as well.  For
971         example, this permits me to add
972         :base-url "http://blog.mwolson.org/"
973         for my blog.
975 2007-05-25  Michael Olson  <mwolson@gnu.org>
977         * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
978         way of building Debian packages that preserves the original
979         release tarball and is more modular.
980         (debrevision, debrelease): Remove.
981         (dist): No need to remove the debian/ directory, since it is now
982         in its own branch.
983         (debprepare): Copy over debian/ directory properly.
985         * NEWS: Update.
987         * examples/Makefile (clean): Remove QuickStart.texi, in case
988         something went wrong during the build.
989         (%.pdf): Publish the example using the normal pdf style, rather
990         than info-pdf.
992         * examples/QuickStart.muse: Add myself to the authors list.
994         * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
995         sufficient blank lines before the tag.
997         * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
998         we have sufficient blank lines before the tag.
1000         * lisp/muse-latex.el (muse-latex-pdf-program): New option that
1001         specifies the program to call in order to generate PDF content
1002         from LaTeX content.
1003         (muse-latex-pdf-cruft): New option that specifies the extensions
1004         of files to remove after generating PDF output successfully.
1005         (muse-latex-pdf-generate): Use these new options.  Work around the
1006         annoying edge case where a tilde character exists in the filename
1007         or directory path -- now this can only error out when the relative
1008         path from the output file to the source file contains a tilde,
1009         which is far less likely.
1011         * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
1012         muse-publish-ensure-block here after all, because <lisp> et al may
1013         occur inline as part of other things.
1015         * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
1016         occur after full-document escaping, rather than before.  This
1017         prevents automatically-inserted Texinfo code from being escaped.
1018         (muse-texinfo-pdf-generate): Rewrite to call
1019         `muse-latex-pdf-generate' with pdftex as the generating binary,
1020         because texi2pdf suffers irredeemably from the tilde edge case
1021         mentioned above.
1023 2007-05-24  Michael Olson  <mwolson@gnu.org>
1025         * NEWS: Drop vague entries and position interesting entries closer
1026         to the top of each section.  Update for new changes.
1028         * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
1029         and bzr metadata directories to the list of things to ignore.
1031         * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
1032         `muse-publish-ensure-block-tag', since we will use it for more
1033         than just tags.
1034         (muse-publish-markup-list, muse-publish-verse-tag)
1035         (muse-publish-quote-tag, muse-publish-example-tag)
1036         (muse-publish-markup-attribute): Use it.  This fixes a bug that
1037         can occur when these types of markup occur immediately after a
1038         paragraph.  It's good to have defined behavior!
1040         * texi/muse.texi (Markup Strings): Mention new argument for
1041         link-and-anchor.
1043 2007-05-19  Michael Olson  <mwolson@gnu.org>
1045         * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
1046         published footnotes and footnote references.  Thanks to Scott
1047         Jaderholm for the idea.
1049         * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
1050         link-and-anchor, on the recommendation of the original submitter.
1052 2007-05-14  Michael Olson  <mwolson@gnu.org>
1054         * lisp/muse-latex.el (muse-latex-markup-strings): Use better
1055         link-and-anchor markup.  Thanks to Jean Magnan de Bornier for the
1056         suggestion.
1058         * lisp/muse-publish.el (muse-publish-url): Pass the url without a
1059         file extension as the fourth argument.
1061         * README, texi/muse.texi (Getting Help and Reporting Bugs):
1062         Mention the new muse-el-logs mailing list.
1064 2007-05-13  Michael Olson  <mwolson@gnu.org>
1066         * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
1067         "\`" here.  This fixes a problem with publishing custom URLs.
1069 2007-05-12  Michael Olson  <mwolson@gnu.org>
1071         * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
1072         update the list if the current buffer is associated with a file.
1073         This fixes a bug with M-x muse-publish-region in a temporary
1074         buffer.
1076 2007-05-01  Michael Olson  <mwolson@gnu.org>
1078         * lisp/muse-publish.el (muse-publish-region): Remove read-only
1079         properties from the published buffer, so that the results can be
1080         manually tweaked.
1082 2007-04-23  Michael Olson  <mwolson@gnu.org>
1084         * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
1085         find the footnote that goes with a reference, leave the reference
1086         as-is.  This fixes an error where control characters could be
1087         placed in a published document.
1089 2007-04-22  Michael Olson  <mwolson@gnu.org>
1091         * IDEAS.muse: Add muse-slides.el to list of things to include
1092         before release.
1094         * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
1095         character.
1096         (muse-protocol-find): Find protocols correctly.  Rewrite to use
1097         catch/throw.
1098         (muse-browse-url): Don't concatenate "\`" here.  Together, this
1099         fixes a bug with browsing woman:// links.
1101         * lisp/muse-project.el (muse-project-alist-styles): Deal with case
1102         where entry-dir has a trailing backslash.
1103         (muse-project-publish-file): If a style is malformed, skip it and
1104         display a warning message.  This should help people figure out
1105         where the problem is.
1107 2007-04-21  Michael Olson  <mwolson@gnu.org>
1109         * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
1110         yet-to-be-included "contex" publishing style, use "$$" rather
1111         than "\[" and "\]".  Thanks to Jean Magnan de Bornier for pointing
1112         this out.
1114 2007-04-20  Michael Olson  <mwolson@gnu.org>
1116         * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
1117         variable that causes the :before and :before-end hooks to be
1118         ignored when non-nil.
1119         (muse-publish-markup-region): Use it.  Also, guarantee that point
1120         is at end of region after publishing.
1121         (muse-publish-mark-up-tag): Simplify, taking advantage of the new
1122         variable.
1124 2007-04-19  Michael Olson  <mwolson@gnu.org>
1126         * IDEAS.muse: New file containing a list of ideas we have for new
1127         features, or patches that have yet to be applied.
1129         * README: Call it "Emacs Muse", not "the Emacs Muse".  No need to
1130         be so confusing.
1132         * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
1133         docstring.
1135         * lisp/muse-publish.el (muse-publish-markup-tags): Handle
1136         <literal> tags with muse-publish-literal-tag, rather than
1137         muse-publish-mark-read-only.
1138         (muse-publish-literal-tag): New function that publishes the
1139         <literal> tag.  It adds the ability to add the optional "style"
1140         and "exact" elements, which cause text to only be included if the
1141         current publishing style matches some criteria.  The text will be
1142         removed otherwise.  Thanks to Jim Ottaway for the implementation.
1143         (muse-publish-mark-up-tag): Let the <markup> tag take the
1144         additional optional elements "style" and "exact", with much the
1145         same effect as the <literal> improvements, but after calling
1146         "function" or publishing the region first.  Make it possible to
1147         put <content> tags in <markup> regions in HTML publishing.
1149 2007-04-12  Michael Olson  <mwolson@gnu.org>
1151         * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
1152         that a blank line always exists after a heading.  This fixes a bug
1153         in Docbook paragraph detection.  Thanks to Jean Magnan de Bornier
1154         for the report.
1156         * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
1157         detection regexp to that which is used in Docbook and HTML
1158         publishing styles.
1160 2007-04-02  Michael Olson  <mwolson@gnu.org>
1162         * README (muse-el-announce): Make a listing of mailing lists,
1163         rather than pointing to the old EmacsWikiMailingList page.  Thanks
1164         to Andreas Roehler for noticing.
1166 2007-04-01  Michael Olson  <mwolson@gnu.org>
1168         * lisp/muse-publish.el (muse-publish-date-format): Add
1169 `       customization type and group.
1170         (muse-publish-region): New interactive function that publishes a
1171         region to a new buffer.
1173         * texi/muse.texi: Use "document" rather than "manual".
1175 2007-03-31  Michael Olson  <mwolson@gnu.org>
1177         * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
1178         expression (muse-style-derived-p "latex" (muse-style "latex"))
1179         yielded nil.  It now yields t, as expected.  Thanks to Jim Ottaway
1180         for the catch.
1182 2007-02-25  Michael Olson  <mwolson@gnu.org>
1184         * lisp/muse-publish.el (muse-publish-date-format): New option that
1185         specifies how to format the date when publishing Muse pages.
1186         Thanks to Thomas Gehrlein for the suggestion.
1187         (muse-publish-markup-buffer): Use it.
1189 2007-02-23  Michael Olson  <mwolson@gnu.org>
1191         * README: Add Prerequisites section to mention which versions of
1192         Emacs work with Muse.  Thanks to Exal de Jesus Garcia Carrillo for
1193         the suggestion.  Update link destination for Muse's page on
1194         emacswiki.org.
1196 2007-02-15  Michael Olson  <mwolson@gnu.org>
1198         * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
1199         be not just at beginning of line.  This fixes an error with the
1200         <class> tag.  Thanks to Jim Pivarski for the report.
1202 2007-02-14  Michael Olson  <mwolson@gnu.org>
1204         * lisp/muse-publish.el (muse-publish-classify-url): Check to see
1205         whether something is an image before checking to see if it is a
1206         URL.  Thanks to ITSUMI ken-ichi for the report.
1208 2007-02-13  Michael Olson  <mwolson@gnu.org>
1210         * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
1211         comments that have no text better.  Thanks to fang.lungang for the
1212         report.
1213         (muse-publish-markup-comment): Deal with case where no comment
1214         text is provided.
1216 2007-01-23  Michael Olson  <mwolson@gnu.org>
1218         * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
1219         that ensures that at least one blank line exists at the given
1220         position.  This is used to avoid paragraph detection problems when
1221         block-level tags like <example> immediately follow a paragraph.
1222         Thanks to Hans Ekbrand for the report.
1223         (muse-publish-example-tag): Use it.
1225 2007-01-19  Michael Olson  <mwolson@gnu.org>
1227         * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
1228         previous blank line if we are publishing in Latex.  Otherwise,
1229         that wouldn't be the right thing, so leave it be.
1231 2007-01-17  Michael Olson  <mwolson@gnu.org>
1233         * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
1234         multiple centered math lines on the same line; keep them on
1235         different lines.  Use \[ math-text \] instead of $$math-text$$,
1236         since the latter seems to be deprecated.  Thanks to Jody Klymak
1237         for the pointer.
1239 2007-01-15  Michael Olson  <mwolson@gnu.org>
1241         * lisp/muse-latex2png.el (muse-publish-latex-tag)
1242         (muse-publish-math-tag): Publish region read-only when current
1243         style is Latex-derived, so that Muse does not escape it.
1244         (muse-publish-math-tag): If 6 or more spaces come before the tag,
1245         surround the region with "$$" rather than "$".  This is the Muse
1246         syntax for something centered, so it should be a good fit.
1248 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
1250         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
1251         protocol.
1252         (muse-browse-url-man): Change man page URL format.  The code is
1253         simpler when the section is left inside parentheses.
1254         (muse-browse-url-woman): New function.
1256 2007-01-14  Michael Olson  <mwolson@gnu.org>
1258         * AUTHORS: Bookkeeping.
1260         * lisp/muse-latex2png.el: Associate <math> tag with
1261         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
1262         Klymak for the report.
1263         (muse-publish-math-tag): Use muse-insert-markup for the "$"
1264         characters, so they don't get escaped.
1266         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
1267         make muse-style-derived-p easier to implement.
1268         (muse-style-derived-p): If the style is not provided, fetch it and
1269         check to see if the car is a string.  This should fix the other
1270         problem that was reported.
1272         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
1273         explains a case where setting muse-file-extension to nil can cause
1274         unexpected behavior.
1276 2007-01-09  Michael Olson  <mwolson@gnu.org>
1278         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1279         comments higher priority than tags.  Thanks to Stefan van der Walt
1280         for the report.
1282 2007-01-08  Michael Olson  <mwolson@gnu.org>
1284         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1285         argument rather than calling match-string.  Thanks to Stefan van
1286         der Walt for the report.  This should fix a bug with publishing
1287         <include file="..." markup="example">.
1289 2007-01-06  Michael Olson  <mwolson@gnu.org>
1291         * Makefile (debclean): New rule split from debrevision and
1292         debrelease.
1293         (debbuild): Take distributor into account.
1295         * Makefile.defs (DISTRIBUTOR): New field that tracks what
1296         vendor/distributor we are building for.
1298 2007-01-04  Michael Olson  <mwolson@gnu.org>
1300         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1301         line.
1303         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1304         point to muse-publish-src-tag by default, since <src> and
1305         <example> have different parameters.
1306         (muse-publish-src-tag): New barebones publishing function for
1307         <src>, which is superseded when publishing in an HTML-based style.
1309 2007-01-03  Michael Olson  <mwolson@gnu.org>
1311         * lisp/muse-html.el (muse-html-src-tag): Document.
1313         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1314         command that calls a given tag on the current buffer.  Attributes
1315         may be passed.
1316         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1317         it.
1318         (muse-publish-srcify-buffer): New function that allows
1319         markup="src" in the <include> tag.
1320         (muse-publish-get-and-delete-attr): New macro that gets an
1321         attribute from a list and removes the first instance of that
1322         attribute from said list.
1323         (muse-publish-markup-attribute): Handle markup="src".
1324         (muse-publish-command-tag, muse-publish-include-tag): Use
1325         muse-publish-get-and-delete-attr.  This allows the remaining
1326         attributes to be passed.
1328         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1329         as changes to <command> and <include>.
1331 2006-12-30  Michael Olson  <mwolson@gnu.org>
1333         * NEWS: Update.
1335         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1336         from muse-publish-math-tag to avoid conflict with
1337         muse-latex2png.el.
1339 2006-12-23  Michael Olson  <mwolson@gnu.org>
1341         * lisp/muse-latex2png.el: Update header, since this has been
1342         rewritten sufficiently to not need an assignment from the original
1343         author.
1344         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1345         (muse-latex2png): Use two underscores to separate prefix and hash.
1346         (muse-latex2png-region): New function split from
1347         muse-publish-latex-tag that can be used easily by other code.
1348         Detect whether we are using an HTML-based publishing style, and
1349         insert a simpler markup if we are not.  If we are using a
1350         Latex-based publishing style, do not generate an image, and leave
1351         the region alone.  Return the path of the generated image, in case
1352         other functions want to use this programmatically.
1353         (muse-publish-latex-tag): Set a default prefix based on the name
1354         of the current file.
1355         (muse-publish-math-tag): New tag that surrounds the region with
1356         "$" characters, so that it becomes a Latex math region, and then
1357         publishes it.
1359         * lisp/muse-publish.el (muse-style-derived-p): New function that
1360         returns non-nil if a given style, or the current style if omitted,
1361         is equal to or derived from the given base style.  This is useful
1362         in <lisp> tags, because it allows the user to specify markup that
1363         is only to be inserted for one particular style.
1365 2006-12-22  Michael Olson  <mwolson@gnu.org>
1367         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1368         (muse-html-src-tag): New function which publishes the <src> tag.
1369         Thanks to Clinton Ebadi and Charles Wang for the initial
1370         implementations.
1372         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1374 2006-12-21  Michael Olson  <mwolson@gnu.org>
1376         * examples/johnw/muse-johnw.el: Update for preferred
1377         muse-derive-style usage.  Rename to muse-init.el.
1379         * examples/mwolson/muse-init.el: Update.
1381         * lisp/muse-book.el (muse-book-publish): New function split from
1382         muse-book-publish-project.  This is used in the definitions for
1383         the book-latex and book-pdf styles.
1384         (muse-book-publish-p): New function split from muse-book-publish.
1385         (muse-book-get-directives): New function that retrieves the
1386         publishing directives from the given file.
1387         (muse-book-publish): Use muse-book-get-directives to set the title
1388         if no title was specified.
1390         * lisp/muse-project.el (muse-project): Add :publish-project entry
1391         to widget.
1392         (muse-read-project, muse-project-find-file): Message fix.
1393         (muse-project-publish-file-default): New function split from
1394         muse-project-publish-file.
1395         (muse-project-publish-file): Allow file-level publishing function
1396         to be specified by the :publish element.  The default is
1397         muse-project-publish-file-default.
1398         (muse-project-publish-default): New function split from
1399         muse-project-publish.
1400         (muse-project-publish): Allow project-level publishing function to
1401         be specified by :publish-project element.  The default is
1402         muse-project-publish-default.
1404         * lisp/muse-publish.el (muse-publish-file): Message fix.
1406         * texi/muse.texi (Book): Mention new way to publish books and
1407         provide an example, since the process may be non-obvious.
1409 2006-12-20  Michael Olson  <mwolson@gnu.org>
1411         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1412         content-modifying code from the rest of
1413         muse-docbook-finalize-buffer.
1415         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1416         muse-groff-finalize-buffer, since it adds content to the buffer.
1418         * lisp/muse-html.el (muse-html-munge-buffer): Split out
1419         content-modifying code from the rest of muse-html-finalize-buffer.
1420         This fixes a bug when using <include> with <content> tags.
1422         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1423         (muse-journal-latex-munge-buffer)
1424         (muse-journal-rss-munge-buffer): Rename, since they add content to
1425         the buffer.
1427         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1428         muse-latex-finalize-buffer, since it adds content to the buffer.
1430         * lisp/muse-mode.el:
1431         * lisp/muse-project.el:
1432         * lisp/muse-publish.el:
1433         * lisp/muse.el: Fix recursive load error.
1435         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1436         muse-texinfo-finalize-buffer, since it adds content to the buffer.
1438         * lisp/muse-wiki.el: Comment cleanup.
1440         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1442 2006-12-17  Michael Olson  <mwolson@gnu.org>
1444         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1445         Remove the definition of \comment, since Latex already has comment
1446         syntax.
1447         (muse-latex-markup-strings): Use the Latex comment syntax, rather
1448         than our own.  Thanks to Ryan Stutsman for pointing this out.
1450 2006-12-02  Michael Olson  <mwolson@gnu.org>
1452         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1453         that this can generate a proper table of contents for Planner HTML
1454         publishing.
1456 2006-12-01  Michael Olson  <mwolson@gnu.org>
1458         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1459         using a very old Emacs, avoid an infinite loop that could occur
1460         when the regexp is an empty string.
1462 2006-11-26  Michael Olson  <mwolson@gnu.org>
1464         * NEWS: Bring up to date.
1466         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1467         list issues and multiple-stanza verse issues.  This takes care of
1468         all of the markup issues I was worried about.
1470         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1471         (muse-project-publish-private-files): New option that indicates
1472         whether files with private filesystem permissions should be
1473         published.  The default is to publish them, since it avoids
1474         confusion in new users.
1475         (muse-project-private-p): Use it.
1477 2006-11-19  Michael Olson  <mwolson@gnu.org>
1479         * lisp/muse-project.el (muse-project-resolve-link): If no remote
1480         style is found, which means that the link is not a Muse page, do
1481         not add a suffix or prefix to it.  This should fix the
1482         "[[thing.owl]]" bug that Phillip Lord reported.
1484         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1485         removing unused 2nd argument.
1487 2006-11-17  Michael Olson  <mwolson@gnu.org>
1489         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1490         latex publishing where nested enumerated lists would be squashed
1491         together at the end.
1493 2006-11-16  Michael Olson  <mwolson@gnu.org>
1495         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1496         list embedded in a definition list look right.  This also allows
1497         for definitions to be separated from their terms, much like the
1498         way HTML does it by default, if the user puts a blank line or a
1499         line break between the term and the definition.  If the term and
1500         definition are on the same line, they will be that way in the
1501         output as well.
1503 2006-11-11  Michael Olson  <mwolson@gnu.org>
1505         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
1506         for the report.
1507         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1509 2006-11-07  Michael Olson  <mwolson@gnu.org>
1511         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1512         release candidate for Muse 3.03, available.
1514         * NEWS: Update.
1516 2006-11-06  Michael Olson  <mwolson@gnu.org>
1518         * lisp/muse-project.el (muse-project-find-file): Fix bug when
1519         following a relative link worked even when the path was incorrect.
1521 2006-11-04  John Sullivan  <john@wjsullivan.net>
1523         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1524         muse-follow-name-at-point to reduce collisions with other
1525         modes (Planner).
1527         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1529 2006-11-04  Michael Olson  <mwolson@gnu.org>
1531         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1532         optional, and make interwiki delimiter a regular rather than shy
1533         group.
1534         (muse-wiki-handle-implicit-interwiki): Rename from
1535         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
1536         (muse-wiki-handle-explicit-interwiki): New function that is
1537         smarter about where an explicit link ends in a buffer.  This
1538         allows you to refer to page names with invalid Wiki characters,
1539         such as underscores and dashes, merely by enclosing them in double
1540         brackets.  Also, a bug with recognizing project names too loosely
1541         has been fixed.
1543 2006-11-03  Michael Olson  <mwolson@gnu.org>
1545         * lisp/muse-project.el (muse-project-page-file): Make relative
1546         links work as expected, hopefully.
1548         * lisp/muse-publish.el (muse-publish-this-file): Set the current
1549         output style manually, since it will differ from anything in the
1550         publishing style list.
1552 2006-10-30  Michael Olson  <mwolson@gnu.org>
1554         * lisp/muse-colors.el (muse-colors-markup): Remove note about
1555         grouping elements, since that no longer applies.
1556         (muse-colors-custom-tags): Explicitly match against
1557         muse-tag-regexp to get the match-data set the way we want.  This
1558         really fixes the <example> highlighting bug that Stefan reported.
1559         (muse-configure-highlighting): Set the original value to the
1560         symbol, not the modified value.  Re-use modified rules properly.
1562         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1563         introduced yesterday.
1565 2006-10-29  Michael Olson  <mwolson@gnu.org>
1567         * examples/mwolson: Update my example configuration.
1569         * NEWS: Update.
1571         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1572         without a regexp in the first position before iterating through
1573         them to build muse-colors-vector.  This fixes a bug with the
1574         display of <example> tags.  Thanks to Stefan Reichör for the
1575         report.
1577         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1578         files in projects to be linked to.
1580         * lisp/muse-publish.el (muse-publish-url): Allow the original link
1581         to serve as a description for a URL, as long as it differs from
1582         the destination URL.  This fixes the description of WikPage links
1583         in PDF output.
1584         (muse-publish-link-file): Check to see whether the given link
1585         points at a valid file.  If so, return it.  Otherwise, apply other
1586         transforms like prefix and link suffix.
1588         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1589         "/", it is a file or directory, not a Muse page.  Thanks to
1590         Phillip Lord for the suggestion.
1592         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1593         of the current page as the local path, instead of duplicating the
1594         remote file's path.  This probably fixes at least one reported
1595         bug. since it's quite major.
1596         (muse-wiki-update-project-file-regexp)
1597         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1598         passed to regexp-opt, since that can cause Emacs 21 to throw an
1599         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
1600         DOT edu for the report.
1601         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1603 2006-10-28  Michael Olson  <mwolson@gnu.org>
1605         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1606         (muse-project-resolve-link): If the given style does not have a
1607         link-suffix, default to suffix.  This fixes a bug I was noticing
1608         when linking to a file that was published in both PDF and HTML
1609         form.
1611         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1612         function that is used as a callback to determine the initial
1613         amount of indentation that the current dl item has.
1614         (muse-publish-surround-dl): Use it.  Pass the initial indent value
1615         and the post-indent value, instead of trying to determine them
1616         both.
1617         (muse-publish-strip-list-indentation): New function stripped from
1618         `muse-publish-surround-text' for readability.
1619         (muse-publish-surround-text): Instead of taking a determine-indent
1620         value, take a determine-indent-func function, which is called just
1621         after finding the next list item.  If we are asked to determine
1622         the amount of indentation, concatenate indent and post-indent the
1623         first time around.  This effectively fixes all known definition
1624         list issues.
1626 2006-10-16  Michael Olson  <mwolson@gnu.org>
1628         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1629         other software -- namely, Planner -- can detect whether they are
1630         using a version of Muse that supports nested tags.
1631         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1632         muse-publish-goto-tag-end.
1634         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1635         Adapt for nested tags.
1637         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1638         <class> tag is nestable.  Thanks to Phillip Lord for noticing
1639         this.
1641         * lisp/muse-publish.el (muse-publish-markup-tag)
1642         (muse-publish-quote-tag): Use muse-goto-tag-end.
1644         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1646 2006-10-15  Michael Olson  <mwolson@gnu.org>
1648         * AUTHORS: Bookkeeping.
1650         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1651         tag.
1653         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1654         tags.
1656         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1658         * lisp/muse-import-docbook.el (muse-import-docbook)
1659         (muse-import-docbook-files): Docfix.
1660         (muse-import-docbook-get-title): Remove cl.el-ism.
1662         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1664         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1666         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1668         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1669         (muse-next-reference, muse-previous-reference): Minor whitespace
1670         changes.
1671         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
1672         the suggestion.
1674         * lisp/muse-poem.el (muse-poem-tag): Ditto.
1676         * lisp/muse-publish.el (muse-publish-markup-tags)
1677         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1678         element and make 4th element determine whether tags are nestable.
1679         (muse-publish-goto-tag-end): New function that moves to the end of
1680         a tag.  Handle nested tags when NESTED is non-nil.
1681         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
1682         5th element for function.
1683         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
1684         this on several scenarios, and it seems to work.
1685         (muse-publish-surround-text): Accept new optional argument
1686         LIST-ITEM which determines the regexp to use for list items.  The
1687         default is to use muse-list-item-regexp.
1689         * muse.texi (Markup Tags): Mention nestable tags.
1691         * NEWS: Mention new files.
1693 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
1695         * lisp/muse-import-docbook.el: New file that converts Docbook XML
1696         into Muse format.
1698         * lisp/muse-import-xml.el: New file that provides helper routines
1699         for converting XML-ish files to Muse format.
1701 2006-10-10  Michael Olson  <mwolson@gnu.org>
1703         * NEWS: Update for 3.02.7 bugfix release.
1705 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
1707         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1708         using the value in the muse #date directive.
1709         (muse-blosxom-use-metadate): New option that determines whether or
1710         not to use the #postdate directive.
1711         (muse-blosxom-format-date): Convert a date string to PyBlosxom
1712         metadate plugin format.
1714 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
1716         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1717         recognised URLs.
1719         * muse.texi: Clarify handling of implicit links by mentioning
1720         which characters can prevent Muse from recognizing something as an
1721         implicit link.
1723 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
1725         * lisp/muse-mode.el (muse-next-reference)
1726         (muse-previous-reference): Fix bug #6367 by moving point to the
1727         beginning of the link.
1729 2006-09-26  Michael Olson  <mwolson@gnu.org>
1731         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1732         beginning-of-line.  This should fix a bug that was noticed in
1733         recent Emacs 22 builds.
1735         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1736         eval-and-compile block to avoid a compiler warning.
1738 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
1740         * lisp/muse-backlink.el (muse-backlink-split-string):
1741         Compatibility with Emacs versions < 22
1742         (muse-backlink-pending): New internal variable
1743         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1744         that backlinks are inserted at the right time.
1745         (muse-backlink-insert-hook-func): Remove unwind-protection; check
1746         for pending backlink, and that this is the targe page.
1747         (muse-backlink-handle-link): Don’t handle the link if we are
1748         already handling one. Return the link as well as the parent links.
1750 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
1752         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1753         #6942 - muse-blosxom-new-entry fails when using tags.
1755 2006-09-14  Michael Olson  <mwolson@gnu.org>
1757         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1758         compiler warning.
1760 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
1762         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1763         function: Protect all wikiwords from START to END from further
1764         processing.
1765         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1767 2006-09-13  Michael Olson  <mwolson@gnu.org>
1769         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1770         adopted from Jim Ottaway's patch.  It removes links from the
1771         heading, and then marks the region read-only to inhibit WikiWord
1772         detection.
1774 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
1776         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1777         special handling for headings.
1778         (muse-texinfo-remove-links): New function that removes explicit
1779         links from the given strings, replacing them with a description.
1781 2006-09-11  Michael Olson  <mwolson@gnu.org>
1783         * muse.texi (Getting Help and Reporting Bugs): Mention the
1784         muse-el-internationalization mailing list.
1786         * lisp/muse.el (muse-path-sans-extension): New function that acts
1787         like file-name-sans-extension, but guarantees to never modify the
1788         directory part of the path.  Thanks to Evan Monroig for
1789         investigating this.
1791         * lisp/muse-book.el (muse-book-publish-project): Use
1792         muse-path-sans-extension instead of file-name-sans-extension.
1794         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1795         Ditto.
1797 2006-08-30  Michael Olson  <mwolson@gnu.org>
1799         * muse.texi (Blosxom Requirements): Fix typo.
1801         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1802         directories for bzr and darcs.
1804         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1805         contrib/pyblosxom/getstamps.py: Update version and headers.
1807 2006-08-27  Michael Olson  <mwolson@gnu.org>
1809         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1810         nil values before they get to mapconcat.  This fixes a lockup when
1811         muse-wiki-match-all-project-files is nil.
1813         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1814         (muse-wiki-ignore-implicit-links-to-current-page)
1815         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1816         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1817         (muse-wiki-publish-small-title-words)
1818         (muse-wiki-publish-pretty-title): Docfix.
1819         (muse-wiki-update-local-wikiword-regexp): Rename from
1820         muse-wiki-update-local-wikiword-regexp.  Set
1821         muse-wiki-project-file-regexp instead of
1822         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
1823         take muse-wiki-use-wikiword into account, since this is a
1824         different concept now.
1825         (muse-wiki-update-wikiword-regexp): Remove.
1826         (muse-wiki-wikiword-regexp): In-line the :set function.
1827         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
1829 2006-08-26  Michael Olson  <mwolson@gnu.org>
1831         * lisp/muse-publish.el (muse-publish-surround-text): When looking
1832         for indented list items, ignore blank lines.
1834         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
1835         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
1836         mapconcat.  This should hopefully fix a problem with large amounts
1837         of files with spaces in their name.  Thanks to Greg Detre for the
1838         report.
1840 2006-08-24  Michael Olson  <mwolson@gnu.org>
1842         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
1843         numbers from the argument to format-time-string.  This fixes an
1844         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
1846 2006-08-18  Michael Olson  <mwolson@gnu.org>
1848         * lisp/muse-project.el (muse-project-file-entries): Since we are
1849         given a full path, match against the filename as well.  This fixes
1850         an issue where backup files were being added to the file alist.
1852         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
1853         from muse-html.el.
1855 2006-08-12  Michael Olson  <mwolson@gnu.org>
1857         * Makefile (.PHONY): Don't use line continuations.
1858         (realclean fullclean): Call realclean in subdirs, not distclean.
1859         (distclean): Don't call realclean, since this would wipe out our
1860         autoloads file.
1861         (dist): Use correct path to autoloads file.
1863         * NEWS: Catch up with the latest changes.
1865         * experimental/Makefile (.PHONY): Wrap long line.
1867         * lisp/Makefile (distclean): Do the same thing as "clean", not
1868         "realclean".
1870         * lisp/muse-project.el (muse-project-get-applicable-style):
1871         Indentation tweak.
1872         (muse-project-ignore-regexp, muse-project-recurse-directory):
1873         Docfix.
1874         (muse-project-of-file): Try the ignored files regexp against the
1875         base filename as well as the entire path.
1877         * lisp/muse-publish.el (muse-publish-this-file): Display message
1878         if the buffer is not associated with any file, so that we avoid
1879         errors later on.
1880         (muse-publish-url-desc): New function taken from muse-publish-url
1881         that causes a URL description to be transformed.
1882         (muse-publish-url): Call muse-publish-url-desc on either the
1883         description or the original URL if it will be used as a
1884         description.  Accept the original URL as an argument, in case it
1885         was transformed earlier.
1886         (muse-publish-insert-url): Pass original URL as an argument.
1887         (muse-publish-markup-link): Make this somewhat easier to follow.
1888         Pass original URL as argument.
1889         (muse-publish-get-style): If the same style is used to publish to
1890         two different directories, prompt the user for which directory to
1891         use.
1892         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
1893         latest changes.
1894         (muse-publish-markup-url): Pass original URL as an argument.  This
1895         fixes the "nil" description for bare URLs that was in 3.02.91.
1896         Nothing like finding a bug just after completing the announcement
1897         of a release.
1899         * lisp/muse.el: Use defalias whenever convenient.
1900         (muse-version): Set version to 3.02.92 (3.03 RC2).
1902 2006-08-10  Michael Olson  <mwolson@gnu.org>
1904         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
1905         style does not derive from any other class, return `t' here.
1906         This, along with the corresponding change to muse-publish.el,
1907         fixes a problem with the table of contents getting inserted
1908         multiple times for custom html-based styles.
1909         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
1910         smarter method for table centering that works with XHTML.
1912         * lisp/muse-latex2png.el Rename all functions to have a
1913         "muse-latex2png" prefix.  Turn all variables into customizable
1914         options in the muse-latex2png group.
1915         (muse-latex2png-img-dest): New option specifying where to place
1916         the images.
1917         (muse-latex2png-template): New option containing the template to
1918         use for the surrounding LaTeX code.
1919         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
1920         compliance.
1921         (muse-latex2png-move2pubdir): Avoid multiple redundant error
1922         messages when something else goes wrong.  Create the image
1923         subdirectory if it doesn't exist already -- thanks to Christian
1924         Straßer for the report.  Expand the filename properly.
1925         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
1926         and filename expansion.
1927         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
1928         the default directory properly.
1930         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
1931         do not run the same function twice.
1933 2006-08-08  Michael Olson  <mwolson@gnu.org>
1935         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
1936         introduced wrong-type-argument error.
1938         * lisp/muse-html.el (muse-html-markup-strings)
1939         (muse-xhtml-markup-string): Cause table definition that contains
1940         image to be center-aligned.  This should fix an issue with images
1941         not being centered when captions are very long.
1943         * lisp/muse-publish.el (muse-publish-table-fields): Trim
1944         whitespace from fields once we have split them up.
1946         * lisp/muse.el (muse-trim-whitespace): New function that strips
1947         leading and trailing whitespace from a string.
1949 2006-08-07  Michael Olson  <mwolson@gnu.org>
1951         * NEWS: Update through patch-95.
1953         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
1954         to match the tags.
1955         (muse-colors-explicit-link): Show images in link descriptions if
1956         inlined images are enabled.
1958         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
1959         definitions for 'image-with-desc, 'image, and 'image-link.
1960         (muse-docbook-markup-paragraph): If an inlined image begins a
1961         paragraph, insert <para> before it.
1962         (muse-docbook-fixup-images): New function that upper-cases the
1963         "format" attribute of the <imagedata> tag.
1964         (muse-docbook-finalize-buffer): Call it.
1966         * lisp/muse-html.el (muse-html-markup-strings): Publish images
1967         with descriptions as centered tables, with a centered caption
1968         underneath.  The resulting look is consistent with the way that
1969         they are published in the LaTeX style.  Thanks to Jody Klymak for
1970         the suggestion.
1971         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
1972         valid way to center a table.
1973         (muse-html-markup-paragraph): Use class="image" instead of
1974         "image-link" for paragraphs that start with an embedded image.
1976         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
1977         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
1978         suggestion.
1979         (muse-latex-markup-specials-image): New option that enables
1980         escaping of specials in images.  This was split from the URL
1981         specials.
1982         (muse-latex-decide-specials): Handle 'image context.
1983         (muse-latex-fixup-dquotes): Go to beginning of document, instead
1984         of relying on caller to do this for us.
1986         * lisp/muse-publish.el (muse-publish-escape-specials): Document
1987         'image context.
1988         (muse-publish-url): Use 'image context for images.  Use 'image
1989         instead of 'image-link and 'image-link in place of
1990         'url-with-image.  Separate the image file from its extension so
1991         that docbook and texinfo can publish images correctly.
1992         (muse-publish-markup-link): Don't force a description if one is
1993         not given.  This fixes a bug where images without descriptions
1994         were being published as 'image-with-desc instead of 'image.
1996         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
1997         images the same as URLs.
1998         (muse-texinfo-markup-strings): Improve image markup to achieve an
1999         effect similar to that of the LaTeX publishing style.  Simplify
2000         'url string.
2002         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
2004         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
2005         when we have to use the custom version of this function.
2007         * muse.texi (Images): Explain how to toggle inlining of images and
2008         give better examples.  Mention captions and that captioned images
2009         should not be used inside of text paragraphs.
2010         (Markup Strings): Bring up-to-date with the changes made since
2011         3.02.
2013 2006-08-06  Michael Olson  <mwolson@gnu.org>
2015         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
2016         in the Emacs source tree.
2018         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
2019         in the Emacs source tree.
2021         * ChangeLog.3: New file created from the old ChangeLog.
2023         * Makefile.defs (VERSION): Set to 3.02.91.
2025         * NEWS: Update through patch-84.
2027         * lisp/muse.el (muse-version): Set to 3.02.91.
2029         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
2030         attributes.
2031         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
2032         delimiter are instead of hard-coding it.
2034         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
2035         (muse-mode): Make filling definition lists work better.  This
2036         should fix #5359.
2038         * lisp/muse-publish.el (muse-style-run-hooks): Use
2039         `muse-style-element' instead of `muse-get-keyword' here.  This
2040         should fix #6399.
2042         * muse.texi: Set version to 3.02.91 (3.02 RC2).
2044 See ChangeLog.3 for earlier changes.
2046 ;; Local Variables:
2047 ;; coding: utf-8
2048 ;; End: