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