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