NEWS: Add example for setting `muse-html-table-attributes'
[muse-el.git] / ChangeLog
blobcc46356f6a6f517d4dd09125261ee898098e2a72
1 2007-05-31  Michael Olson  <mwolson@gnu.org>
3         * NEWS: Add example for setting `muse-html-table-attributes'.
5         * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
6         Publish multiple tbody tags if there is a horizontal separator
7         after the heading, because that is valid HTML after all.
9 2007-05-30  Michael Olson  <mwolson@gnu.org>
11         * NEWS: Update.
13         * lisp/muse-latex.el (muse-latex-markup-table): Deal with
14         horizontal separators in tables.
16         * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
17         horizontal separators in tables.
18         (muse-publish-trim-table): New function to remove initial and
19         final blank columns from a table.
20         (muse-publish-table-fields): Call `muse-publish-trim-table'.  Deal
21         with horizontal separators, aka "hlines".
23         * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
24         defines the syntax of a horizontal separator in a table.
26         * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
27         horizontal separators.  Publish header lines correctly.
29         * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
30         where we have nonnumbers as a row type.  This ignores sorting for
31         hlines.
32         (muse-xml-markup-table): Deal with horizontal separators.  If the
33         markup supports table groups, make hlines separate table groups.
34         Otherwise, ignore them, since they cannot be marked up.  Together,
35         these changes allow us to support orgtbl-mode tables.  Thanks to
36         Carsten Dominik for the suggestion.
38 2007-05-26  Michael Olson  <mwolson@gnu.org>
40         * lisp/muse-project.el (muse-project-alist-styles): Allow for
41         other things to be added to each generated style as well.  For
42         example, this permits me to add
43         :base-url "http://blog.mwolson.org/"
44         for my blog.
46 2007-05-25  Michael Olson  <mwolson@gnu.org>
48         * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
49         way of building Debian packages that preserves the original
50         release tarball and is more modular.
51         (debrevision, debrelease): Remove.
52         (dist): No need to remove the debian/ directory, since it is now
53         in its own branch.
54         (debprepare): Copy over debian/ directory properly.
56         * NEWS: Update.
58         * examples/Makefile (clean): Remove QuickStart.texi, in case
59         something went wrong during the build.
60         (%.pdf): Publish the example using the normal pdf style, rather
61         than info-pdf.
63         * examples/QuickStart.muse: Add myself to the authors list.
65         * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
66         sufficient blank lines before the tag.
68         * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
69         we have sufficient blank lines before the tag.
71         * lisp/muse-latex.el (muse-latex-pdf-program): New option that
72         specifies the program to call in order to generate PDF content
73         from LaTeX content.
74         (muse-latex-pdf-cruft): New option that specifies the extensions
75         of files to remove after generating PDF output successfully.
76         (muse-latex-pdf-generate): Use these new options.  Work around the
77         annoying edge case where a tilde character exists in the filename
78         or directory path -- now this can only error out when the relative
79         path from the output file to the source file contains a tilde,
80         which is far less likely.
82         * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
83         muse-publish-ensure-block here after all, because <lisp> et al may
84         occur inline as part of other things.
86         * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
87         occur after full-document escaping, rather than before.  This
88         prevents automatically-inserted Texinfo code from being escaped.
89         (muse-texinfo-pdf-generate): Rewrite to call
90         `muse-latex-pdf-generate' with pdftex as the generating binary,
91         because texi2pdf suffers irredeemably from the tilde edge case
92         mentioned above.
94 2007-05-24  Michael Olson  <mwolson@gnu.org>
96         * NEWS: Drop vague entries and position interesting entries closer
97         to the top of each section.  Update for new changes.
99         * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
100         and bzr metadata directories to the list of things to ignore.
102         * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
103         `muse-publish-ensure-block-tag', since we will use it for more
104         than just tags.
105         (muse-publish-markup-list, muse-publish-verse-tag)
106         (muse-publish-quote-tag, muse-publish-example-tag)
107         (muse-publish-markup-attribute): Use it.  This fixes a bug that
108         can occur when these types of markup occur immediately after a
109         paragraph.  It's good to have defined behavior!
111         * texi/muse.texi (Markup Strings): Mention new argument for
112         link-and-anchor.
114 2007-05-19  Michael Olson  <mwolson@gnu.org>
116         * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
117         published footnotes and footnote references.  Thanks to Scott
118         Jaderholm for the idea.
120         * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
121         link-and-anchor, on the recommendation of the original submitter.
123 2007-05-14  Michael Olson  <mwolson@gnu.org>
125         * lisp/muse-latex.el (muse-latex-markup-strings): Use better
126         link-and-anchor markup.  Thanks to Jean Magnan de Bornier for the
127         suggestion.
129         * lisp/muse-publish.el (muse-publish-url): Pass the url without a
130         file extension as the fourth argument.
132         * README, texi/muse.texi (Getting Help and Reporting Bugs):
133         Mention the new muse-el-logs mailing list.
135 2007-05-13  Michael Olson  <mwolson@gnu.org>
137         * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
138         "\`" here.  This fixes a problem with publishing custom URLs.
140 2007-05-12  Michael Olson  <mwolson@gnu.org>
142         * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
143         update the list if the current buffer is associated with a file.
144         This fixes a bug with M-x muse-publish-region in a temporary
145         buffer.
147 2007-05-01  Michael Olson  <mwolson@gnu.org>
149         * lisp/muse-publish.el (muse-publish-region): Remove read-only
150         properties from the published buffer, so that the results can be
151         manually tweaked.
153 2007-04-23  Michael Olson  <mwolson@gnu.org>
155         * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
156         find the footnote that goes with a reference, leave the reference
157         as-is.  This fixes an error where control characters could be
158         placed in a published document.
160 2007-04-22  Michael Olson  <mwolson@gnu.org>
162         * IDEAS.muse: Add muse-slides.el to list of things to include
163         before release.
165         * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
166         character.
167         (muse-protocol-find): Find protocols correctly.  Rewrite to use
168         catch/throw.
169         (muse-browse-url): Don't concatenate "\`" here.  Together, this
170         fixes a bug with browsing woman:// links.
172         * lisp/muse-project.el (muse-project-alist-styles): Deal with case
173         where entry-dir has a trailing backslash.
174         (muse-project-publish-file): If a style is malformed, skip it and
175         display a warning message.  This should help people figure out
176         where the problem is.
178 2007-04-21  Michael Olson  <mwolson@gnu.org>
180         * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
181         yet-to-be-included "contex" publishing style, use "$$" rather
182         than "\[" and "\]".  Thanks to Jean Magnan de Bornier for pointing
183         this out.
185 2007-04-20  Michael Olson  <mwolson@gnu.org>
187         * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
188         variable that causes the :before and :before-end hooks to be
189         ignored when non-nil.
190         (muse-publish-markup-region): Use it.  Also, guarantee that point
191         is at end of region after publishing.
192         (muse-publish-mark-up-tag): Simplify, taking advantage of the new
193         variable.
195 2007-04-19  Michael Olson  <mwolson@gnu.org>
197         * IDEAS.muse: New file containing a list of ideas we have for new
198         features, or patches that have yet to be applied.
200         * README: Call it "Emacs Muse", not "the Emacs Muse".  No need to
201         be so confusing.
203         * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
204         docstring.
206         * lisp/muse-publish.el (muse-publish-markup-tags): Handle
207         <literal> tags with muse-publish-literal-tag, rather than
208         muse-publish-mark-read-only.
209         (muse-publish-literal-tag): New function that publishes the
210         <literal> tag.  It adds the ability to add the optional "style"
211         and "exact" elements, which cause text to only be included if the
212         current publishing style matches some criteria.  The text will be
213         removed otherwise.  Thanks to Jim Ottaway for the implementation.
214         (muse-publish-mark-up-tag): Let the <markup> tag take the
215         additional optional elements "style" and "exact", with much the
216         same effect as the <literal> improvements, but after calling
217         "function" or publishing the region first.  Make it possible to
218         put <content> tags in <markup> regions in HTML publishing.
220 2007-04-12  Michael Olson  <mwolson@gnu.org>
222         * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
223         that a blank line always exists after a heading.  This fixes a bug
224         in Docbook paragraph detection.  Thanks to Jean Magnan de Bornier
225         for the report.
227         * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
228         detection regexp to that which is used in Docbook and HTML
229         publishing styles.
231 2007-04-02  Michael Olson  <mwolson@gnu.org>
233         * README (muse-el-announce): Make a listing of mailing lists,
234         rather than pointing to the old EmacsWikiMailingList page.  Thanks
235         to Andreas Roehler for noticing.
237 2007-04-01  Michael Olson  <mwolson@gnu.org>
239         * lisp/muse-publish.el (muse-publish-date-format): Add
240 `       customization type and group.
241         (muse-publish-region): New interactive function that publishes a
242         region to a new buffer.
244         * texi/muse.texi: Use "document" rather than "manual".
246 2007-03-31  Michael Olson  <mwolson@gnu.org>
248         * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
249         expression (muse-style-derived-p "latex" (muse-style "latex"))
250         yielded nil.  It now yields t, as expected.  Thanks to Jim Ottaway
251         for the catch.
253 2007-02-25  Michael Olson  <mwolson@gnu.org>
255         * lisp/muse-publish.el (muse-publish-date-format): New option that
256         specifies how to format the date when publishing Muse pages.
257         Thanks to Thomas Gehrlein for the suggestion.
258         (muse-publish-markup-buffer): Use it.
260 2007-02-23  Michael Olson  <mwolson@gnu.org>
262         * README: Add Prerequisites section to mention which versions of
263         Emacs work with Muse.  Thanks to Exal de Jesus Garcia Carrillo for
264         the suggestion.  Update link destination for Muse's page on
265         emacswiki.org.
267 2007-02-15  Michael Olson  <mwolson@gnu.org>
269         * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
270         be not just at beginning of line.  This fixes an error with the
271         <class> tag.  Thanks to Jim Pivarski for the report.
273 2007-02-14  Michael Olson  <mwolson@gnu.org>
275         * lisp/muse-publish.el (muse-publish-classify-url): Check to see
276         whether something is an image before checking to see if it is a
277         URL.  Thanks to ITSUMI ken-ichi for the report.
279 2007-02-13  Michael Olson  <mwolson@gnu.org>
281         * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
282         comments that have no text better.  Thanks to fang.lungang for the
283         report.
284         (muse-publish-markup-comment): Deal with case where no comment
285         text is provided.
287 2007-01-23  Michael Olson  <mwolson@gnu.org>
289         * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
290         that ensures that at least one blank line exists at the given
291         position.  This is used to avoid paragraph detection problems when
292         block-level tags like <example> immediately follow a paragraph.
293         Thanks to Hans Ekbrand for the report.
294         (muse-publish-example-tag): Use it.
296 2007-01-19  Michael Olson  <mwolson@gnu.org>
298         * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
299         previous blank line if we are publishing in Latex.  Otherwise,
300         that wouldn't be the right thing, so leave it be.
302 2007-01-17  Michael Olson  <mwolson@gnu.org>
304         * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
305         multiple centered math lines on the same line; keep them on
306         different lines.  Use \[ math-text \] instead of $$math-text$$,
307         since the latter seems to be deprecated.  Thanks to Jody Klymak
308         for the pointer.
310 2007-01-15  Michael Olson  <mwolson@gnu.org>
312         * lisp/muse-latex2png.el (muse-publish-latex-tag)
313         (muse-publish-math-tag): Publish region read-only when current
314         style is Latex-derived, so that Muse does not escape it.
315         (muse-publish-math-tag): If 6 or more spaces come before the tag,
316         surround the region with "$$" rather than "$".  This is the Muse
317         syntax for something centered, so it should be a good fit.
319 2007-01-15  Valery V. Vorotyntsev  <valery.vv@gmail.com>
321         * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
322         protocol.
323         (muse-browse-url-man): Change man page URL format.  The code is
324         simpler when the section is left inside parentheses.
325         (muse-browse-url-woman): New function.
327 2007-01-14  Michael Olson  <mwolson@gnu.org>
329         * AUTHORS: Bookkeeping.
331         * lisp/muse-latex2png.el: Associate <math> tag with
332         muse-publish-math-tag, not muse-publish-latex-tag.  Thanks to Jody
333         Klymak for the report.
334         (muse-publish-math-tag): Use muse-insert-markup for the "$"
335         characters, so they don't get escaped.
337         * lisp/muse-publish.el (muse-style-derived-p-1): New function to
338         make muse-style-derived-p easier to implement.
339         (muse-style-derived-p): If the style is not provided, fetch it and
340         check to see if the car is a string.  This should fix the other
341         problem that was reported.
343         * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
344         explains a case where setting muse-file-extension to nil can cause
345         unexpected behavior.
347 2007-01-09  Michael Olson  <mwolson@gnu.org>
349         * lisp/muse-publish.el (muse-publish-markup-regexps): Make
350         comments higher priority than tags.  Thanks to Stefan van der Walt
351         for the report.
353 2007-01-08  Michael Olson  <mwolson@gnu.org>
355         * lisp/muse-publish.el (muse-markup-tag-info): Use the given
356         argument rather than calling match-string.  Thanks to Stefan van
357         der Walt for the report.  This should fix a bug with publishing
358         <include file="..." markup="example">.
360 2007-01-06  Michael Olson  <mwolson@gnu.org>
362         * Makefile (debclean): New rule split from debrevision and
363         debrelease.
364         (debbuild): Take distributor into account.
366         * Makefile.defs (DISTRIBUTOR): New field that tracks what
367         vendor/distributor we are building for.
369 2007-01-04  Michael Olson  <mwolson@gnu.org>
371         * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
372         line.
374         * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
375         point to muse-publish-src-tag by default, since <src> and
376         <example> have different parameters.
377         (muse-publish-src-tag): New barebones publishing function for
378         <src>, which is superseded when publishing in an HTML-based style.
380 2007-01-03  Michael Olson  <mwolson@gnu.org>
382         * lisp/muse-html.el (muse-html-src-tag): Document.
384         * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
385         command that calls a given tag on the current buffer.  Attributes
386         may be passed.
387         (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
388         it.
389         (muse-publish-srcify-buffer): New function that allows
390         markup="src" in the <include> tag.
391         (muse-publish-get-and-delete-attr): New macro that gets an
392         attribute from a list and removes the first instance of that
393         attribute from said list.
394         (muse-publish-markup-attribute): Handle markup="src".
395         (muse-publish-command-tag, muse-publish-include-tag): Use
396         muse-publish-get-and-delete-attr.  This allows the remaining
397         attributes to be passed.
399         * texi/muse.texi (Tag Summary): Update for new <src> tag as well
400         as changes to <command> and <include>.
402 2006-12-30  Michael Olson  <mwolson@gnu.org>
404         * NEWS: Update.
406         * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
407         from muse-publish-math-tag to avoid conflict with
408         muse-latex2png.el.
410 2006-12-23  Michael Olson  <mwolson@gnu.org>
412         * lisp/muse-latex2png.el: Update header, since this has been
413         rewritten sufficiently to not need an assignment from the original
414         author.
415         (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
416         (muse-latex2png): Use two underscores to separate prefix and hash.
417         (muse-latex2png-region): New function split from
418         muse-publish-latex-tag that can be used easily by other code.
419         Detect whether we are using an HTML-based publishing style, and
420         insert a simpler markup if we are not.  If we are using a
421         Latex-based publishing style, do not generate an image, and leave
422         the region alone.  Return the path of the generated image, in case
423         other functions want to use this programmatically.
424         (muse-publish-latex-tag): Set a default prefix based on the name
425         of the current file.
426         (muse-publish-math-tag): New tag that surrounds the region with
427         "$" characters, so that it becomes a Latex math region, and then
428         publishes it.
430         * lisp/muse-publish.el (muse-style-derived-p): New function that
431         returns non-nil if a given style, or the current style if omitted,
432         is equal to or derived from the given base style.  This is useful
433         in <lisp> tags, because it allows the user to specify markup that
434         is only to be inserted for one particular style.
436 2006-12-22  Michael Olson  <mwolson@gnu.org>
438         * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
439         (muse-html-src-tag): New function which publishes the <src> tag.
440         Thanks to Clinton Ebadi and Charles Wang for the initial
441         implementations.
443         * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
445 2006-12-21  Michael Olson  <mwolson@gnu.org>
447         * examples/johnw/muse-johnw.el: Update for preferred
448         muse-derive-style usage.  Rename to muse-init.el.
450         * examples/mwolson/muse-init.el: Update.
452         * lisp/muse-book.el (muse-book-publish): New function split from
453         muse-book-publish-project.  This is used in the definitions for
454         the book-latex and book-pdf styles.
455         (muse-book-publish-p): New function split from muse-book-publish.
456         (muse-book-get-directives): New function that retrieves the
457         publishing directives from the given file.
458         (muse-book-publish): Use muse-book-get-directives to set the title
459         if no title was specified.
461         * lisp/muse-project.el (muse-project): Add :publish-project entry
462         to widget.
463         (muse-read-project, muse-project-find-file): Message fix.
464         (muse-project-publish-file-default): New function split from
465         muse-project-publish-file.
466         (muse-project-publish-file): Allow file-level publishing function
467         to be specified by the :publish element.  The default is
468         muse-project-publish-file-default.
469         (muse-project-publish-default): New function split from
470         muse-project-publish.
471         (muse-project-publish): Allow project-level publishing function to
472         be specified by :publish-project element.  The default is
473         muse-project-publish-default.
475         * lisp/muse-publish.el (muse-publish-file): Message fix.
477         * texi/muse.texi (Book): Mention new way to publish books and
478         provide an example, since the process may be non-obvious.
480 2006-12-20  Michael Olson  <mwolson@gnu.org>
482         * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
483         content-modifying code from the rest of
484         muse-docbook-finalize-buffer.
486         * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
487         muse-groff-finalize-buffer, since it adds content to the buffer.
489         * lisp/muse-html.el (muse-html-munge-buffer): Split out
490         content-modifying code from the rest of muse-html-finalize-buffer.
491         This fixes a bug when using <include> with <content> tags.
493         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
494         (muse-journal-latex-munge-buffer)
495         (muse-journal-rss-munge-buffer): Rename, since they add content to
496         the buffer.
498         * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
499         muse-latex-finalize-buffer, since it adds content to the buffer.
501         * lisp/muse-mode.el:
502         * lisp/muse-project.el:
503         * lisp/muse-publish.el:
504         * lisp/muse.el: Fix recursive load error.
506         * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
507         muse-texinfo-finalize-buffer, since it adds content to the buffer.
509         * lisp/muse-wiki.el: Comment cleanup.
511         * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
513 2006-12-17  Michael Olson  <mwolson@gnu.org>
515         * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
516         Remove the definition of \comment, since Latex already has comment
517         syntax.
518         (muse-latex-markup-strings): Use the Latex comment syntax, rather
519         than our own.  Thanks to Ryan Stutsman for pointing this out.
521 2006-12-02  Michael Olson  <mwolson@gnu.org>
523         * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
524         that this can generate a proper table of contents for Planner HTML
525         publishing.
527 2006-12-01  Michael Olson  <mwolson@gnu.org>
529         * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
530         using a very old Emacs, avoid an infinite loop that could occur
531         when the regexp is an empty string.
533 2006-11-26  Michael Olson  <mwolson@gnu.org>
535         * NEWS: Bring up to date.
537         * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
538         list issues and multiple-stanza verse issues.  This takes care of
539         all of the markup issues I was worried about.
541         * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
542         (muse-project-publish-private-files): New option that indicates
543         whether files with private filesystem permissions should be
544         published.  The default is to publish them, since it avoids
545         confusion in new users.
546         (muse-project-private-p): Use it.
548 2006-11-19  Michael Olson  <mwolson@gnu.org>
550         * lisp/muse-project.el (muse-project-resolve-link): If no remote
551         style is found, which means that the link is not a Muse page, do
552         not add a suffix or prefix to it.  This should fix the
553         "[[thing.owl]]" bug that Phillip Lord reported.
555         * lisp/muse-publish.el (muse-publish-link-file): Simplify by
556         removing unused 2nd argument.
558 2006-11-17  Michael Olson  <mwolson@gnu.org>
560         * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
561         latex publishing where nested enumerated lists would be squashed
562         together at the end.
564 2006-11-16  Michael Olson  <mwolson@gnu.org>
566         * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
567         list embedded in a definition list look right.  This also allows
568         for definitions to be separated from their terms, much like the
569         way HTML does it by default, if the user puts a blank line or a
570         line break between the term and the definition.  If the term and
571         definition are on the same line, they will be that way in the
572         output as well.
574 2006-11-11  Michael Olson  <mwolson@gnu.org>
576         * muse.texi (Markup Strings): Fix typo.  Thanks to Haiyong Zheng
577         for the report.
578         (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
580 2006-11-07  Michael Olson  <mwolson@gnu.org>
582         * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
583         release candidate for Muse 3.03, available.
585         * NEWS: Update.
587 2006-11-06  Michael Olson  <mwolson@gnu.org>
589         * lisp/muse-project.el (muse-project-find-file): Fix bug when
590         following a relative link worked even when the path was incorrect.
592 2006-11-04  John Sullivan  <john@wjsullivan.net>
594         * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
595         muse-follow-name-at-point to reduce collisions with other
596         modes (Planner).
598         * muse.texi (Keystroke Summary): Remove C-c C-c binding.
600 2006-11-04  Michael Olson  <mwolson@gnu.org>
602         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
603         optional, and make interwiki delimiter a regular rather than shy
604         group.
605         (muse-wiki-handle-implicit-interwiki): Rename from
606         muse-wiki-handle-interwiki.  Use match group 3 to get the page.
607         (muse-wiki-handle-explicit-interwiki): New function that is
608         smarter about where an explicit link ends in a buffer.  This
609         allows you to refer to page names with invalid Wiki characters,
610         such as underscores and dashes, merely by enclosing them in double
611         brackets.  Also, a bug with recognizing project names too loosely
612         has been fixed.
614 2006-11-03  Michael Olson  <mwolson@gnu.org>
616         * lisp/muse-project.el (muse-project-page-file): Make relative
617         links work as expected, hopefully.
619         * lisp/muse-publish.el (muse-publish-this-file): Set the current
620         output style manually, since it will differ from anything in the
621         publishing style list.
623 2006-10-30  Michael Olson  <mwolson@gnu.org>
625         * lisp/muse-colors.el (muse-colors-markup): Remove note about
626         grouping elements, since that no longer applies.
627         (muse-colors-custom-tags): Explicitly match against
628         muse-tag-regexp to get the match-data set the way we want.  This
629         really fixes the <example> highlighting bug that Stefan reported.
630         (muse-configure-highlighting): Set the original value to the
631         symbol, not the modified value.  Re-use modified rules properly.
633         * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
634         introduced yesterday.
636 2006-10-29  Michael Olson  <mwolson@gnu.org>
638         * examples/mwolson: Update my example configuration.
640         * NEWS: Update.
642         * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
643         without a regexp in the first position before iterating through
644         them to build muse-colors-vector.  This fixes a bug with the
645         display of <example> tags.  Thanks to Stefan Reichör for the
646         report.
648         * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
649         files in projects to be linked to.
651         * lisp/muse-publish.el (muse-publish-url): Allow the original link
652         to serve as a description for a URL, as long as it differs from
653         the destination URL.  This fixes the description of WikPage links
654         in PDF output.
655         (muse-publish-link-file): Check to see whether the given link
656         points at a valid file.  If so, return it.  Otherwise, apply other
657         transforms like prefix and link suffix.
659         * lisp/muse-regexps.el (muse-file-regexp): If something ends in
660         "/", it is a file or directory, not a Muse page.  Thanks to
661         Phillip Lord for the suggestion.
663         * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
664         of the current page as the local path, instead of duplicating the
665         remote file's path.  This probably fixes at least one reported
666         bug. since it's quite major.
667         (muse-wiki-update-project-file-regexp)
668         (muse-wiki-update-interwiki-regexp): Ensure that nil is never
669         passed to regexp-opt, since that can cause Emacs 21 to throw an
670         "maximum binding depth exceeded" error.  Thanks to xs32 AT cornell
671         DOT edu for the report.
672         (muse-wiki-handle-wikiword): Avoid a potential stringp error.
674 2006-10-28  Michael Olson  <mwolson@gnu.org>
676         * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
677         (muse-project-resolve-link): If the given style does not have a
678         link-suffix, default to suffix.  This fixes a bug I was noticing
679         when linking to a file that was published in both PDF and HTML
680         form.
682         * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
683         function that is used as a callback to determine the initial
684         amount of indentation that the current dl item has.
685         (muse-publish-surround-dl): Use it.  Pass the initial indent value
686         and the post-indent value, instead of trying to determine them
687         both.
688         (muse-publish-strip-list-indentation): New function stripped from
689         `muse-publish-surround-text' for readability.
690         (muse-publish-surround-text): Instead of taking a determine-indent
691         value, take a determine-indent-func function, which is called just
692         after finding the next list item.  If we are asked to determine
693         the amount of indentation, concatenate indent and post-indent the
694         first time around.  This effectively fixes all known definition
695         list issues.
697 2006-10-16  Michael Olson  <mwolson@gnu.org>
699         * lisp/muse.el: Provide the 'muse-nested-tags feature so that
700         other software -- namely, Planner -- can detect whether they are
701         using a version of Muse that supports nested tags.
702         (muse-goto-tag-end): Moved from muse-publish.el and renamed from
703         muse-publish-goto-tag-end.
705         * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
706         Adapt for nested tags.
708         * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
709         <class> tag is nestable.  Thanks to Phillip Lord for noticing
710         this.
712         * lisp/muse-publish.el (muse-publish-markup-tag)
713         (muse-publish-quote-tag): Use muse-goto-tag-end.
715         * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
717 2006-10-15  Michael Olson  <mwolson@gnu.org>
719         * AUTHORS: Bookkeeping.
721         * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
722         tag.
724         * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
725         tags.
727         * lisp/muse-html.el (muse-html-markup-tags): Ditto.
729         * lisp/muse-import-docbook.el (muse-import-docbook)
730         (muse-import-docbook-files): Docfix.
731         (muse-import-docbook-get-title): Remove cl.el-ism.
733         * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
735         * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
737         * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
739         * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
740         (muse-next-reference, muse-previous-reference): Minor whitespace
741         changes.
742         (muse-mode-choose-mode): Add autoload cookie.  Thanks to Leo for
743         the suggestion.
745         * lisp/muse-poem.el (muse-poem-tag): Ditto.
747         * lisp/muse-publish.el (muse-publish-markup-tags)
748         (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
749         element and make 4th element determine whether tags are nestable.
750         (muse-publish-goto-tag-end): New function that moves to the end of
751         a tag.  Handle nested tags when NESTED is non-nil.
752         (muse-publish-markup-tag): Call muse-publish-goto-tag-end.  Use
753         5th element for function.
754         (muse-publish-quote-tag): Handle nested quote tags.  I've tested
755         this on several scenarios, and it seems to work.
756         (muse-publish-surround-text): Accept new optional argument
757         LIST-ITEM which determines the regexp to use for list items.  The
758         default is to use muse-list-item-regexp.
760         * muse.texi (Markup Tags): Mention nestable tags.
762         * NEWS: Mention new files.
764 2006-10-15  Elena Pomohaci  <e.pomohaci@gmail.com>
766         * lisp/muse-import-docbook.el: New file that converts Docbook XML
767         into Muse format.
769         * lisp/muse-import-xml.el: New file that provides helper routines
770         for converting XML-ish files to Muse format.
772 2006-10-10  Michael Olson  <mwolson@gnu.org>
774         * NEWS: Update for 3.02.7 bugfix release.
776 2006-10-06  Sasha Kovar  <sasha@arcocene.org>
778         * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
779         using the value in the muse #date directive.
780         (muse-blosxom-use-metadate): New option that determines whether or
781         not to use the #postdate directive.
782         (muse-blosxom-format-date): Convert a date string to PyBlosxom
783         metadate plugin format.
785 2006-09-30  Stefan Schlee  <stefan_schlee@yahoo.com>
787         * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
788         recognised URLs.
790         * muse.texi: Clarify handling of implicit links by mentioning
791         which characters can prevent Muse from recognizing something as an
792         implicit link.
794 2006-09-26  Stefan Schlee  <stefan_schlee@yahoo.com>
796         * lisp/muse-mode.el (muse-next-reference)
797         (muse-previous-reference): Fix bug #6367 by moving point to the
798         beginning of the link.
800 2006-09-26  Michael Olson  <mwolson@gnu.org>
802         * lisp/muse-colors.el (muse-use-font-lock): Don't quote
803         beginning-of-line.  This should fix a bug that was noticed in
804         recent Emacs 22 builds.
806         * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
807         eval-and-compile block to avoid a compiler warning.
809 2006-09-25  Jim Ottaway  <j.ottaway@lse.ac.uk>
811         * lisp/muse-backlink.el (muse-backlink-split-string):
812         Compatibility with Emacs versions < 22
813         (muse-backlink-pending): New internal variable
814         (muse-backlink-get-mode-hook): Find the major mode hook to use, so
815         that backlinks are inserted at the right time.
816         (muse-backlink-insert-hook-func): Remove unwind-protection; check
817         for pending backlink, and that this is the targe page.
818         (muse-backlink-handle-link): Don’t handle the link if we are
819         already handling one. Return the link as well as the parent links.
821 2006-09-25  Sasha Kovar  <sasha@arcocene.org>
823         * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
824         #6942 - muse-blosxom-new-entry fails when using tags.
826 2006-09-14  Michael Olson  <mwolson@gnu.org>
828         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
829         compiler warning.
831 2006-09-14  Jim Ottaway  <j.ottaway@lse.ac.uk>
833         * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
834         function: Protect all wikiwords from START to END from further
835         processing.
836         (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
838 2006-09-13  Michael Olson  <mwolson@gnu.org>
840         * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
841         adopted from Jim Ottaway's patch.  It removes links from the
842         heading, and then marks the region read-only to inhibit WikiWord
843         detection.
845 2006-09-13  Jim Ottaway  <j.ottaway@lse.ac.uk>
847         * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
848         special handling for headings.
849         (muse-texinfo-remove-links): New function that removes explicit
850         links from the given strings, replacing them with a description.
852 2006-09-11  Michael Olson  <mwolson@gnu.org>
854         * muse.texi (Getting Help and Reporting Bugs): Mention the
855         muse-el-internationalization mailing list.
857         * lisp/muse.el (muse-path-sans-extension): New function that acts
858         like file-name-sans-extension, but guarantees to never modify the
859         directory part of the path.  Thanks to Evan Monroig for
860         investigating this.
862         * lisp/muse-book.el (muse-book-publish-project): Use
863         muse-path-sans-extension instead of file-name-sans-extension.
865         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
866         Ditto.
868 2006-08-30  Michael Olson  <mwolson@gnu.org>
870         * muse.texi (Blosxom Requirements): Fix typo.
872         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
873         directories for bzr and darcs.
875         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
876         contrib/pyblosxom/getstamps.py: Update version and headers.
878 2006-08-27  Michael Olson  <mwolson@gnu.org>
880         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
881         nil values before they get to mapconcat.  This fixes a lockup when
882         muse-wiki-match-all-project-files is nil.
884         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
885         (muse-wiki-ignore-implicit-links-to-current-page)
886         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
887         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
888         (muse-wiki-publish-small-title-words)
889         (muse-wiki-publish-pretty-title): Docfix.
890         (muse-wiki-update-local-wikiword-regexp): Rename from
891         muse-wiki-update-local-wikiword-regexp.  Set
892         muse-wiki-project-file-regexp instead of
893         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
894         take muse-wiki-use-wikiword into account, since this is a
895         different concept now.
896         (muse-wiki-update-wikiword-regexp): Remove.
897         (muse-wiki-wikiword-regexp): In-line the :set function.
898         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
900 2006-08-26  Michael Olson  <mwolson@gnu.org>
902         * lisp/muse-publish.el (muse-publish-surround-text): When looking
903         for indented list items, ignore blank lines.
905         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
906         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
907         mapconcat.  This should hopefully fix a problem with large amounts
908         of files with spaces in their name.  Thanks to Greg Detre for the
909         report.
911 2006-08-24  Michael Olson  <mwolson@gnu.org>
913         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
914         numbers from the argument to format-time-string.  This fixes an
915         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
917 2006-08-18  Michael Olson  <mwolson@gnu.org>
919         * lisp/muse-project.el (muse-project-file-entries): Since we are
920         given a full path, match against the filename as well.  This fixes
921         an issue where backup files were being added to the file alist.
923         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
924         from muse-html.el.
926 2006-08-12  Michael Olson  <mwolson@gnu.org>
928         * Makefile (.PHONY): Don't use line continuations.
929         (realclean fullclean): Call realclean in subdirs, not distclean.
930         (distclean): Don't call realclean, since this would wipe out our
931         autoloads file.
932         (dist): Use correct path to autoloads file.
934         * NEWS: Catch up with the latest changes.
936         * experimental/Makefile (.PHONY): Wrap long line.
938         * lisp/Makefile (distclean): Do the same thing as "clean", not
939         "realclean".
941         * lisp/muse-project.el (muse-project-get-applicable-style):
942         Indentation tweak.
943         (muse-project-ignore-regexp, muse-project-recurse-directory):
944         Docfix.
945         (muse-project-of-file): Try the ignored files regexp against the
946         base filename as well as the entire path.
948         * lisp/muse-publish.el (muse-publish-this-file): Display message
949         if the buffer is not associated with any file, so that we avoid
950         errors later on.
951         (muse-publish-url-desc): New function taken from muse-publish-url
952         that causes a URL description to be transformed.
953         (muse-publish-url): Call muse-publish-url-desc on either the
954         description or the original URL if it will be used as a
955         description.  Accept the original URL as an argument, in case it
956         was transformed earlier.
957         (muse-publish-insert-url): Pass original URL as an argument.
958         (muse-publish-markup-link): Make this somewhat easier to follow.
959         Pass original URL as argument.
960         (muse-publish-get-style): If the same style is used to publish to
961         two different directories, prompt the user for which directory to
962         use.
963         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
964         latest changes.
965         (muse-publish-markup-url): Pass original URL as an argument.  This
966         fixes the "nil" description for bare URLs that was in 3.02.91.
967         Nothing like finding a bug just after completing the announcement
968         of a release.
970         * lisp/muse.el: Use defalias whenever convenient.
971         (muse-version): Set version to 3.02.92 (3.03 RC2).
973 2006-08-10  Michael Olson  <mwolson@gnu.org>
975         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
976         style does not derive from any other class, return `t' here.
977         This, along with the corresponding change to muse-publish.el,
978         fixes a problem with the table of contents getting inserted
979         multiple times for custom html-based styles.
980         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
981         smarter method for table centering that works with XHTML.
983         * lisp/muse-latex2png.el Rename all functions to have a
984         "muse-latex2png" prefix.  Turn all variables into customizable
985         options in the muse-latex2png group.
986         (muse-latex2png-img-dest): New option specifying where to place
987         the images.
988         (muse-latex2png-template): New option containing the template to
989         use for the surrounding LaTeX code.
990         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
991         compliance.
992         (muse-latex2png-move2pubdir): Avoid multiple redundant error
993         messages when something else goes wrong.  Create the image
994         subdirectory if it doesn't exist already -- thanks to Christian
995         Straßer for the report.  Expand the filename properly.
996         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
997         and filename expansion.
998         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
999         the default directory properly.
1001         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
1002         do not run the same function twice.
1004 2006-08-08  Michael Olson  <mwolson@gnu.org>
1006         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
1007         introduced wrong-type-argument error.
1009         * lisp/muse-html.el (muse-html-markup-strings)
1010         (muse-xhtml-markup-string): Cause table definition that contains
1011         image to be center-aligned.  This should fix an issue with images
1012         not being centered when captions are very long.
1014         * lisp/muse-publish.el (muse-publish-table-fields): Trim
1015         whitespace from fields once we have split them up.
1017         * lisp/muse.el (muse-trim-whitespace): New function that strips
1018         leading and trailing whitespace from a string.
1020 2006-08-07  Michael Olson  <mwolson@gnu.org>
1022         * NEWS: Update through patch-95.
1024         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
1025         to match the tags.
1026         (muse-colors-explicit-link): Show images in link descriptions if
1027         inlined images are enabled.
1029         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
1030         definitions for 'image-with-desc, 'image, and 'image-link.
1031         (muse-docbook-markup-paragraph): If an inlined image begins a
1032         paragraph, insert <para> before it.
1033         (muse-docbook-fixup-images): New function that upper-cases the
1034         "format" attribute of the <imagedata> tag.
1035         (muse-docbook-finalize-buffer): Call it.
1037         * lisp/muse-html.el (muse-html-markup-strings): Publish images
1038         with descriptions as centered tables, with a centered caption
1039         underneath.  The resulting look is consistent with the way that
1040         they are published in the LaTeX style.  Thanks to Jody Klymak for
1041         the suggestion.
1042         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
1043         valid way to center a table.
1044         (muse-html-markup-paragraph): Use class="image" instead of
1045         "image-link" for paragraphs that start with an embedded image.
1047         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
1048         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
1049         suggestion.
1050         (muse-latex-markup-specials-image): New option that enables
1051         escaping of specials in images.  This was split from the URL
1052         specials.
1053         (muse-latex-decide-specials): Handle 'image context.
1054         (muse-latex-fixup-dquotes): Go to beginning of document, instead
1055         of relying on caller to do this for us.
1057         * lisp/muse-publish.el (muse-publish-escape-specials): Document
1058         'image context.
1059         (muse-publish-url): Use 'image context for images.  Use 'image
1060         instead of 'image-link and 'image-link in place of
1061         'url-with-image.  Separate the image file from its extension so
1062         that docbook and texinfo can publish images correctly.
1063         (muse-publish-markup-link): Don't force a description if one is
1064         not given.  This fixes a bug where images without descriptions
1065         were being published as 'image-with-desc instead of 'image.
1067         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
1068         images the same as URLs.
1069         (muse-texinfo-markup-strings): Improve image markup to achieve an
1070         effect similar to that of the LaTeX publishing style.  Simplify
1071         'url string.
1073         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
1075         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
1076         when we have to use the custom version of this function.
1078         * muse.texi (Images): Explain how to toggle inlining of images and
1079         give better examples.  Mention captions and that captioned images
1080         should not be used inside of text paragraphs.
1081         (Markup Strings): Bring up-to-date with the changes made since
1082         3.02.
1084 2006-08-06  Michael Olson  <mwolson@gnu.org>
1086         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
1087         in the Emacs source tree.
1089         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
1090         in the Emacs source tree.
1092         * ChangeLog.3: New file created from the old ChangeLog.
1094         * Makefile.defs (VERSION): Set to 3.02.91.
1096         * NEWS: Update through patch-84.
1098         * lisp/muse.el (muse-version): Set to 3.02.91.
1100         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
1101         attributes.
1102         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
1103         delimiter are instead of hard-coding it.
1105         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
1106         (muse-mode): Make filling definition lists work better.  This
1107         should fix #5359.
1109         * lisp/muse-publish.el (muse-style-run-hooks): Use
1110         `muse-style-element' instead of `muse-get-keyword' here.  This
1111         should fix #6399.
1113         * muse.texi: Set version to 3.02.91 (3.02 RC2).
1115 See ChangeLog.3 for earlier changes.
1117 ;; Local Variables:
1118 ;; coding: utf-8
1119 ;; End: