1 2007-04-22 Michael Olson <mwolson@gnu.org>
3 * IDEAS.muse: Add muse-slides.el to list of things to include
6 * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
8 (muse-protocol-find): Find protocols correctly. Rewrite to use
10 (muse-browse-url): Don't concatenate "\`" here. Together, this
11 fixes a bug with browsing woman:// links.
13 * lisp/muse-project.el (muse-project-alist-styles): Deal with case
14 where entry-dir has a trailing backslash.
15 (muse-project-publish-file): If a style is malformed, skip it and
16 display a warning message. This should help people figure out
19 2007-04-21 Michael Olson <mwolson@gnu.org>
21 * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
22 yet-to-be-included "contex" publishing style, use "$$" rather
23 than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
26 2007-04-20 Michael Olson <mwolson@gnu.org>
28 * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
29 variable that causes the :before and :before-end hooks to be
31 (muse-publish-markup-region): Use it. Also, guarantee that point
32 is at end of region after publishing.
33 (muse-publish-mark-up-tag): Simplify, taking advantage of the new
36 2007-04-19 Michael Olson <mwolson@gnu.org>
38 * IDEAS.muse: New file containing a list of ideas we have for new
39 features, or patches that have yet to be applied.
41 * README: Call it "Emacs Muse", not "the Emacs Muse". No need to
44 * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
47 * lisp/muse-publish.el (muse-publish-markup-tags): Handle
48 <literal> tags with muse-publish-literal-tag, rather than
49 muse-publish-mark-read-only.
50 (muse-publish-literal-tag): New function that publishes the
51 <literal> tag. It adds the ability to add the optional "style"
52 and "exact" elements, which cause text to only be included if the
53 current publishing style matches some criteria. The text will be
54 removed otherwise. Thanks to Jim Ottaway for the implementation.
55 (muse-publish-mark-up-tag): Let the <markup> tag take the
56 additional optional elements "style" and "exact", with much the
57 same effect as the <literal> improvements, but after calling
58 "function" or publishing the region first. Make it possible to
59 put <content> tags in <markup> regions in HTML publishing.
61 2007-04-12 Michael Olson <mwolson@gnu.org>
63 * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
64 that a blank line always exists after a heading. This fixes a bug
65 in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
68 * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
69 detection regexp to that which is used in Docbook and HTML
72 2007-04-02 Michael Olson <mwolson@gnu.org>
74 * README (muse-el-announce): Make a listing of mailing lists,
75 rather than pointing to the old EmacsWikiMailingList page. Thanks
76 to Andreas Roehler for noticing.
78 2007-04-01 Michael Olson <mwolson@gnu.org>
80 * lisp/muse-publish.el (muse-publish-date-format): Add
81 customization type ad group.
82 (muse-publish-region): New interactive function that publishes a
83 region to a new buffer.
85 * texi/muse.texi: Use "document" rather than "manual".
87 2007-03-31 Michael Olson <mwolson@gnu.org>
89 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
90 expression (muse-style-derived-p "latex" (muse-style "latex"))
91 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
94 2007-02-25 Michael Olson <mwolson@gnu.org>
96 * lisp/muse-publish.el (muse-publish-date-format): New option that
97 specifies how to format the date when publishing Muse pages.
98 Thanks to Thomas Gehrlein for the suggestion.
99 (muse-publish-markup-buffer): Use it.
101 2007-02-23 Michael Olson <mwolson@gnu.org>
103 * README: Add Prerequisites section to mention which versions of
104 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
105 the suggestion. Update link destination for Muse's page on
108 2007-02-15 Michael Olson <mwolson@gnu.org>
110 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
111 be not just at beginning of line. This fixes an error with the
112 <class> tag. Thanks to Jim Pivarski for the report.
114 2007-02-14 Michael Olson <mwolson@gnu.org>
116 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
117 whether something is an image before checking to see if it is a
118 URL. Thanks to ITSUMI ken-ichi for the report.
120 2007-02-13 Michael Olson <mwolson@gnu.org>
122 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
123 comments that have no text better. Thanks to fang.lungang for the
125 (muse-publish-markup-comment): Deal with case where no comment
128 2007-01-23 Michael Olson <mwolson@gnu.org>
130 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
131 that ensures that at least one blank line exists at the given
132 position. This is used to avoid paragraph detection problems when
133 block-level tags like <example> immediately follow a paragraph.
134 Thanks to Hans Ekbrand for the report.
135 (muse-publish-example-tag): Use it.
137 2007-01-19 Michael Olson <mwolson@gnu.org>
139 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
140 previous blank line if we are publishing in Latex. Otherwise,
141 that wouldn't be the right thing, so leave it be.
143 2007-01-17 Michael Olson <mwolson@gnu.org>
145 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
146 multiple centered math lines on the same line; keep them on
147 different lines. Use \[ math-text \] instead of $$math-text$$,
148 since the latter seems to be deprecated. Thanks to Jody Klymak
151 2007-01-15 Michael Olson <mwolson@gnu.org>
153 * lisp/muse-latex2png.el (muse-publish-latex-tag)
154 (muse-publish-math-tag): Publish region read-only when current
155 style is Latex-derived, so that Muse does not escape it.
156 (muse-publish-math-tag): If 6 or more spaces come before the tag,
157 surround the region with "$$" rather than "$". This is the Muse
158 syntax for something centered, so it should be a good fit.
160 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
162 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
164 (muse-browse-url-man): Change man page URL format. The code is
165 simpler when the section is left inside parentheses.
166 (muse-browse-url-woman): New function.
168 2007-01-14 Michael Olson <mwolson@gnu.org>
170 * AUTHORS: Bookkeeping.
172 * lisp/muse-latex2png.el: Associate <math> tag with
173 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
174 Klymak for the report.
175 (muse-publish-math-tag): Use muse-insert-markup for the "$"
176 characters, so they don't get escaped.
178 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
179 make muse-style-derived-p easier to implement.
180 (muse-style-derived-p): If the style is not provided, fetch it and
181 check to see if the car is a string. This should fix the other
182 problem that was reported.
184 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
185 explains a case where setting muse-file-extension to nil can cause
188 2007-01-09 Michael Olson <mwolson@gnu.org>
190 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
191 comments higher priority than tags. Thanks to Stefan van der Walt
194 2007-01-08 Michael Olson <mwolson@gnu.org>
196 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
197 argument rather than calling match-string. Thanks to Stefan van
198 der Walt for the report. This should fix a bug with publishing
199 <include file="..." markup="example">.
201 2007-01-06 Michael Olson <mwolson@gnu.org>
203 * Makefile (debclean): New rule split from debrevision and
205 (debbuild): Take distributor into account.
207 * Makefile.defs (DISTRIBUTOR): New field that tracks what
208 vendor/distributor we are building for.
210 2007-01-04 Michael Olson <mwolson@gnu.org>
212 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
215 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
216 point to muse-publish-src-tag by default, since <src> and
217 <example> have different parameters.
218 (muse-publish-src-tag): New barebones publishing function for
219 <src>, which is superseded when publishing in an HTML-based style.
221 2007-01-03 Michael Olson <mwolson@gnu.org>
223 * lisp/muse-html.el (muse-html-src-tag): Document.
225 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
226 command that calls a given tag on the current buffer. Attributes
228 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
230 (muse-publish-srcify-buffer): New function that allows
231 markup="src" in the <include> tag.
232 (muse-publish-get-and-delete-attr): New macro that gets an
233 attribute from a list and removes the first instance of that
234 attribute from said list.
235 (muse-publish-markup-attribute): Handle markup="src".
236 (muse-publish-command-tag, muse-publish-include-tag): Use
237 muse-publish-get-and-delete-attr. This allows the remaining
238 attributes to be passed.
240 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
241 as changes to <command> and <include>.
243 2006-12-30 Michael Olson <mwolson@gnu.org>
247 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
248 from muse-publish-math-tag to avoid conflict with
251 2006-12-23 Michael Olson <mwolson@gnu.org>
253 * lisp/muse-latex2png.el: Update header, since this has been
254 rewritten sufficiently to not need an assignment from the original
256 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
257 (muse-latex2png): Use two underscores to separate prefix and hash.
258 (muse-latex2png-region): New function split from
259 muse-publish-latex-tag that can be used easily by other code.
260 Detect whether we are using an HTML-based publishing style, and
261 insert a simpler markup if we are not. If we are using a
262 Latex-based publishing style, do not generate an image, and leave
263 the region alone. Return the path of the generated image, in case
264 other functions want to use this programmatically.
265 (muse-publish-latex-tag): Set a default prefix based on the name
267 (muse-publish-math-tag): New tag that surrounds the region with
268 "$" characters, so that it becomes a Latex math region, and then
271 * lisp/muse-publish.el (muse-style-derived-p): New function that
272 returns non-nil if a given style, or the current style if omitted,
273 is equal to or derived from the given base style. This is useful
274 in <lisp> tags, because it allows the user to specify markup that
275 is only to be inserted for one particular style.
277 2006-12-22 Michael Olson <mwolson@gnu.org>
279 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
280 (muse-html-src-tag): New function which publishes the <src> tag.
281 Thanks to Clinton Ebadi and Charles Wang for the initial
284 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
286 2006-12-21 Michael Olson <mwolson@gnu.org>
288 * examples/johnw/muse-johnw.el: Update for preferred
289 muse-derive-style usage. Rename to muse-init.el.
291 * examples/mwolson/muse-init.el: Update.
293 * lisp/muse-book.el (muse-book-publish): New function split from
294 muse-book-publish-project. This is used in the definitions for
295 the book-latex and book-pdf styles.
296 (muse-book-publish-p): New function split from muse-book-publish.
297 (muse-book-get-directives): New function that retrieves the
298 publishing directives from the given file.
299 (muse-book-publish): Use muse-book-get-directives to set the title
300 if no title was specified.
302 * lisp/muse-project.el (muse-project): Add :publish-project entry
304 (muse-read-project, muse-project-find-file): Message fix.
305 (muse-project-publish-file-default): New function split from
306 muse-project-publish-file.
307 (muse-project-publish-file): Allow file-level publishing function
308 to be specified by the :publish element. The default is
309 muse-project-publish-file-default.
310 (muse-project-publish-default): New function split from
311 muse-project-publish.
312 (muse-project-publish): Allow project-level publishing function to
313 be specified by :publish-project element. The default is
314 muse-project-publish-default.
316 * lisp/muse-publish.el (muse-publish-file): Message fix.
318 * texi/muse.texi (Book): Mention new way to publish books and
319 provide an example, since the process may be non-obvious.
321 2006-12-20 Michael Olson <mwolson@gnu.org>
323 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
324 content-modifying code from the rest of
325 muse-docbook-finalize-buffer.
327 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
328 muse-groff-finalize-buffer, since it adds content to the buffer.
330 * lisp/muse-html.el (muse-html-munge-buffer): Split out
331 content-modifying code from the rest of muse-html-finalize-buffer.
332 This fixes a bug when using <include> with <content> tags.
334 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
335 (muse-journal-latex-munge-buffer)
336 (muse-journal-rss-munge-buffer): Rename, since they add content to
339 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
340 muse-latex-finalize-buffer, since it adds content to the buffer.
343 * lisp/muse-project.el:
344 * lisp/muse-publish.el:
345 * lisp/muse.el: Fix recursive load error.
347 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
348 muse-texinfo-finalize-buffer, since it adds content to the buffer.
350 * lisp/muse-wiki.el: Comment cleanup.
352 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
354 2006-12-17 Michael Olson <mwolson@gnu.org>
356 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
357 Remove the definition of \comment, since Latex already has comment
359 (muse-latex-markup-strings): Use the Latex comment syntax, rather
360 than our own. Thanks to Ryan Stutsman for pointing this out.
362 2006-12-02 Michael Olson <mwolson@gnu.org>
364 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
365 that this can generate a proper table of contents for Planner HTML
368 2006-12-01 Michael Olson <mwolson@gnu.org>
370 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
371 using a very old Emacs, avoid an infinite loop that could occur
372 when the regexp is an empty string.
374 2006-11-26 Michael Olson <mwolson@gnu.org>
376 * NEWS: Bring up to date.
378 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
379 list issues and multiple-stanza verse issues. This takes care of
380 all of the markup issues I was worried about.
382 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
383 (muse-project-publish-private-files): New option that indicates
384 whether files with private filesystem permissions should be
385 published. The default is to publish them, since it avoids
386 confusion in new users.
387 (muse-project-private-p): Use it.
389 2006-11-19 Michael Olson <mwolson@gnu.org>
391 * lisp/muse-project.el (muse-project-resolve-link): If no remote
392 style is found, which means that the link is not a Muse page, do
393 not add a suffix or prefix to it. This should fix the
394 "[[thing.owl]]" bug that Phillip Lord reported.
396 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
397 removing unused 2nd argument.
399 2006-11-17 Michael Olson <mwolson@gnu.org>
401 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
402 latex publishing where nested enumerated lists would be squashed
405 2006-11-16 Michael Olson <mwolson@gnu.org>
407 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
408 list embedded in a definition list look right. This also allows
409 for definitions to be separated from their terms, much like the
410 way HTML does it by default, if the user puts a blank line or a
411 line break between the term and the definition. If the term and
412 definition are on the same line, they will be that way in the
415 2006-11-11 Michael Olson <mwolson@gnu.org>
417 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
419 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
421 2006-11-07 Michael Olson <mwolson@gnu.org>
423 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
424 release candidate for Muse 3.03, available.
428 2006-11-06 Michael Olson <mwolson@gnu.org>
430 * lisp/muse-project.el (muse-project-find-file): Fix bug when
431 following a relative link worked even when the path was incorrect.
433 2006-11-04 John Sullivan <john@wjsullivan.net>
435 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
436 muse-follow-name-at-point to reduce collisions with other
439 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
441 2006-11-04 Michael Olson <mwolson@gnu.org>
443 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
444 optional, and make interwiki delimiter a regular rather than shy
446 (muse-wiki-handle-implicit-interwiki): Rename from
447 muse-wiki-handle-interwiki. Use match group 3 to get the page.
448 (muse-wiki-handle-explicit-interwiki): New function that is
449 smarter about where an explicit link ends in a buffer. This
450 allows you to refer to page names with invalid Wiki characters,
451 such as underscores and dashes, merely by enclosing them in double
452 brackets. Also, a bug with recognizing project names too loosely
455 2006-11-03 Michael Olson <mwolson@gnu.org>
457 * lisp/muse-project.el (muse-project-page-file): Make relative
458 links work as expected, hopefully.
460 * lisp/muse-publish.el (muse-publish-this-file): Set the current
461 output style manually, since it will differ from anything in the
462 publishing style list.
464 2006-10-30 Michael Olson <mwolson@gnu.org>
466 * lisp/muse-colors.el (muse-colors-markup): Remove note about
467 grouping elements, since that no longer applies.
468 (muse-colors-custom-tags): Explicitly match against
469 muse-tag-regexp to get the match-data set the way we want. This
470 really fixes the <example> highlighting bug that Stefan reported.
471 (muse-configure-highlighting): Set the original value to the
472 symbol, not the modified value. Re-use modified rules properly.
474 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
475 introduced yesterday.
477 2006-10-29 Michael Olson <mwolson@gnu.org>
479 * examples/mwolson: Update my example configuration.
483 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
484 without a regexp in the first position before iterating through
485 them to build muse-colors-vector. This fixes a bug with the
486 display of <example> tags. Thanks to Stefan Reichör for the
489 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
490 files in projects to be linked to.
492 * lisp/muse-publish.el (muse-publish-url): Allow the original link
493 to serve as a description for a URL, as long as it differs from
494 the destination URL. This fixes the description of WikPage links
496 (muse-publish-link-file): Check to see whether the given link
497 points at a valid file. If so, return it. Otherwise, apply other
498 transforms like prefix and link suffix.
500 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
501 "/", it is a file or directory, not a Muse page. Thanks to
502 Phillip Lord for the suggestion.
504 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
505 of the current page as the local path, instead of duplicating the
506 remote file's path. This probably fixes at least one reported
507 bug. since it's quite major.
508 (muse-wiki-update-project-file-regexp)
509 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
510 passed to regexp-opt, since that can cause Emacs 21 to throw an
511 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
512 DOT edu for the report.
513 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
515 2006-10-28 Michael Olson <mwolson@gnu.org>
517 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
518 (muse-project-resolve-link): If the given style does not have a
519 link-suffix, default to suffix. This fixes a bug I was noticing
520 when linking to a file that was published in both PDF and HTML
523 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
524 function that is used as a callback to determine the initial
525 amount of indentation that the current dl item has.
526 (muse-publish-surround-dl): Use it. Pass the initial indent value
527 and the post-indent value, instead of trying to determine them
529 (muse-publish-strip-list-indentation): New function stripped from
530 `muse-publish-surround-text' for readability.
531 (muse-publish-surround-text): Instead of taking a determine-indent
532 value, take a determine-indent-func function, which is called just
533 after finding the next list item. If we are asked to determine
534 the amount of indentation, concatenate indent and post-indent the
535 first time around. This effectively fixes all known definition
538 2006-10-16 Michael Olson <mwolson@gnu.org>
540 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
541 other software -- namely, Planner -- can detect whether they are
542 using a version of Muse that supports nested tags.
543 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
544 muse-publish-goto-tag-end.
546 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
547 Adapt for nested tags.
549 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
550 <class> tag is nestable. Thanks to Phillip Lord for noticing
553 * lisp/muse-publish.el (muse-publish-markup-tag)
554 (muse-publish-quote-tag): Use muse-goto-tag-end.
556 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
558 2006-10-15 Michael Olson <mwolson@gnu.org>
560 * AUTHORS: Bookkeeping.
562 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
565 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
568 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
570 * lisp/muse-import-docbook.el (muse-import-docbook)
571 (muse-import-docbook-files): Docfix.
572 (muse-import-docbook-get-title): Remove cl.el-ism.
574 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
576 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
578 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
580 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
581 (muse-next-reference, muse-previous-reference): Minor whitespace
583 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
586 * lisp/muse-poem.el (muse-poem-tag): Ditto.
588 * lisp/muse-publish.el (muse-publish-markup-tags)
589 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
590 element and make 4th element determine whether tags are nestable.
591 (muse-publish-goto-tag-end): New function that moves to the end of
592 a tag. Handle nested tags when NESTED is non-nil.
593 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
594 5th element for function.
595 (muse-publish-quote-tag): Handle nested quote tags. I've tested
596 this on several scenarios, and it seems to work.
597 (muse-publish-surround-text): Accept new optional argument
598 LIST-ITEM which determines the regexp to use for list items. The
599 default is to use muse-list-item-regexp.
601 * muse.texi (Markup Tags): Mention nestable tags.
603 * NEWS: Mention new files.
605 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
607 * lisp/muse-import-docbook.el: New file that converts Docbook XML
610 * lisp/muse-import-xml.el: New file that provides helper routines
611 for converting XML-ish files to Muse format.
613 2006-10-10 Michael Olson <mwolson@gnu.org>
615 * NEWS: Update for 3.02.7 bugfix release.
617 2006-10-06 Sasha Kovar <sasha@arcocene.org>
619 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
620 using the value in the muse #date directive.
621 (muse-blosxom-use-metadate): New option that determines whether or
622 not to use the #postdate directive.
623 (muse-blosxom-format-date): Convert a date string to PyBlosxom
624 metadate plugin format.
626 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
628 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
631 * muse.texi: Clarify handling of implicit links by mentioning
632 which characters can prevent Muse from recognizing something as an
635 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
637 * lisp/muse-mode.el (muse-next-reference)
638 (muse-previous-reference): Fix bug #6367 by moving point to the
639 beginning of the link.
641 2006-09-26 Michael Olson <mwolson@gnu.org>
643 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
644 beginning-of-line. This should fix a bug that was noticed in
645 recent Emacs 22 builds.
647 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
648 eval-and-compile block to avoid a compiler warning.
650 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
652 * lisp/muse-backlink.el (muse-backlink-split-string):
653 Compatibility with Emacs versions < 22
654 (muse-backlink-pending): New internal variable
655 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
656 that backlinks are inserted at the right time.
657 (muse-backlink-insert-hook-func): Remove unwind-protection; check
658 for pending backlink, and that this is the targe page.
659 (muse-backlink-handle-link): Don’t handle the link if we are
660 already handling one. Return the link as well as the parent links.
662 2006-09-25 Sasha Kovar <sasha@arcocene.org>
664 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
665 #6942 - muse-blosxom-new-entry fails when using tags.
667 2006-09-14 Michael Olson <mwolson@gnu.org>
669 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
672 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
674 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
675 function: Protect all wikiwords from START to END from further
677 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
679 2006-09-13 Michael Olson <mwolson@gnu.org>
681 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
682 adopted from Jim Ottaway's patch. It removes links from the
683 heading, and then marks the region read-only to inhibit WikiWord
686 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
688 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
689 special handling for headings.
690 (muse-texinfo-remove-links): New function that removes explicit
691 links from the given strings, replacing them with a description.
693 2006-09-11 Michael Olson <mwolson@gnu.org>
695 * muse.texi (Getting Help and Reporting Bugs): Mention the
696 muse-el-internationalization mailing list.
698 * lisp/muse.el (muse-path-sans-extension): New function that acts
699 like file-name-sans-extension, but guarantees to never modify the
700 directory part of the path. Thanks to Evan Monroig for
703 * lisp/muse-book.el (muse-book-publish-project): Use
704 muse-path-sans-extension instead of file-name-sans-extension.
706 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
709 2006-08-30 Michael Olson <mwolson@gnu.org>
711 * muse.texi (Blosxom Requirements): Fix typo.
713 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
714 directories for bzr and darcs.
716 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
717 contrib/pyblosxom/getstamps.py: Update version and headers.
719 2006-08-27 Michael Olson <mwolson@gnu.org>
721 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
722 nil values before they get to mapconcat. This fixes a lockup when
723 muse-wiki-match-all-project-files is nil.
725 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
726 (muse-wiki-ignore-implicit-links-to-current-page)
727 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
728 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
729 (muse-wiki-publish-small-title-words)
730 (muse-wiki-publish-pretty-title): Docfix.
731 (muse-wiki-update-local-wikiword-regexp): Rename from
732 muse-wiki-update-local-wikiword-regexp. Set
733 muse-wiki-project-file-regexp instead of
734 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
735 take muse-wiki-use-wikiword into account, since this is a
736 different concept now.
737 (muse-wiki-update-wikiword-regexp): Remove.
738 (muse-wiki-wikiword-regexp): In-line the :set function.
739 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
741 2006-08-26 Michael Olson <mwolson@gnu.org>
743 * lisp/muse-publish.el (muse-publish-surround-text): When looking
744 for indented list items, ignore blank lines.
746 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
747 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
748 mapconcat. This should hopefully fix a problem with large amounts
749 of files with spaces in their name. Thanks to Greg Detre for the
752 2006-08-24 Michael Olson <mwolson@gnu.org>
754 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
755 numbers from the argument to format-time-string. This fixes an
756 XEmacs bug. Thanks to Michael Welle for the report and analysis.
758 2006-08-18 Michael Olson <mwolson@gnu.org>
760 * lisp/muse-project.el (muse-project-file-entries): Since we are
761 given a full path, match against the filename as well. This fixes
762 an issue where backup files were being added to the file alist.
764 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
767 2006-08-12 Michael Olson <mwolson@gnu.org>
769 * Makefile (.PHONY): Don't use line continuations.
770 (realclean fullclean): Call realclean in subdirs, not distclean.
771 (distclean): Don't call realclean, since this would wipe out our
773 (dist): Use correct path to autoloads file.
775 * NEWS: Catch up with the latest changes.
777 * experimental/Makefile (.PHONY): Wrap long line.
779 * lisp/Makefile (distclean): Do the same thing as "clean", not
782 * lisp/muse-project.el (muse-project-get-applicable-style):
784 (muse-project-ignore-regexp, muse-project-recurse-directory):
786 (muse-project-of-file): Try the ignored files regexp against the
787 base filename as well as the entire path.
789 * lisp/muse-publish.el (muse-publish-this-file): Display message
790 if the buffer is not associated with any file, so that we avoid
792 (muse-publish-url-desc): New function taken from muse-publish-url
793 that causes a URL description to be transformed.
794 (muse-publish-url): Call muse-publish-url-desc on either the
795 description or the original URL if it will be used as a
796 description. Accept the original URL as an argument, in case it
797 was transformed earlier.
798 (muse-publish-insert-url): Pass original URL as an argument.
799 (muse-publish-markup-link): Make this somewhat easier to follow.
800 Pass original URL as argument.
801 (muse-publish-get-style): If the same style is used to publish to
802 two different directories, prompt the user for which directory to
804 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
806 (muse-publish-markup-url): Pass original URL as an argument. This
807 fixes the "nil" description for bare URLs that was in 3.02.91.
808 Nothing like finding a bug just after completing the announcement
811 * lisp/muse.el: Use defalias whenever convenient.
812 (muse-version): Set version to 3.02.92 (3.03 RC2).
814 2006-08-10 Michael Olson <mwolson@gnu.org>
816 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
817 style does not derive from any other class, return `t' here.
818 This, along with the corresponding change to muse-publish.el,
819 fixes a problem with the table of contents getting inserted
820 multiple times for custom html-based styles.
821 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
822 smarter method for table centering that works with XHTML.
824 * lisp/muse-latex2png.el Rename all functions to have a
825 "muse-latex2png" prefix. Turn all variables into customizable
826 options in the muse-latex2png group.
827 (muse-latex2png-img-dest): New option specifying where to place
829 (muse-latex2png-template): New option containing the template to
830 use for the surrounding LaTeX code.
831 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
833 (muse-latex2png-move2pubdir): Avoid multiple redundant error
834 messages when something else goes wrong. Create the image
835 subdirectory if it doesn't exist already -- thanks to Christian
836 Straßer for the report. Expand the filename properly.
837 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
838 and filename expansion.
839 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
840 the default directory properly.
842 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
843 do not run the same function twice.
845 2006-08-08 Michael Olson <mwolson@gnu.org>
847 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
848 introduced wrong-type-argument error.
850 * lisp/muse-html.el (muse-html-markup-strings)
851 (muse-xhtml-markup-string): Cause table definition that contains
852 image to be center-aligned. This should fix an issue with images
853 not being centered when captions are very long.
855 * lisp/muse-publish.el (muse-publish-table-fields): Trim
856 whitespace from fields once we have split them up.
858 * lisp/muse.el (muse-trim-whitespace): New function that strips
859 leading and trailing whitespace from a string.
861 2006-08-07 Michael Olson <mwolson@gnu.org>
863 * NEWS: Update through patch-95.
865 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
867 (muse-colors-explicit-link): Show images in link descriptions if
868 inlined images are enabled.
870 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
871 definitions for 'image-with-desc, 'image, and 'image-link.
872 (muse-docbook-markup-paragraph): If an inlined image begins a
873 paragraph, insert <para> before it.
874 (muse-docbook-fixup-images): New function that upper-cases the
875 "format" attribute of the <imagedata> tag.
876 (muse-docbook-finalize-buffer): Call it.
878 * lisp/muse-html.el (muse-html-markup-strings): Publish images
879 with descriptions as centered tables, with a centered caption
880 underneath. The resulting look is consistent with the way that
881 they are published in the LaTeX style. Thanks to Jody Klymak for
883 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
884 valid way to center a table.
885 (muse-html-markup-paragraph): Use class="image" instead of
886 "image-link" for paragraphs that start with an embedded image.
888 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
889 \textbackslash{} for "\". Thanks to Jim Ottaway for the
891 (muse-latex-markup-specials-image): New option that enables
892 escaping of specials in images. This was split from the URL
894 (muse-latex-decide-specials): Handle 'image context.
895 (muse-latex-fixup-dquotes): Go to beginning of document, instead
896 of relying on caller to do this for us.
898 * lisp/muse-publish.el (muse-publish-escape-specials): Document
900 (muse-publish-url): Use 'image context for images. Use 'image
901 instead of 'image-link and 'image-link in place of
902 'url-with-image. Separate the image file from its extension so
903 that docbook and texinfo can publish images correctly.
904 (muse-publish-markup-link): Don't force a description if one is
905 not given. This fixes a bug where images without descriptions
906 were being published as 'image-with-desc instead of 'image.
908 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
909 images the same as URLs.
910 (muse-texinfo-markup-strings): Improve image markup to achieve an
911 effect similar to that of the LaTeX publishing style. Simplify
914 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
916 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
917 when we have to use the custom version of this function.
919 * muse.texi (Images): Explain how to toggle inlining of images and
920 give better examples. Mention captions and that captioned images
921 should not be used inside of text paragraphs.
922 (Markup Strings): Bring up-to-date with the changes made since
925 2006-08-06 Michael Olson <mwolson@gnu.org>
927 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
928 in the Emacs source tree.
930 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
931 in the Emacs source tree.
933 * ChangeLog.3: New file created from the old ChangeLog.
935 * Makefile.defs (VERSION): Set to 3.02.91.
937 * NEWS: Update through patch-84.
939 * lisp/muse.el (muse-version): Set to 3.02.91.
941 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
943 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
944 delimiter are instead of hard-coding it.
946 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
947 (muse-mode): Make filling definition lists work better. This
950 * lisp/muse-publish.el (muse-style-run-hooks): Use
951 `muse-style-element' instead of `muse-get-keyword' here. This
954 * muse.texi: Set version to 3.02.91 (3.02 RC2).
956 See ChangeLog.3 for earlier changes.