1 2007-05-25 Michael Olson <mwolson@gnu.org>
3 * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
4 way of building Debian packages that preserves the original
5 release tarball and is more modular.
6 (debrevision, debrelease): Remove.
7 (dist): No need to remove the debian/ directory, since it is now
10 2007-05-24 Michael Olson <mwolson@gnu.org>
12 * NEWS: Drop vague entries and position interesting entries closer
13 to the top of each section. Update for new changes.
15 * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
16 and bzr metadata directories to the list of things to ignore.
18 * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
19 `muse-publish-ensure-block-tag', since we will use it for more
21 (muse-publish-markup-list, muse-publish-verse-tag)
22 (muse-publish-quote-tag, muse-publish-example-tag)
23 (muse-publish-markup-attribute): Use it. This fixes a bug that
24 can occur when these types of markup occur immediately after a
25 paragraph. It's good to have defined behavior!
27 * texi/muse.texi (Markup Strings): Mention new argument for
30 2007-05-19 Michael Olson <mwolson@gnu.org>
32 * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
33 published footnotes and footnote references. Thanks to Scott
34 Jaderholm for the idea.
36 * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
37 link-and-anchor, on the recommendation of the original submitter.
39 2007-05-14 Michael Olson <mwolson@gnu.org>
41 * lisp/muse-latex.el (muse-latex-markup-strings): Use better
42 link-and-anchor markup. Thanks to Jean Magnan de Bornier for the
45 * lisp/muse-publish.el (muse-publish-url): Pass the url without a
46 file extension as the fourth argument.
48 * README, texi/muse.texi (Getting Help and Reporting Bugs):
49 Mention the new muse-el-logs mailing list.
51 2007-05-13 Michael Olson <mwolson@gnu.org>
53 * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
54 "\`" here. This fixes a problem with publishing custom URLs.
56 2007-05-12 Michael Olson <mwolson@gnu.org>
58 * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
59 update the list if the current buffer is associated with a file.
60 This fixes a bug with M-x muse-publish-region in a temporary
63 2007-05-01 Michael Olson <mwolson@gnu.org>
65 * lisp/muse-publish.el (muse-publish-region): Remove read-only
66 properties from the published buffer, so that the results can be
69 2007-04-23 Michael Olson <mwolson@gnu.org>
71 * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
72 find the footnote that goes with a reference, leave the reference
73 as-is. This fixes an error where control characters could be
74 placed in a published document.
76 2007-04-22 Michael Olson <mwolson@gnu.org>
78 * IDEAS.muse: Add muse-slides.el to list of things to include
81 * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
83 (muse-protocol-find): Find protocols correctly. Rewrite to use
85 (muse-browse-url): Don't concatenate "\`" here. Together, this
86 fixes a bug with browsing woman:// links.
88 * lisp/muse-project.el (muse-project-alist-styles): Deal with case
89 where entry-dir has a trailing backslash.
90 (muse-project-publish-file): If a style is malformed, skip it and
91 display a warning message. This should help people figure out
94 2007-04-21 Michael Olson <mwolson@gnu.org>
96 * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
97 yet-to-be-included "contex" publishing style, use "$$" rather
98 than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
101 2007-04-20 Michael Olson <mwolson@gnu.org>
103 * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
104 variable that causes the :before and :before-end hooks to be
105 ignored when non-nil.
106 (muse-publish-markup-region): Use it. Also, guarantee that point
107 is at end of region after publishing.
108 (muse-publish-mark-up-tag): Simplify, taking advantage of the new
111 2007-04-19 Michael Olson <mwolson@gnu.org>
113 * IDEAS.muse: New file containing a list of ideas we have for new
114 features, or patches that have yet to be applied.
116 * README: Call it "Emacs Muse", not "the Emacs Muse". No need to
119 * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
122 * lisp/muse-publish.el (muse-publish-markup-tags): Handle
123 <literal> tags with muse-publish-literal-tag, rather than
124 muse-publish-mark-read-only.
125 (muse-publish-literal-tag): New function that publishes the
126 <literal> tag. It adds the ability to add the optional "style"
127 and "exact" elements, which cause text to only be included if the
128 current publishing style matches some criteria. The text will be
129 removed otherwise. Thanks to Jim Ottaway for the implementation.
130 (muse-publish-mark-up-tag): Let the <markup> tag take the
131 additional optional elements "style" and "exact", with much the
132 same effect as the <literal> improvements, but after calling
133 "function" or publishing the region first. Make it possible to
134 put <content> tags in <markup> regions in HTML publishing.
136 2007-04-12 Michael Olson <mwolson@gnu.org>
138 * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
139 that a blank line always exists after a heading. This fixes a bug
140 in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
143 * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
144 detection regexp to that which is used in Docbook and HTML
147 2007-04-02 Michael Olson <mwolson@gnu.org>
149 * README (muse-el-announce): Make a listing of mailing lists,
150 rather than pointing to the old EmacsWikiMailingList page. Thanks
151 to Andreas Roehler for noticing.
153 2007-04-01 Michael Olson <mwolson@gnu.org>
155 * lisp/muse-publish.el (muse-publish-date-format): Add
156 ` customization type and group.
157 (muse-publish-region): New interactive function that publishes a
158 region to a new buffer.
160 * texi/muse.texi: Use "document" rather than "manual".
162 2007-03-31 Michael Olson <mwolson@gnu.org>
164 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
165 expression (muse-style-derived-p "latex" (muse-style "latex"))
166 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
169 2007-02-25 Michael Olson <mwolson@gnu.org>
171 * lisp/muse-publish.el (muse-publish-date-format): New option that
172 specifies how to format the date when publishing Muse pages.
173 Thanks to Thomas Gehrlein for the suggestion.
174 (muse-publish-markup-buffer): Use it.
176 2007-02-23 Michael Olson <mwolson@gnu.org>
178 * README: Add Prerequisites section to mention which versions of
179 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
180 the suggestion. Update link destination for Muse's page on
183 2007-02-15 Michael Olson <mwolson@gnu.org>
185 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
186 be not just at beginning of line. This fixes an error with the
187 <class> tag. Thanks to Jim Pivarski for the report.
189 2007-02-14 Michael Olson <mwolson@gnu.org>
191 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
192 whether something is an image before checking to see if it is a
193 URL. Thanks to ITSUMI ken-ichi for the report.
195 2007-02-13 Michael Olson <mwolson@gnu.org>
197 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
198 comments that have no text better. Thanks to fang.lungang for the
200 (muse-publish-markup-comment): Deal with case where no comment
203 2007-01-23 Michael Olson <mwolson@gnu.org>
205 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
206 that ensures that at least one blank line exists at the given
207 position. This is used to avoid paragraph detection problems when
208 block-level tags like <example> immediately follow a paragraph.
209 Thanks to Hans Ekbrand for the report.
210 (muse-publish-example-tag): Use it.
212 2007-01-19 Michael Olson <mwolson@gnu.org>
214 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
215 previous blank line if we are publishing in Latex. Otherwise,
216 that wouldn't be the right thing, so leave it be.
218 2007-01-17 Michael Olson <mwolson@gnu.org>
220 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
221 multiple centered math lines on the same line; keep them on
222 different lines. Use \[ math-text \] instead of $$math-text$$,
223 since the latter seems to be deprecated. Thanks to Jody Klymak
226 2007-01-15 Michael Olson <mwolson@gnu.org>
228 * lisp/muse-latex2png.el (muse-publish-latex-tag)
229 (muse-publish-math-tag): Publish region read-only when current
230 style is Latex-derived, so that Muse does not escape it.
231 (muse-publish-math-tag): If 6 or more spaces come before the tag,
232 surround the region with "$$" rather than "$". This is the Muse
233 syntax for something centered, so it should be a good fit.
235 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
237 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
239 (muse-browse-url-man): Change man page URL format. The code is
240 simpler when the section is left inside parentheses.
241 (muse-browse-url-woman): New function.
243 2007-01-14 Michael Olson <mwolson@gnu.org>
245 * AUTHORS: Bookkeeping.
247 * lisp/muse-latex2png.el: Associate <math> tag with
248 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
249 Klymak for the report.
250 (muse-publish-math-tag): Use muse-insert-markup for the "$"
251 characters, so they don't get escaped.
253 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
254 make muse-style-derived-p easier to implement.
255 (muse-style-derived-p): If the style is not provided, fetch it and
256 check to see if the car is a string. This should fix the other
257 problem that was reported.
259 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
260 explains a case where setting muse-file-extension to nil can cause
263 2007-01-09 Michael Olson <mwolson@gnu.org>
265 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
266 comments higher priority than tags. Thanks to Stefan van der Walt
269 2007-01-08 Michael Olson <mwolson@gnu.org>
271 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
272 argument rather than calling match-string. Thanks to Stefan van
273 der Walt for the report. This should fix a bug with publishing
274 <include file="..." markup="example">.
276 2007-01-06 Michael Olson <mwolson@gnu.org>
278 * Makefile (debclean): New rule split from debrevision and
280 (debbuild): Take distributor into account.
282 * Makefile.defs (DISTRIBUTOR): New field that tracks what
283 vendor/distributor we are building for.
285 2007-01-04 Michael Olson <mwolson@gnu.org>
287 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
290 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
291 point to muse-publish-src-tag by default, since <src> and
292 <example> have different parameters.
293 (muse-publish-src-tag): New barebones publishing function for
294 <src>, which is superseded when publishing in an HTML-based style.
296 2007-01-03 Michael Olson <mwolson@gnu.org>
298 * lisp/muse-html.el (muse-html-src-tag): Document.
300 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
301 command that calls a given tag on the current buffer. Attributes
303 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
305 (muse-publish-srcify-buffer): New function that allows
306 markup="src" in the <include> tag.
307 (muse-publish-get-and-delete-attr): New macro that gets an
308 attribute from a list and removes the first instance of that
309 attribute from said list.
310 (muse-publish-markup-attribute): Handle markup="src".
311 (muse-publish-command-tag, muse-publish-include-tag): Use
312 muse-publish-get-and-delete-attr. This allows the remaining
313 attributes to be passed.
315 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
316 as changes to <command> and <include>.
318 2006-12-30 Michael Olson <mwolson@gnu.org>
322 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
323 from muse-publish-math-tag to avoid conflict with
326 2006-12-23 Michael Olson <mwolson@gnu.org>
328 * lisp/muse-latex2png.el: Update header, since this has been
329 rewritten sufficiently to not need an assignment from the original
331 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
332 (muse-latex2png): Use two underscores to separate prefix and hash.
333 (muse-latex2png-region): New function split from
334 muse-publish-latex-tag that can be used easily by other code.
335 Detect whether we are using an HTML-based publishing style, and
336 insert a simpler markup if we are not. If we are using a
337 Latex-based publishing style, do not generate an image, and leave
338 the region alone. Return the path of the generated image, in case
339 other functions want to use this programmatically.
340 (muse-publish-latex-tag): Set a default prefix based on the name
342 (muse-publish-math-tag): New tag that surrounds the region with
343 "$" characters, so that it becomes a Latex math region, and then
346 * lisp/muse-publish.el (muse-style-derived-p): New function that
347 returns non-nil if a given style, or the current style if omitted,
348 is equal to or derived from the given base style. This is useful
349 in <lisp> tags, because it allows the user to specify markup that
350 is only to be inserted for one particular style.
352 2006-12-22 Michael Olson <mwolson@gnu.org>
354 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
355 (muse-html-src-tag): New function which publishes the <src> tag.
356 Thanks to Clinton Ebadi and Charles Wang for the initial
359 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
361 2006-12-21 Michael Olson <mwolson@gnu.org>
363 * examples/johnw/muse-johnw.el: Update for preferred
364 muse-derive-style usage. Rename to muse-init.el.
366 * examples/mwolson/muse-init.el: Update.
368 * lisp/muse-book.el (muse-book-publish): New function split from
369 muse-book-publish-project. This is used in the definitions for
370 the book-latex and book-pdf styles.
371 (muse-book-publish-p): New function split from muse-book-publish.
372 (muse-book-get-directives): New function that retrieves the
373 publishing directives from the given file.
374 (muse-book-publish): Use muse-book-get-directives to set the title
375 if no title was specified.
377 * lisp/muse-project.el (muse-project): Add :publish-project entry
379 (muse-read-project, muse-project-find-file): Message fix.
380 (muse-project-publish-file-default): New function split from
381 muse-project-publish-file.
382 (muse-project-publish-file): Allow file-level publishing function
383 to be specified by the :publish element. The default is
384 muse-project-publish-file-default.
385 (muse-project-publish-default): New function split from
386 muse-project-publish.
387 (muse-project-publish): Allow project-level publishing function to
388 be specified by :publish-project element. The default is
389 muse-project-publish-default.
391 * lisp/muse-publish.el (muse-publish-file): Message fix.
393 * texi/muse.texi (Book): Mention new way to publish books and
394 provide an example, since the process may be non-obvious.
396 2006-12-20 Michael Olson <mwolson@gnu.org>
398 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
399 content-modifying code from the rest of
400 muse-docbook-finalize-buffer.
402 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
403 muse-groff-finalize-buffer, since it adds content to the buffer.
405 * lisp/muse-html.el (muse-html-munge-buffer): Split out
406 content-modifying code from the rest of muse-html-finalize-buffer.
407 This fixes a bug when using <include> with <content> tags.
409 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
410 (muse-journal-latex-munge-buffer)
411 (muse-journal-rss-munge-buffer): Rename, since they add content to
414 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
415 muse-latex-finalize-buffer, since it adds content to the buffer.
418 * lisp/muse-project.el:
419 * lisp/muse-publish.el:
420 * lisp/muse.el: Fix recursive load error.
422 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
423 muse-texinfo-finalize-buffer, since it adds content to the buffer.
425 * lisp/muse-wiki.el: Comment cleanup.
427 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
429 2006-12-17 Michael Olson <mwolson@gnu.org>
431 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
432 Remove the definition of \comment, since Latex already has comment
434 (muse-latex-markup-strings): Use the Latex comment syntax, rather
435 than our own. Thanks to Ryan Stutsman for pointing this out.
437 2006-12-02 Michael Olson <mwolson@gnu.org>
439 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
440 that this can generate a proper table of contents for Planner HTML
443 2006-12-01 Michael Olson <mwolson@gnu.org>
445 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
446 using a very old Emacs, avoid an infinite loop that could occur
447 when the regexp is an empty string.
449 2006-11-26 Michael Olson <mwolson@gnu.org>
451 * NEWS: Bring up to date.
453 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
454 list issues and multiple-stanza verse issues. This takes care of
455 all of the markup issues I was worried about.
457 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
458 (muse-project-publish-private-files): New option that indicates
459 whether files with private filesystem permissions should be
460 published. The default is to publish them, since it avoids
461 confusion in new users.
462 (muse-project-private-p): Use it.
464 2006-11-19 Michael Olson <mwolson@gnu.org>
466 * lisp/muse-project.el (muse-project-resolve-link): If no remote
467 style is found, which means that the link is not a Muse page, do
468 not add a suffix or prefix to it. This should fix the
469 "[[thing.owl]]" bug that Phillip Lord reported.
471 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
472 removing unused 2nd argument.
474 2006-11-17 Michael Olson <mwolson@gnu.org>
476 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
477 latex publishing where nested enumerated lists would be squashed
480 2006-11-16 Michael Olson <mwolson@gnu.org>
482 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
483 list embedded in a definition list look right. This also allows
484 for definitions to be separated from their terms, much like the
485 way HTML does it by default, if the user puts a blank line or a
486 line break between the term and the definition. If the term and
487 definition are on the same line, they will be that way in the
490 2006-11-11 Michael Olson <mwolson@gnu.org>
492 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
494 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
496 2006-11-07 Michael Olson <mwolson@gnu.org>
498 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
499 release candidate for Muse 3.03, available.
503 2006-11-06 Michael Olson <mwolson@gnu.org>
505 * lisp/muse-project.el (muse-project-find-file): Fix bug when
506 following a relative link worked even when the path was incorrect.
508 2006-11-04 John Sullivan <john@wjsullivan.net>
510 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
511 muse-follow-name-at-point to reduce collisions with other
514 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
516 2006-11-04 Michael Olson <mwolson@gnu.org>
518 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
519 optional, and make interwiki delimiter a regular rather than shy
521 (muse-wiki-handle-implicit-interwiki): Rename from
522 muse-wiki-handle-interwiki. Use match group 3 to get the page.
523 (muse-wiki-handle-explicit-interwiki): New function that is
524 smarter about where an explicit link ends in a buffer. This
525 allows you to refer to page names with invalid Wiki characters,
526 such as underscores and dashes, merely by enclosing them in double
527 brackets. Also, a bug with recognizing project names too loosely
530 2006-11-03 Michael Olson <mwolson@gnu.org>
532 * lisp/muse-project.el (muse-project-page-file): Make relative
533 links work as expected, hopefully.
535 * lisp/muse-publish.el (muse-publish-this-file): Set the current
536 output style manually, since it will differ from anything in the
537 publishing style list.
539 2006-10-30 Michael Olson <mwolson@gnu.org>
541 * lisp/muse-colors.el (muse-colors-markup): Remove note about
542 grouping elements, since that no longer applies.
543 (muse-colors-custom-tags): Explicitly match against
544 muse-tag-regexp to get the match-data set the way we want. This
545 really fixes the <example> highlighting bug that Stefan reported.
546 (muse-configure-highlighting): Set the original value to the
547 symbol, not the modified value. Re-use modified rules properly.
549 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
550 introduced yesterday.
552 2006-10-29 Michael Olson <mwolson@gnu.org>
554 * examples/mwolson: Update my example configuration.
558 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
559 without a regexp in the first position before iterating through
560 them to build muse-colors-vector. This fixes a bug with the
561 display of <example> tags. Thanks to Stefan Reichör for the
564 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
565 files in projects to be linked to.
567 * lisp/muse-publish.el (muse-publish-url): Allow the original link
568 to serve as a description for a URL, as long as it differs from
569 the destination URL. This fixes the description of WikPage links
571 (muse-publish-link-file): Check to see whether the given link
572 points at a valid file. If so, return it. Otherwise, apply other
573 transforms like prefix and link suffix.
575 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
576 "/", it is a file or directory, not a Muse page. Thanks to
577 Phillip Lord for the suggestion.
579 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
580 of the current page as the local path, instead of duplicating the
581 remote file's path. This probably fixes at least one reported
582 bug. since it's quite major.
583 (muse-wiki-update-project-file-regexp)
584 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
585 passed to regexp-opt, since that can cause Emacs 21 to throw an
586 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
587 DOT edu for the report.
588 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
590 2006-10-28 Michael Olson <mwolson@gnu.org>
592 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
593 (muse-project-resolve-link): If the given style does not have a
594 link-suffix, default to suffix. This fixes a bug I was noticing
595 when linking to a file that was published in both PDF and HTML
598 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
599 function that is used as a callback to determine the initial
600 amount of indentation that the current dl item has.
601 (muse-publish-surround-dl): Use it. Pass the initial indent value
602 and the post-indent value, instead of trying to determine them
604 (muse-publish-strip-list-indentation): New function stripped from
605 `muse-publish-surround-text' for readability.
606 (muse-publish-surround-text): Instead of taking a determine-indent
607 value, take a determine-indent-func function, which is called just
608 after finding the next list item. If we are asked to determine
609 the amount of indentation, concatenate indent and post-indent the
610 first time around. This effectively fixes all known definition
613 2006-10-16 Michael Olson <mwolson@gnu.org>
615 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
616 other software -- namely, Planner -- can detect whether they are
617 using a version of Muse that supports nested tags.
618 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
619 muse-publish-goto-tag-end.
621 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
622 Adapt for nested tags.
624 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
625 <class> tag is nestable. Thanks to Phillip Lord for noticing
628 * lisp/muse-publish.el (muse-publish-markup-tag)
629 (muse-publish-quote-tag): Use muse-goto-tag-end.
631 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
633 2006-10-15 Michael Olson <mwolson@gnu.org>
635 * AUTHORS: Bookkeeping.
637 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
640 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
643 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
645 * lisp/muse-import-docbook.el (muse-import-docbook)
646 (muse-import-docbook-files): Docfix.
647 (muse-import-docbook-get-title): Remove cl.el-ism.
649 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
651 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
653 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
655 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
656 (muse-next-reference, muse-previous-reference): Minor whitespace
658 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
661 * lisp/muse-poem.el (muse-poem-tag): Ditto.
663 * lisp/muse-publish.el (muse-publish-markup-tags)
664 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
665 element and make 4th element determine whether tags are nestable.
666 (muse-publish-goto-tag-end): New function that moves to the end of
667 a tag. Handle nested tags when NESTED is non-nil.
668 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
669 5th element for function.
670 (muse-publish-quote-tag): Handle nested quote tags. I've tested
671 this on several scenarios, and it seems to work.
672 (muse-publish-surround-text): Accept new optional argument
673 LIST-ITEM which determines the regexp to use for list items. The
674 default is to use muse-list-item-regexp.
676 * muse.texi (Markup Tags): Mention nestable tags.
678 * NEWS: Mention new files.
680 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
682 * lisp/muse-import-docbook.el: New file that converts Docbook XML
685 * lisp/muse-import-xml.el: New file that provides helper routines
686 for converting XML-ish files to Muse format.
688 2006-10-10 Michael Olson <mwolson@gnu.org>
690 * NEWS: Update for 3.02.7 bugfix release.
692 2006-10-06 Sasha Kovar <sasha@arcocene.org>
694 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
695 using the value in the muse #date directive.
696 (muse-blosxom-use-metadate): New option that determines whether or
697 not to use the #postdate directive.
698 (muse-blosxom-format-date): Convert a date string to PyBlosxom
699 metadate plugin format.
701 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
703 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
706 * muse.texi: Clarify handling of implicit links by mentioning
707 which characters can prevent Muse from recognizing something as an
710 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
712 * lisp/muse-mode.el (muse-next-reference)
713 (muse-previous-reference): Fix bug #6367 by moving point to the
714 beginning of the link.
716 2006-09-26 Michael Olson <mwolson@gnu.org>
718 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
719 beginning-of-line. This should fix a bug that was noticed in
720 recent Emacs 22 builds.
722 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
723 eval-and-compile block to avoid a compiler warning.
725 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
727 * lisp/muse-backlink.el (muse-backlink-split-string):
728 Compatibility with Emacs versions < 22
729 (muse-backlink-pending): New internal variable
730 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
731 that backlinks are inserted at the right time.
732 (muse-backlink-insert-hook-func): Remove unwind-protection; check
733 for pending backlink, and that this is the targe page.
734 (muse-backlink-handle-link): Don’t handle the link if we are
735 already handling one. Return the link as well as the parent links.
737 2006-09-25 Sasha Kovar <sasha@arcocene.org>
739 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
740 #6942 - muse-blosxom-new-entry fails when using tags.
742 2006-09-14 Michael Olson <mwolson@gnu.org>
744 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
747 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
749 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
750 function: Protect all wikiwords from START to END from further
752 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
754 2006-09-13 Michael Olson <mwolson@gnu.org>
756 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
757 adopted from Jim Ottaway's patch. It removes links from the
758 heading, and then marks the region read-only to inhibit WikiWord
761 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
763 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
764 special handling for headings.
765 (muse-texinfo-remove-links): New function that removes explicit
766 links from the given strings, replacing them with a description.
768 2006-09-11 Michael Olson <mwolson@gnu.org>
770 * muse.texi (Getting Help and Reporting Bugs): Mention the
771 muse-el-internationalization mailing list.
773 * lisp/muse.el (muse-path-sans-extension): New function that acts
774 like file-name-sans-extension, but guarantees to never modify the
775 directory part of the path. Thanks to Evan Monroig for
778 * lisp/muse-book.el (muse-book-publish-project): Use
779 muse-path-sans-extension instead of file-name-sans-extension.
781 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
784 2006-08-30 Michael Olson <mwolson@gnu.org>
786 * muse.texi (Blosxom Requirements): Fix typo.
788 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
789 directories for bzr and darcs.
791 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
792 contrib/pyblosxom/getstamps.py: Update version and headers.
794 2006-08-27 Michael Olson <mwolson@gnu.org>
796 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
797 nil values before they get to mapconcat. This fixes a lockup when
798 muse-wiki-match-all-project-files is nil.
800 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
801 (muse-wiki-ignore-implicit-links-to-current-page)
802 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
803 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
804 (muse-wiki-publish-small-title-words)
805 (muse-wiki-publish-pretty-title): Docfix.
806 (muse-wiki-update-local-wikiword-regexp): Rename from
807 muse-wiki-update-local-wikiword-regexp. Set
808 muse-wiki-project-file-regexp instead of
809 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
810 take muse-wiki-use-wikiword into account, since this is a
811 different concept now.
812 (muse-wiki-update-wikiword-regexp): Remove.
813 (muse-wiki-wikiword-regexp): In-line the :set function.
814 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
816 2006-08-26 Michael Olson <mwolson@gnu.org>
818 * lisp/muse-publish.el (muse-publish-surround-text): When looking
819 for indented list items, ignore blank lines.
821 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
822 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
823 mapconcat. This should hopefully fix a problem with large amounts
824 of files with spaces in their name. Thanks to Greg Detre for the
827 2006-08-24 Michael Olson <mwolson@gnu.org>
829 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
830 numbers from the argument to format-time-string. This fixes an
831 XEmacs bug. Thanks to Michael Welle for the report and analysis.
833 2006-08-18 Michael Olson <mwolson@gnu.org>
835 * lisp/muse-project.el (muse-project-file-entries): Since we are
836 given a full path, match against the filename as well. This fixes
837 an issue where backup files were being added to the file alist.
839 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
842 2006-08-12 Michael Olson <mwolson@gnu.org>
844 * Makefile (.PHONY): Don't use line continuations.
845 (realclean fullclean): Call realclean in subdirs, not distclean.
846 (distclean): Don't call realclean, since this would wipe out our
848 (dist): Use correct path to autoloads file.
850 * NEWS: Catch up with the latest changes.
852 * experimental/Makefile (.PHONY): Wrap long line.
854 * lisp/Makefile (distclean): Do the same thing as "clean", not
857 * lisp/muse-project.el (muse-project-get-applicable-style):
859 (muse-project-ignore-regexp, muse-project-recurse-directory):
861 (muse-project-of-file): Try the ignored files regexp against the
862 base filename as well as the entire path.
864 * lisp/muse-publish.el (muse-publish-this-file): Display message
865 if the buffer is not associated with any file, so that we avoid
867 (muse-publish-url-desc): New function taken from muse-publish-url
868 that causes a URL description to be transformed.
869 (muse-publish-url): Call muse-publish-url-desc on either the
870 description or the original URL if it will be used as a
871 description. Accept the original URL as an argument, in case it
872 was transformed earlier.
873 (muse-publish-insert-url): Pass original URL as an argument.
874 (muse-publish-markup-link): Make this somewhat easier to follow.
875 Pass original URL as argument.
876 (muse-publish-get-style): If the same style is used to publish to
877 two different directories, prompt the user for which directory to
879 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
881 (muse-publish-markup-url): Pass original URL as an argument. This
882 fixes the "nil" description for bare URLs that was in 3.02.91.
883 Nothing like finding a bug just after completing the announcement
886 * lisp/muse.el: Use defalias whenever convenient.
887 (muse-version): Set version to 3.02.92 (3.03 RC2).
889 2006-08-10 Michael Olson <mwolson@gnu.org>
891 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
892 style does not derive from any other class, return `t' here.
893 This, along with the corresponding change to muse-publish.el,
894 fixes a problem with the table of contents getting inserted
895 multiple times for custom html-based styles.
896 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
897 smarter method for table centering that works with XHTML.
899 * lisp/muse-latex2png.el Rename all functions to have a
900 "muse-latex2png" prefix. Turn all variables into customizable
901 options in the muse-latex2png group.
902 (muse-latex2png-img-dest): New option specifying where to place
904 (muse-latex2png-template): New option containing the template to
905 use for the surrounding LaTeX code.
906 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
908 (muse-latex2png-move2pubdir): Avoid multiple redundant error
909 messages when something else goes wrong. Create the image
910 subdirectory if it doesn't exist already -- thanks to Christian
911 Straßer for the report. Expand the filename properly.
912 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
913 and filename expansion.
914 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
915 the default directory properly.
917 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
918 do not run the same function twice.
920 2006-08-08 Michael Olson <mwolson@gnu.org>
922 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
923 introduced wrong-type-argument error.
925 * lisp/muse-html.el (muse-html-markup-strings)
926 (muse-xhtml-markup-string): Cause table definition that contains
927 image to be center-aligned. This should fix an issue with images
928 not being centered when captions are very long.
930 * lisp/muse-publish.el (muse-publish-table-fields): Trim
931 whitespace from fields once we have split them up.
933 * lisp/muse.el (muse-trim-whitespace): New function that strips
934 leading and trailing whitespace from a string.
936 2006-08-07 Michael Olson <mwolson@gnu.org>
938 * NEWS: Update through patch-95.
940 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
942 (muse-colors-explicit-link): Show images in link descriptions if
943 inlined images are enabled.
945 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
946 definitions for 'image-with-desc, 'image, and 'image-link.
947 (muse-docbook-markup-paragraph): If an inlined image begins a
948 paragraph, insert <para> before it.
949 (muse-docbook-fixup-images): New function that upper-cases the
950 "format" attribute of the <imagedata> tag.
951 (muse-docbook-finalize-buffer): Call it.
953 * lisp/muse-html.el (muse-html-markup-strings): Publish images
954 with descriptions as centered tables, with a centered caption
955 underneath. The resulting look is consistent with the way that
956 they are published in the LaTeX style. Thanks to Jody Klymak for
958 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
959 valid way to center a table.
960 (muse-html-markup-paragraph): Use class="image" instead of
961 "image-link" for paragraphs that start with an embedded image.
963 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
964 \textbackslash{} for "\". Thanks to Jim Ottaway for the
966 (muse-latex-markup-specials-image): New option that enables
967 escaping of specials in images. This was split from the URL
969 (muse-latex-decide-specials): Handle 'image context.
970 (muse-latex-fixup-dquotes): Go to beginning of document, instead
971 of relying on caller to do this for us.
973 * lisp/muse-publish.el (muse-publish-escape-specials): Document
975 (muse-publish-url): Use 'image context for images. Use 'image
976 instead of 'image-link and 'image-link in place of
977 'url-with-image. Separate the image file from its extension so
978 that docbook and texinfo can publish images correctly.
979 (muse-publish-markup-link): Don't force a description if one is
980 not given. This fixes a bug where images without descriptions
981 were being published as 'image-with-desc instead of 'image.
983 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
984 images the same as URLs.
985 (muse-texinfo-markup-strings): Improve image markup to achieve an
986 effect similar to that of the LaTeX publishing style. Simplify
989 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
991 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
992 when we have to use the custom version of this function.
994 * muse.texi (Images): Explain how to toggle inlining of images and
995 give better examples. Mention captions and that captioned images
996 should not be used inside of text paragraphs.
997 (Markup Strings): Bring up-to-date with the changes made since
1000 2006-08-06 Michael Olson <mwolson@gnu.org>
1002 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
1003 in the Emacs source tree.
1005 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
1006 in the Emacs source tree.
1008 * ChangeLog.3: New file created from the old ChangeLog.
1010 * Makefile.defs (VERSION): Set to 3.02.91.
1012 * NEWS: Update through patch-84.
1014 * lisp/muse.el (muse-version): Set to 3.02.91.
1016 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
1018 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
1019 delimiter are instead of hard-coding it.
1021 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
1022 (muse-mode): Make filling definition lists work better. This
1025 * lisp/muse-publish.el (muse-style-run-hooks): Use
1026 `muse-style-element' instead of `muse-get-keyword' here. This
1029 * muse.texi: Set version to 3.02.91 (3.02 RC2).
1031 See ChangeLog.3 for earlier changes.