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