Make Emacs Muse 3.02.93 (3.03 RC3) available
[muse-el.git] / ChangeLog
blob74b731535a306a72c3053ba79134c35667c8429a
1 2006-11-07  Michael Olson  <mwolson@gnu.org>
3         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
4         release candidate for Muse 3.03, available.
6         * NEWS: Update.
8 2006-11-06  Michael Olson  <mwolson@gnu.org>
10         * lisp/muse-project.el (muse-project-find-file): Fix bug when
11         following a relative link worked even when the path was incorrect.
13 2006-11-04  John Sullivan  <john@wjsullivan.net>
15         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
16         muse-follow-name-at-point to reduce collisions with other
17         modes (Planner).
19         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
21 2006-11-04  Michael Olson  <mwolson@gnu.org>
23         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
24         optional, and make interwiki delimiter a regular rather than shy
25         group.
26         (muse-wiki-handle-implicit-interwiki): Rename from
27         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
28         (muse-wiki-handle-explicit-interwiki): New function that is
29         smarter about where an explicit link ends in a buffer.  This
30         allows you to refer to page names with invalid Wiki characters,
31         such as underscores and dashes, merely by enclosing them in double
32         brackets.  Also, a bug with recognizing project names too loosely
33         has been fixed.
35 2006-11-03  Michael Olson  <mwolson@gnu.org>
37         * lisp/muse-project.el (muse-project-page-file): Make relative
38         links work as expected, hopefully.
40         * lisp/muse-publish.el (muse-publish-this-file): Set the current
41         output style manually, since it will differ from anything in the
42         publishing style list.
44 2006-10-30  Michael Olson  <mwolson@gnu.org>
46         * lisp/muse-colors.el (muse-colors-markup): Remove note about
47         grouping elements, since that no longer applies.
48         (muse-colors-custom-tags): Explicitly match against
49         muse-tag-regexp to get the match-data set the way we want.  This
50         really fixes the <example> highlighting bug that Stefan reported.
51         (muse-configure-highlighting): Set the original value to the
52         symbol, not the modified value.  Re-use modified rules properly.
54         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
55         introduced yesterday.
57 2006-10-29  Michael Olson  <mwolson@gnu.org>
59         * examples/mwolson: Update my example configuration.
61         * NEWS: Update.
63         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
64         without a regexp in the first position before iterating through
65         them to build muse-colors-vector.  This fixes a bug with the
66         display of <example> tags.  Thanks to Stefan Reichör for the
67         report.
69         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
70         files in projects to be linked to.
72         * lisp/muse-publish.el (muse-publish-url): Allow the original link
73         to serve as a description for a URL, as long as it differs from
74         the destination URL.  This fixes the description of WikPage links
75         in PDF output.
76         (muse-publish-link-file): Check to see whether the given link
77         points at a valid file.  If so, return it.  Otherwise, apply other
78         transforms like prefix and link suffix.
80         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
81         "/", it is a file or directory, not a Muse page.  Thanks to
82         Phillip Lord for the suggestion.
84         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
85         of the current page as the local path, instead of duplicating the
86         remote file's path.  This probably fixes at least one reported
87         bug. since it's quite major.
88         (muse-wiki-update-project-file-regexp)
89         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
90         passed to regexp-opt, since that can cause Emacs 21 to throw an
91         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
92         DOT edu for the report.
93         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
95 2006-10-28  Michael Olson  <mwolson@gnu.org>
97         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
98         (muse-project-resolve-link): If the given style does not have a
99         link-suffix, default to suffix.  This fixes a bug I was noticing
100         when linking to a file that was published in both PDF and HTML
101         form.
103         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
104         function that is used as a callback to determine the initial
105         amount of indentation that the current dl item has.
106         (muse-publish-surround-dl): Use it.  Pass the initial indent value
107         and the post-indent value, instead of trying to determine them
108         both.
109         (muse-publish-strip-list-indentation): New function stripped from
110         `muse-publish-surround-text' for readability.
111         (muse-publish-surround-text): Instead of taking a determine-indent
112         value, take a determine-indent-func function, which is called just
113         after finding the next list item.  If we are asked to determine
114         the amount of indentation, concatenate indent and post-indent the
115         first time around.  This effectively fixes all known definition
116         list issues.
118 2006-10-16  Michael Olson  <mwolson@gnu.org>
120         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
121         other software -- namely, Planner -- can detect whether they are
122         using a version of Muse that supports nested tags.
123         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
124         muse-publish-goto-tag-end.
126         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
127         Adapt for nested tags.
129         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
130         <class> tag is nestable.  Thanks to Phillip Lord for noticing
131         this.
133         * lisp/muse-publish.el (muse-publish-markup-tag)
134         (muse-publish-quote-tag): Use muse-goto-tag-end.
136         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
138 2006-10-15  Michael Olson  <mwolson@gnu.org>
140         * AUTHORS: Bookkeeping.
142         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
143         tag.
145         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
146         tags.
148         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
150         * lisp/muse-import-docbook.el (muse-import-docbook)
151         (muse-import-docbook-files): Docfix.
152         (muse-import-docbook-get-title): Remove cl.el-ism.
154         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
156         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
158         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
160         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
161         (muse-next-reference, muse-previous-reference): Minor whitespace
162         changes.
163         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
164         the suggestion.
166         * lisp/muse-poem.el (muse-poem-tag): Ditto.
168         * lisp/muse-publish.el (muse-publish-markup-tags)
169         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
170         element and make 4th element determine whether tags are nestable.
171         (muse-publish-goto-tag-end): New function that moves to the end of
172         a tag.  Handle nested tags when NESTED is non-nil.
173         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
174         5th element for function.
175         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
176         this on several scenarios, and it seems to work.
177         (muse-publish-surround-text): Accept new optional argument
178         LIST-ITEM which determines the regexp to use for list items.  The
179         default is to use muse-list-item-regexp.
181         * muse.texi (Markup Tags): Mention nestable tags.
183         * NEWS: Mention new files.
185 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
187         * lisp/muse-import-docbook.el: New file that converts Docbook XML
188         into Muse format.
190         * lisp/muse-import-xml.el: New file that provides helper routines
191         for converting XML-ish files to Muse format.
193 2006-10-10  Michael Olson  <mwolson@gnu.org>
195         * NEWS: Update for 3.02.7 bugfix release.
197 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
199         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
200         using the value in the muse #date directive.
201         (muse-blosxom-use-metadate): New option that determines whether or
202         not to use the #postdate directive.
203         (muse-blosxom-format-date): Convert a date string to PyBlosxom
204         metadate plugin format.
206 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
208         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
209         recognised URLs.
211         * muse.texi: Clarify handling of implicit links by mentioning
212         which characters can prevent Muse from recognizing something as an
213         implicit link.
215 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
217         * lisp/muse-mode.el (muse-next-reference)
218         (muse-previous-reference): Fix bug #6367 by moving point to the
219         beginning of the link.
221 2006-09-26  Michael Olson  <mwolson@gnu.org>
223         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
224         beginning-of-line.  This should fix a bug that was noticed in
225         recent Emacs 22 builds.
227         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
228         eval-and-compile block to avoid a compiler warning.
230 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
232         * lisp/muse-backlink.el (muse-backlink-split-string):
233         Compatibility with Emacs versions < 22
234         (muse-backlink-pending): New internal variable
235         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
236         that backlinks are inserted at the right time.
237         (muse-backlink-insert-hook-func): Remove unwind-protection; check
238         for pending backlink, and that this is the targe page.
239         (muse-backlink-handle-link): Don’t handle the link if we are
240         already handling one. Return the link as well as the parent links.
242 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
244         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
245         #6942 - muse-blosxom-new-entry fails when using tags.
247 2006-09-14  Michael Olson  <mwolson@gnu.org>
249         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
250         compiler warning.
252 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
254         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
255         function: Protect all wikiwords from START to END from further
256         processing.
257         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
259 2006-09-13  Michael Olson  <mwolson@gnu.org>
261         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
262         adopted from Jim Ottaway's patch.  It removes links from the
263         heading, and then marks the region read-only to inhibit WikiWord
264         detection.
266 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
268         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
269         special handling for headings.
270         (muse-texinfo-remove-links): New function that removes explicit
271         links from the given strings, replacing them with a description.
273 2006-09-11  Michael Olson  <mwolson@gnu.org>
275         * muse.texi (Getting Help and Reporting Bugs): Mention the
276         muse-el-internationalization mailing list.
278         * lisp/muse.el (muse-path-sans-extension): New function that acts
279         like file-name-sans-extension, but guarantees to never modify the
280         directory part of the path.  Thanks to Evan Monroig for
281         investigating this.
283         * lisp/muse-book.el (muse-book-publish-project): Use
284         muse-path-sans-extension instead of file-name-sans-extension.
286         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
287         Ditto.
289 2006-08-30  Michael Olson  <mwolson@gnu.org>
291         * muse.texi (Blosxom Requirements): Fix typo.
293         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
294         directories for bzr and darcs.
296         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
297         contrib/pyblosxom/getstamps.py: Update version and headers.
299 2006-08-27  Michael Olson  <mwolson@gnu.org>
301         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
302         nil values before they get to mapconcat.  This fixes a lockup when
303         muse-wiki-match-all-project-files is nil.
305         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
306         (muse-wiki-ignore-implicit-links-to-current-page)
307         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
308         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
309         (muse-wiki-publish-small-title-words)
310         (muse-wiki-publish-pretty-title): Docfix.
311         (muse-wiki-update-local-wikiword-regexp): Rename from
312         muse-wiki-update-local-wikiword-regexp.  Set
313         muse-wiki-project-file-regexp instead of
314         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
315         take muse-wiki-use-wikiword into account, since this is a
316         different concept now.
317         (muse-wiki-update-wikiword-regexp): Remove.
318         (muse-wiki-wikiword-regexp): In-line the :set function.
319         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
321 2006-08-26  Michael Olson  <mwolson@gnu.org>
323         * lisp/muse-publish.el (muse-publish-surround-text): When looking
324         for indented list items, ignore blank lines.
326         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
327         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
328         mapconcat.  This should hopefully fix a problem with large amounts
329         of files with spaces in their name.  Thanks to Greg Detre for the
330         report.
332 2006-08-24  Michael Olson  <mwolson@gnu.org>
334         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
335         numbers from the argument to format-time-string.  This fixes an
336         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
338 2006-08-18  Michael Olson  <mwolson@gnu.org>
340         * lisp/muse-project.el (muse-project-file-entries): Since we are
341         given a full path, match against the filename as well.  This fixes
342         an issue where backup files were being added to the file alist.
344         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
345         from muse-html.el.
347 2006-08-12  Michael Olson  <mwolson@gnu.org>
349         * Makefile (.PHONY): Don't use line continuations.
350         (realclean fullclean): Call realclean in subdirs, not distclean.
351         (distclean): Don't call realclean, since this would wipe out our
352         autoloads file.
353         (dist): Use correct path to autoloads file.
355         * NEWS: Catch up with the latest changes.
357         * experimental/Makefile (.PHONY): Wrap long line.
359         * lisp/Makefile (distclean): Do the same thing as "clean", not
360         "realclean".
362         * lisp/muse-project.el (muse-project-get-applicable-style):
363         Indentation tweak.
364         (muse-project-ignore-regexp, muse-project-recurse-directory):
365         Docfix.
366         (muse-project-of-file): Try the ignored files regexp against the
367         base filename as well as the entire path.
369         * lisp/muse-publish.el (muse-publish-this-file): Display message
370         if the buffer is not associated with any file, so that we avoid
371         errors later on.
372         (muse-publish-url-desc): New function taken from muse-publish-url
373         that causes a URL description to be transformed.
374         (muse-publish-url): Call muse-publish-url-desc on either the
375         description or the original URL if it will be used as a
376         description.  Accept the original URL as an argument, in case it
377         was transformed earlier.
378         (muse-publish-insert-url): Pass original URL as an argument.
379         (muse-publish-markup-link): Make this somewhat easier to follow.
380         Pass original URL as argument.
381         (muse-publish-get-style): If the same style is used to publish to
382         two different directories, prompt the user for which directory to
383         use.
384         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
385         latest changes.
386         (muse-publish-markup-url): Pass original URL as an argument.  This
387         fixes the "nil" description for bare URLs that was in 3.02.91.
388         Nothing like finding a bug just after completing the announcement
389         of a release.
391         * lisp/muse.el: Use defalias whenever convenient.
392         (muse-version): Set version to 3.02.92 (3.03 RC2).
394 2006-08-10  Michael Olson  <mwolson@gnu.org>
396         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
397         style does not derive from any other class, return `t' here.
398         This, along with the corresponding change to muse-publish.el,
399         fixes a problem with the table of contents getting inserted
400         multiple times for custom html-based styles.
401         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
402         smarter method for table centering that works with XHTML.
404         * lisp/muse-latex2png.el Rename all functions to have a
405         "muse-latex2png" prefix.  Turn all variables into customizable
406         options in the muse-latex2png group.
407         (muse-latex2png-img-dest): New option specifying where to place
408         the images.
409         (muse-latex2png-template): New option containing the template to
410         use for the surrounding LaTeX code.
411         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
412         compliance.
413         (muse-latex2png-move2pubdir): Avoid multiple redundant error
414         messages when something else goes wrong.  Create the image
415         subdirectory if it doesn't exist already -- thanks to Christian
416         Straßer for the report.  Expand the filename properly.
417         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
418         and filename expansion.
419         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
420         the default directory properly.
422         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
423         do not run the same function twice.
425 2006-08-08  Michael Olson  <mwolson@gnu.org>
427         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
428         introduced wrong-type-argument error.
430         * lisp/muse-html.el (muse-html-markup-strings)
431         (muse-xhtml-markup-string): Cause table definition that contains
432         image to be center-aligned.  This should fix an issue with images
433         not being centered when captions are very long.
435         * lisp/muse-publish.el (muse-publish-table-fields): Trim
436         whitespace from fields once we have split them up.
438         * lisp/muse.el (muse-trim-whitespace): New function that strips
439         leading and trailing whitespace from a string.
441 2006-08-07  Michael Olson  <mwolson@gnu.org>
443         * NEWS: Update through patch-95.
445         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
446         to match the tags.
447         (muse-colors-explicit-link): Show images in link descriptions if
448         inlined images are enabled.
450         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
451         definitions for 'image-with-desc, 'image, and 'image-link.
452         (muse-docbook-markup-paragraph): If an inlined image begins a
453         paragraph, insert <para> before it.
454         (muse-docbook-fixup-images): New function that upper-cases the
455         "format" attribute of the <imagedata> tag.
456         (muse-docbook-finalize-buffer): Call it.
458         * lisp/muse-html.el (muse-html-markup-strings): Publish images
459         with descriptions as centered tables, with a centered caption
460         underneath.  The resulting look is consistent with the way that
461         they are published in the LaTeX style.  Thanks to Jody Klymak for
462         the suggestion.
463         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
464         valid way to center a table.
465         (muse-html-markup-paragraph): Use class="image" instead of
466         "image-link" for paragraphs that start with an embedded image.
468         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
469         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
470         suggestion.
471         (muse-latex-markup-specials-image): New option that enables
472         escaping of specials in images.  This was split from the URL
473         specials.
474         (muse-latex-decide-specials): Handle 'image context.
475         (muse-latex-fixup-dquotes): Go to beginning of document, instead
476         of relying on caller to do this for us.
478         * lisp/muse-publish.el (muse-publish-escape-specials): Document
479         'image context.
480         (muse-publish-url): Use 'image context for images.  Use 'image
481         instead of 'image-link and 'image-link in place of
482         'url-with-image.  Separate the image file from its extension so
483         that docbook and texinfo can publish images correctly.
484         (muse-publish-markup-link): Don't force a description if one is
485         not given.  This fixes a bug where images without descriptions
486         were being published as 'image-with-desc instead of 'image.
488         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
489         images the same as URLs.
490         (muse-texinfo-markup-strings): Improve image markup to achieve an
491         effect similar to that of the LaTeX publishing style.  Simplify
492         'url string.
494         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
496         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
497         when we have to use the custom version of this function.
499         * muse.texi (Images): Explain how to toggle inlining of images and
500         give better examples.  Mention captions and that captioned images
501         should not be used inside of text paragraphs.
502         (Markup Strings): Bring up-to-date with the changes made since
503         3.02.
505 2006-08-06  Michael Olson  <mwolson@gnu.org>
507         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
508         in the Emacs source tree.
510         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
511         in the Emacs source tree.
513         * ChangeLog.3: New file created from the old ChangeLog.
515         * Makefile.defs (VERSION): Set to 3.02.91.
517         * NEWS: Update through patch-84.
519         * lisp/muse.el (muse-version): Set to 3.02.91.
521         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
522         attributes.
523         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
524         delimiter are instead of hard-coding it.
526         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
527         (muse-mode): Make filling definition lists work better.  This
528         should fix #5359.
530         * lisp/muse-publish.el (muse-style-run-hooks): Use
531         `muse-style-element' instead of `muse-get-keyword' here.  This
532         should fix #6399.
534         * muse.texi: Set version to 3.02.91 (3.02 RC2).
536 See ChangeLog.3 for earlier changes.
538 ;; Local Variables:
539 ;; coding: utf-8
540 ;; End: