1 2007-05-14 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-latex.el (muse-latex-markup-strings): Use better
4 link-and-anchor markup. Thanks to Jean Magnan de Bornier for the
7 * lisp/muse-publish.el (muse-publish-url): Pass the url without a
8 file extension as the fourth argument.
10 * README, texi/muse.texi (Getting Help and Reporting Bugs):
11 Mention the new muse-el-logs mailing list.
13 2007-05-13 Michael Olson <mwolson@gnu.org>
15 * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
16 "\`" here. This fixes a problem with publishing custom URLs.
18 2007-05-12 Michael Olson <mwolson@gnu.org>
20 * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
21 update the list if the current buffer is associated with a file.
22 This fixes a bug with M-x muse-publish-region in a temporary
25 2007-05-01 Michael Olson <mwolson@gnu.org>
27 * lisp/muse-publish.el (muse-publish-region): Remove read-only
28 properties from the published buffer, so that the results can be
31 2007-04-23 Michael Olson <mwolson@gnu.org>
33 * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
34 find the footnote that goes with a reference, leave the reference
35 as-is. This fixes an error where control characters could be
36 placed in a published document.
38 2007-04-22 Michael Olson <mwolson@gnu.org>
40 * IDEAS.muse: Add muse-slides.el to list of things to include
43 * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
45 (muse-protocol-find): Find protocols correctly. Rewrite to use
47 (muse-browse-url): Don't concatenate "\`" here. Together, this
48 fixes a bug with browsing woman:// links.
50 * lisp/muse-project.el (muse-project-alist-styles): Deal with case
51 where entry-dir has a trailing backslash.
52 (muse-project-publish-file): If a style is malformed, skip it and
53 display a warning message. This should help people figure out
56 2007-04-21 Michael Olson <mwolson@gnu.org>
58 * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
59 yet-to-be-included "contex" publishing style, use "$$" rather
60 than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
63 2007-04-20 Michael Olson <mwolson@gnu.org>
65 * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
66 variable that causes the :before and :before-end hooks to be
68 (muse-publish-markup-region): Use it. Also, guarantee that point
69 is at end of region after publishing.
70 (muse-publish-mark-up-tag): Simplify, taking advantage of the new
73 2007-04-19 Michael Olson <mwolson@gnu.org>
75 * IDEAS.muse: New file containing a list of ideas we have for new
76 features, or patches that have yet to be applied.
78 * README: Call it "Emacs Muse", not "the Emacs Muse". No need to
81 * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
84 * lisp/muse-publish.el (muse-publish-markup-tags): Handle
85 <literal> tags with muse-publish-literal-tag, rather than
86 muse-publish-mark-read-only.
87 (muse-publish-literal-tag): New function that publishes the
88 <literal> tag. It adds the ability to add the optional "style"
89 and "exact" elements, which cause text to only be included if the
90 current publishing style matches some criteria. The text will be
91 removed otherwise. Thanks to Jim Ottaway for the implementation.
92 (muse-publish-mark-up-tag): Let the <markup> tag take the
93 additional optional elements "style" and "exact", with much the
94 same effect as the <literal> improvements, but after calling
95 "function" or publishing the region first. Make it possible to
96 put <content> tags in <markup> regions in HTML publishing.
98 2007-04-12 Michael Olson <mwolson@gnu.org>
100 * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
101 that a blank line always exists after a heading. This fixes a bug
102 in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
105 * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
106 detection regexp to that which is used in Docbook and HTML
109 2007-04-02 Michael Olson <mwolson@gnu.org>
111 * README (muse-el-announce): Make a listing of mailing lists,
112 rather than pointing to the old EmacsWikiMailingList page. Thanks
113 to Andreas Roehler for noticing.
115 2007-04-01 Michael Olson <mwolson@gnu.org>
117 * lisp/muse-publish.el (muse-publish-date-format): Add
118 customization type ad group.
119 (muse-publish-region): New interactive function that publishes a
120 region to a new buffer.
122 * texi/muse.texi: Use "document" rather than "manual".
124 2007-03-31 Michael Olson <mwolson@gnu.org>
126 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
127 expression (muse-style-derived-p "latex" (muse-style "latex"))
128 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
131 2007-02-25 Michael Olson <mwolson@gnu.org>
133 * lisp/muse-publish.el (muse-publish-date-format): New option that
134 specifies how to format the date when publishing Muse pages.
135 Thanks to Thomas Gehrlein for the suggestion.
136 (muse-publish-markup-buffer): Use it.
138 2007-02-23 Michael Olson <mwolson@gnu.org>
140 * README: Add Prerequisites section to mention which versions of
141 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
142 the suggestion. Update link destination for Muse's page on
145 2007-02-15 Michael Olson <mwolson@gnu.org>
147 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
148 be not just at beginning of line. This fixes an error with the
149 <class> tag. Thanks to Jim Pivarski for the report.
151 2007-02-14 Michael Olson <mwolson@gnu.org>
153 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
154 whether something is an image before checking to see if it is a
155 URL. Thanks to ITSUMI ken-ichi for the report.
157 2007-02-13 Michael Olson <mwolson@gnu.org>
159 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
160 comments that have no text better. Thanks to fang.lungang for the
162 (muse-publish-markup-comment): Deal with case where no comment
165 2007-01-23 Michael Olson <mwolson@gnu.org>
167 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
168 that ensures that at least one blank line exists at the given
169 position. This is used to avoid paragraph detection problems when
170 block-level tags like <example> immediately follow a paragraph.
171 Thanks to Hans Ekbrand for the report.
172 (muse-publish-example-tag): Use it.
174 2007-01-19 Michael Olson <mwolson@gnu.org>
176 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
177 previous blank line if we are publishing in Latex. Otherwise,
178 that wouldn't be the right thing, so leave it be.
180 2007-01-17 Michael Olson <mwolson@gnu.org>
182 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
183 multiple centered math lines on the same line; keep them on
184 different lines. Use \[ math-text \] instead of $$math-text$$,
185 since the latter seems to be deprecated. Thanks to Jody Klymak
188 2007-01-15 Michael Olson <mwolson@gnu.org>
190 * lisp/muse-latex2png.el (muse-publish-latex-tag)
191 (muse-publish-math-tag): Publish region read-only when current
192 style is Latex-derived, so that Muse does not escape it.
193 (muse-publish-math-tag): If 6 or more spaces come before the tag,
194 surround the region with "$$" rather than "$". This is the Muse
195 syntax for something centered, so it should be a good fit.
197 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
199 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
201 (muse-browse-url-man): Change man page URL format. The code is
202 simpler when the section is left inside parentheses.
203 (muse-browse-url-woman): New function.
205 2007-01-14 Michael Olson <mwolson@gnu.org>
207 * AUTHORS: Bookkeeping.
209 * lisp/muse-latex2png.el: Associate <math> tag with
210 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
211 Klymak for the report.
212 (muse-publish-math-tag): Use muse-insert-markup for the "$"
213 characters, so they don't get escaped.
215 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
216 make muse-style-derived-p easier to implement.
217 (muse-style-derived-p): If the style is not provided, fetch it and
218 check to see if the car is a string. This should fix the other
219 problem that was reported.
221 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
222 explains a case where setting muse-file-extension to nil can cause
225 2007-01-09 Michael Olson <mwolson@gnu.org>
227 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
228 comments higher priority than tags. Thanks to Stefan van der Walt
231 2007-01-08 Michael Olson <mwolson@gnu.org>
233 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
234 argument rather than calling match-string. Thanks to Stefan van
235 der Walt for the report. This should fix a bug with publishing
236 <include file="..." markup="example">.
238 2007-01-06 Michael Olson <mwolson@gnu.org>
240 * Makefile (debclean): New rule split from debrevision and
242 (debbuild): Take distributor into account.
244 * Makefile.defs (DISTRIBUTOR): New field that tracks what
245 vendor/distributor we are building for.
247 2007-01-04 Michael Olson <mwolson@gnu.org>
249 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
252 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
253 point to muse-publish-src-tag by default, since <src> and
254 <example> have different parameters.
255 (muse-publish-src-tag): New barebones publishing function for
256 <src>, which is superseded when publishing in an HTML-based style.
258 2007-01-03 Michael Olson <mwolson@gnu.org>
260 * lisp/muse-html.el (muse-html-src-tag): Document.
262 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
263 command that calls a given tag on the current buffer. Attributes
265 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
267 (muse-publish-srcify-buffer): New function that allows
268 markup="src" in the <include> tag.
269 (muse-publish-get-and-delete-attr): New macro that gets an
270 attribute from a list and removes the first instance of that
271 attribute from said list.
272 (muse-publish-markup-attribute): Handle markup="src".
273 (muse-publish-command-tag, muse-publish-include-tag): Use
274 muse-publish-get-and-delete-attr. This allows the remaining
275 attributes to be passed.
277 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
278 as changes to <command> and <include>.
280 2006-12-30 Michael Olson <mwolson@gnu.org>
284 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
285 from muse-publish-math-tag to avoid conflict with
288 2006-12-23 Michael Olson <mwolson@gnu.org>
290 * lisp/muse-latex2png.el: Update header, since this has been
291 rewritten sufficiently to not need an assignment from the original
293 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
294 (muse-latex2png): Use two underscores to separate prefix and hash.
295 (muse-latex2png-region): New function split from
296 muse-publish-latex-tag that can be used easily by other code.
297 Detect whether we are using an HTML-based publishing style, and
298 insert a simpler markup if we are not. If we are using a
299 Latex-based publishing style, do not generate an image, and leave
300 the region alone. Return the path of the generated image, in case
301 other functions want to use this programmatically.
302 (muse-publish-latex-tag): Set a default prefix based on the name
304 (muse-publish-math-tag): New tag that surrounds the region with
305 "$" characters, so that it becomes a Latex math region, and then
308 * lisp/muse-publish.el (muse-style-derived-p): New function that
309 returns non-nil if a given style, or the current style if omitted,
310 is equal to or derived from the given base style. This is useful
311 in <lisp> tags, because it allows the user to specify markup that
312 is only to be inserted for one particular style.
314 2006-12-22 Michael Olson <mwolson@gnu.org>
316 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
317 (muse-html-src-tag): New function which publishes the <src> tag.
318 Thanks to Clinton Ebadi and Charles Wang for the initial
321 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
323 2006-12-21 Michael Olson <mwolson@gnu.org>
325 * examples/johnw/muse-johnw.el: Update for preferred
326 muse-derive-style usage. Rename to muse-init.el.
328 * examples/mwolson/muse-init.el: Update.
330 * lisp/muse-book.el (muse-book-publish): New function split from
331 muse-book-publish-project. This is used in the definitions for
332 the book-latex and book-pdf styles.
333 (muse-book-publish-p): New function split from muse-book-publish.
334 (muse-book-get-directives): New function that retrieves the
335 publishing directives from the given file.
336 (muse-book-publish): Use muse-book-get-directives to set the title
337 if no title was specified.
339 * lisp/muse-project.el (muse-project): Add :publish-project entry
341 (muse-read-project, muse-project-find-file): Message fix.
342 (muse-project-publish-file-default): New function split from
343 muse-project-publish-file.
344 (muse-project-publish-file): Allow file-level publishing function
345 to be specified by the :publish element. The default is
346 muse-project-publish-file-default.
347 (muse-project-publish-default): New function split from
348 muse-project-publish.
349 (muse-project-publish): Allow project-level publishing function to
350 be specified by :publish-project element. The default is
351 muse-project-publish-default.
353 * lisp/muse-publish.el (muse-publish-file): Message fix.
355 * texi/muse.texi (Book): Mention new way to publish books and
356 provide an example, since the process may be non-obvious.
358 2006-12-20 Michael Olson <mwolson@gnu.org>
360 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
361 content-modifying code from the rest of
362 muse-docbook-finalize-buffer.
364 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
365 muse-groff-finalize-buffer, since it adds content to the buffer.
367 * lisp/muse-html.el (muse-html-munge-buffer): Split out
368 content-modifying code from the rest of muse-html-finalize-buffer.
369 This fixes a bug when using <include> with <content> tags.
371 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
372 (muse-journal-latex-munge-buffer)
373 (muse-journal-rss-munge-buffer): Rename, since they add content to
376 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
377 muse-latex-finalize-buffer, since it adds content to the buffer.
380 * lisp/muse-project.el:
381 * lisp/muse-publish.el:
382 * lisp/muse.el: Fix recursive load error.
384 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
385 muse-texinfo-finalize-buffer, since it adds content to the buffer.
387 * lisp/muse-wiki.el: Comment cleanup.
389 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
391 2006-12-17 Michael Olson <mwolson@gnu.org>
393 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
394 Remove the definition of \comment, since Latex already has comment
396 (muse-latex-markup-strings): Use the Latex comment syntax, rather
397 than our own. Thanks to Ryan Stutsman for pointing this out.
399 2006-12-02 Michael Olson <mwolson@gnu.org>
401 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
402 that this can generate a proper table of contents for Planner HTML
405 2006-12-01 Michael Olson <mwolson@gnu.org>
407 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
408 using a very old Emacs, avoid an infinite loop that could occur
409 when the regexp is an empty string.
411 2006-11-26 Michael Olson <mwolson@gnu.org>
413 * NEWS: Bring up to date.
415 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
416 list issues and multiple-stanza verse issues. This takes care of
417 all of the markup issues I was worried about.
419 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
420 (muse-project-publish-private-files): New option that indicates
421 whether files with private filesystem permissions should be
422 published. The default is to publish them, since it avoids
423 confusion in new users.
424 (muse-project-private-p): Use it.
426 2006-11-19 Michael Olson <mwolson@gnu.org>
428 * lisp/muse-project.el (muse-project-resolve-link): If no remote
429 style is found, which means that the link is not a Muse page, do
430 not add a suffix or prefix to it. This should fix the
431 "[[thing.owl]]" bug that Phillip Lord reported.
433 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
434 removing unused 2nd argument.
436 2006-11-17 Michael Olson <mwolson@gnu.org>
438 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
439 latex publishing where nested enumerated lists would be squashed
442 2006-11-16 Michael Olson <mwolson@gnu.org>
444 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
445 list embedded in a definition list look right. This also allows
446 for definitions to be separated from their terms, much like the
447 way HTML does it by default, if the user puts a blank line or a
448 line break between the term and the definition. If the term and
449 definition are on the same line, they will be that way in the
452 2006-11-11 Michael Olson <mwolson@gnu.org>
454 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
456 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
458 2006-11-07 Michael Olson <mwolson@gnu.org>
460 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
461 release candidate for Muse 3.03, available.
465 2006-11-06 Michael Olson <mwolson@gnu.org>
467 * lisp/muse-project.el (muse-project-find-file): Fix bug when
468 following a relative link worked even when the path was incorrect.
470 2006-11-04 John Sullivan <john@wjsullivan.net>
472 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
473 muse-follow-name-at-point to reduce collisions with other
476 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
478 2006-11-04 Michael Olson <mwolson@gnu.org>
480 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
481 optional, and make interwiki delimiter a regular rather than shy
483 (muse-wiki-handle-implicit-interwiki): Rename from
484 muse-wiki-handle-interwiki. Use match group 3 to get the page.
485 (muse-wiki-handle-explicit-interwiki): New function that is
486 smarter about where an explicit link ends in a buffer. This
487 allows you to refer to page names with invalid Wiki characters,
488 such as underscores and dashes, merely by enclosing them in double
489 brackets. Also, a bug with recognizing project names too loosely
492 2006-11-03 Michael Olson <mwolson@gnu.org>
494 * lisp/muse-project.el (muse-project-page-file): Make relative
495 links work as expected, hopefully.
497 * lisp/muse-publish.el (muse-publish-this-file): Set the current
498 output style manually, since it will differ from anything in the
499 publishing style list.
501 2006-10-30 Michael Olson <mwolson@gnu.org>
503 * lisp/muse-colors.el (muse-colors-markup): Remove note about
504 grouping elements, since that no longer applies.
505 (muse-colors-custom-tags): Explicitly match against
506 muse-tag-regexp to get the match-data set the way we want. This
507 really fixes the <example> highlighting bug that Stefan reported.
508 (muse-configure-highlighting): Set the original value to the
509 symbol, not the modified value. Re-use modified rules properly.
511 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
512 introduced yesterday.
514 2006-10-29 Michael Olson <mwolson@gnu.org>
516 * examples/mwolson: Update my example configuration.
520 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
521 without a regexp in the first position before iterating through
522 them to build muse-colors-vector. This fixes a bug with the
523 display of <example> tags. Thanks to Stefan Reichör for the
526 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
527 files in projects to be linked to.
529 * lisp/muse-publish.el (muse-publish-url): Allow the original link
530 to serve as a description for a URL, as long as it differs from
531 the destination URL. This fixes the description of WikPage links
533 (muse-publish-link-file): Check to see whether the given link
534 points at a valid file. If so, return it. Otherwise, apply other
535 transforms like prefix and link suffix.
537 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
538 "/", it is a file or directory, not a Muse page. Thanks to
539 Phillip Lord for the suggestion.
541 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
542 of the current page as the local path, instead of duplicating the
543 remote file's path. This probably fixes at least one reported
544 bug. since it's quite major.
545 (muse-wiki-update-project-file-regexp)
546 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
547 passed to regexp-opt, since that can cause Emacs 21 to throw an
548 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
549 DOT edu for the report.
550 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
552 2006-10-28 Michael Olson <mwolson@gnu.org>
554 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
555 (muse-project-resolve-link): If the given style does not have a
556 link-suffix, default to suffix. This fixes a bug I was noticing
557 when linking to a file that was published in both PDF and HTML
560 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
561 function that is used as a callback to determine the initial
562 amount of indentation that the current dl item has.
563 (muse-publish-surround-dl): Use it. Pass the initial indent value
564 and the post-indent value, instead of trying to determine them
566 (muse-publish-strip-list-indentation): New function stripped from
567 `muse-publish-surround-text' for readability.
568 (muse-publish-surround-text): Instead of taking a determine-indent
569 value, take a determine-indent-func function, which is called just
570 after finding the next list item. If we are asked to determine
571 the amount of indentation, concatenate indent and post-indent the
572 first time around. This effectively fixes all known definition
575 2006-10-16 Michael Olson <mwolson@gnu.org>
577 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
578 other software -- namely, Planner -- can detect whether they are
579 using a version of Muse that supports nested tags.
580 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
581 muse-publish-goto-tag-end.
583 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
584 Adapt for nested tags.
586 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
587 <class> tag is nestable. Thanks to Phillip Lord for noticing
590 * lisp/muse-publish.el (muse-publish-markup-tag)
591 (muse-publish-quote-tag): Use muse-goto-tag-end.
593 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
595 2006-10-15 Michael Olson <mwolson@gnu.org>
597 * AUTHORS: Bookkeeping.
599 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
602 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
605 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
607 * lisp/muse-import-docbook.el (muse-import-docbook)
608 (muse-import-docbook-files): Docfix.
609 (muse-import-docbook-get-title): Remove cl.el-ism.
611 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
613 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
615 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
617 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
618 (muse-next-reference, muse-previous-reference): Minor whitespace
620 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
623 * lisp/muse-poem.el (muse-poem-tag): Ditto.
625 * lisp/muse-publish.el (muse-publish-markup-tags)
626 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
627 element and make 4th element determine whether tags are nestable.
628 (muse-publish-goto-tag-end): New function that moves to the end of
629 a tag. Handle nested tags when NESTED is non-nil.
630 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
631 5th element for function.
632 (muse-publish-quote-tag): Handle nested quote tags. I've tested
633 this on several scenarios, and it seems to work.
634 (muse-publish-surround-text): Accept new optional argument
635 LIST-ITEM which determines the regexp to use for list items. The
636 default is to use muse-list-item-regexp.
638 * muse.texi (Markup Tags): Mention nestable tags.
640 * NEWS: Mention new files.
642 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
644 * lisp/muse-import-docbook.el: New file that converts Docbook XML
647 * lisp/muse-import-xml.el: New file that provides helper routines
648 for converting XML-ish files to Muse format.
650 2006-10-10 Michael Olson <mwolson@gnu.org>
652 * NEWS: Update for 3.02.7 bugfix release.
654 2006-10-06 Sasha Kovar <sasha@arcocene.org>
656 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
657 using the value in the muse #date directive.
658 (muse-blosxom-use-metadate): New option that determines whether or
659 not to use the #postdate directive.
660 (muse-blosxom-format-date): Convert a date string to PyBlosxom
661 metadate plugin format.
663 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
665 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
668 * muse.texi: Clarify handling of implicit links by mentioning
669 which characters can prevent Muse from recognizing something as an
672 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
674 * lisp/muse-mode.el (muse-next-reference)
675 (muse-previous-reference): Fix bug #6367 by moving point to the
676 beginning of the link.
678 2006-09-26 Michael Olson <mwolson@gnu.org>
680 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
681 beginning-of-line. This should fix a bug that was noticed in
682 recent Emacs 22 builds.
684 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
685 eval-and-compile block to avoid a compiler warning.
687 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
689 * lisp/muse-backlink.el (muse-backlink-split-string):
690 Compatibility with Emacs versions < 22
691 (muse-backlink-pending): New internal variable
692 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
693 that backlinks are inserted at the right time.
694 (muse-backlink-insert-hook-func): Remove unwind-protection; check
695 for pending backlink, and that this is the targe page.
696 (muse-backlink-handle-link): Don’t handle the link if we are
697 already handling one. Return the link as well as the parent links.
699 2006-09-25 Sasha Kovar <sasha@arcocene.org>
701 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
702 #6942 - muse-blosxom-new-entry fails when using tags.
704 2006-09-14 Michael Olson <mwolson@gnu.org>
706 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
709 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
711 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
712 function: Protect all wikiwords from START to END from further
714 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
716 2006-09-13 Michael Olson <mwolson@gnu.org>
718 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
719 adopted from Jim Ottaway's patch. It removes links from the
720 heading, and then marks the region read-only to inhibit WikiWord
723 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
725 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
726 special handling for headings.
727 (muse-texinfo-remove-links): New function that removes explicit
728 links from the given strings, replacing them with a description.
730 2006-09-11 Michael Olson <mwolson@gnu.org>
732 * muse.texi (Getting Help and Reporting Bugs): Mention the
733 muse-el-internationalization mailing list.
735 * lisp/muse.el (muse-path-sans-extension): New function that acts
736 like file-name-sans-extension, but guarantees to never modify the
737 directory part of the path. Thanks to Evan Monroig for
740 * lisp/muse-book.el (muse-book-publish-project): Use
741 muse-path-sans-extension instead of file-name-sans-extension.
743 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
746 2006-08-30 Michael Olson <mwolson@gnu.org>
748 * muse.texi (Blosxom Requirements): Fix typo.
750 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
751 directories for bzr and darcs.
753 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
754 contrib/pyblosxom/getstamps.py: Update version and headers.
756 2006-08-27 Michael Olson <mwolson@gnu.org>
758 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
759 nil values before they get to mapconcat. This fixes a lockup when
760 muse-wiki-match-all-project-files is nil.
762 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
763 (muse-wiki-ignore-implicit-links-to-current-page)
764 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
765 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
766 (muse-wiki-publish-small-title-words)
767 (muse-wiki-publish-pretty-title): Docfix.
768 (muse-wiki-update-local-wikiword-regexp): Rename from
769 muse-wiki-update-local-wikiword-regexp. Set
770 muse-wiki-project-file-regexp instead of
771 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
772 take muse-wiki-use-wikiword into account, since this is a
773 different concept now.
774 (muse-wiki-update-wikiword-regexp): Remove.
775 (muse-wiki-wikiword-regexp): In-line the :set function.
776 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
778 2006-08-26 Michael Olson <mwolson@gnu.org>
780 * lisp/muse-publish.el (muse-publish-surround-text): When looking
781 for indented list items, ignore blank lines.
783 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
784 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
785 mapconcat. This should hopefully fix a problem with large amounts
786 of files with spaces in their name. Thanks to Greg Detre for the
789 2006-08-24 Michael Olson <mwolson@gnu.org>
791 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
792 numbers from the argument to format-time-string. This fixes an
793 XEmacs bug. Thanks to Michael Welle for the report and analysis.
795 2006-08-18 Michael Olson <mwolson@gnu.org>
797 * lisp/muse-project.el (muse-project-file-entries): Since we are
798 given a full path, match against the filename as well. This fixes
799 an issue where backup files were being added to the file alist.
801 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
804 2006-08-12 Michael Olson <mwolson@gnu.org>
806 * Makefile (.PHONY): Don't use line continuations.
807 (realclean fullclean): Call realclean in subdirs, not distclean.
808 (distclean): Don't call realclean, since this would wipe out our
810 (dist): Use correct path to autoloads file.
812 * NEWS: Catch up with the latest changes.
814 * experimental/Makefile (.PHONY): Wrap long line.
816 * lisp/Makefile (distclean): Do the same thing as "clean", not
819 * lisp/muse-project.el (muse-project-get-applicable-style):
821 (muse-project-ignore-regexp, muse-project-recurse-directory):
823 (muse-project-of-file): Try the ignored files regexp against the
824 base filename as well as the entire path.
826 * lisp/muse-publish.el (muse-publish-this-file): Display message
827 if the buffer is not associated with any file, so that we avoid
829 (muse-publish-url-desc): New function taken from muse-publish-url
830 that causes a URL description to be transformed.
831 (muse-publish-url): Call muse-publish-url-desc on either the
832 description or the original URL if it will be used as a
833 description. Accept the original URL as an argument, in case it
834 was transformed earlier.
835 (muse-publish-insert-url): Pass original URL as an argument.
836 (muse-publish-markup-link): Make this somewhat easier to follow.
837 Pass original URL as argument.
838 (muse-publish-get-style): If the same style is used to publish to
839 two different directories, prompt the user for which directory to
841 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
843 (muse-publish-markup-url): Pass original URL as an argument. This
844 fixes the "nil" description for bare URLs that was in 3.02.91.
845 Nothing like finding a bug just after completing the announcement
848 * lisp/muse.el: Use defalias whenever convenient.
849 (muse-version): Set version to 3.02.92 (3.03 RC2).
851 2006-08-10 Michael Olson <mwolson@gnu.org>
853 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
854 style does not derive from any other class, return `t' here.
855 This, along with the corresponding change to muse-publish.el,
856 fixes a problem with the table of contents getting inserted
857 multiple times for custom html-based styles.
858 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
859 smarter method for table centering that works with XHTML.
861 * lisp/muse-latex2png.el Rename all functions to have a
862 "muse-latex2png" prefix. Turn all variables into customizable
863 options in the muse-latex2png group.
864 (muse-latex2png-img-dest): New option specifying where to place
866 (muse-latex2png-template): New option containing the template to
867 use for the surrounding LaTeX code.
868 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
870 (muse-latex2png-move2pubdir): Avoid multiple redundant error
871 messages when something else goes wrong. Create the image
872 subdirectory if it doesn't exist already -- thanks to Christian
873 Straßer for the report. Expand the filename properly.
874 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
875 and filename expansion.
876 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
877 the default directory properly.
879 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
880 do not run the same function twice.
882 2006-08-08 Michael Olson <mwolson@gnu.org>
884 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
885 introduced wrong-type-argument error.
887 * lisp/muse-html.el (muse-html-markup-strings)
888 (muse-xhtml-markup-string): Cause table definition that contains
889 image to be center-aligned. This should fix an issue with images
890 not being centered when captions are very long.
892 * lisp/muse-publish.el (muse-publish-table-fields): Trim
893 whitespace from fields once we have split them up.
895 * lisp/muse.el (muse-trim-whitespace): New function that strips
896 leading and trailing whitespace from a string.
898 2006-08-07 Michael Olson <mwolson@gnu.org>
900 * NEWS: Update through patch-95.
902 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
904 (muse-colors-explicit-link): Show images in link descriptions if
905 inlined images are enabled.
907 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
908 definitions for 'image-with-desc, 'image, and 'image-link.
909 (muse-docbook-markup-paragraph): If an inlined image begins a
910 paragraph, insert <para> before it.
911 (muse-docbook-fixup-images): New function that upper-cases the
912 "format" attribute of the <imagedata> tag.
913 (muse-docbook-finalize-buffer): Call it.
915 * lisp/muse-html.el (muse-html-markup-strings): Publish images
916 with descriptions as centered tables, with a centered caption
917 underneath. The resulting look is consistent with the way that
918 they are published in the LaTeX style. Thanks to Jody Klymak for
920 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
921 valid way to center a table.
922 (muse-html-markup-paragraph): Use class="image" instead of
923 "image-link" for paragraphs that start with an embedded image.
925 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
926 \textbackslash{} for "\". Thanks to Jim Ottaway for the
928 (muse-latex-markup-specials-image): New option that enables
929 escaping of specials in images. This was split from the URL
931 (muse-latex-decide-specials): Handle 'image context.
932 (muse-latex-fixup-dquotes): Go to beginning of document, instead
933 of relying on caller to do this for us.
935 * lisp/muse-publish.el (muse-publish-escape-specials): Document
937 (muse-publish-url): Use 'image context for images. Use 'image
938 instead of 'image-link and 'image-link in place of
939 'url-with-image. Separate the image file from its extension so
940 that docbook and texinfo can publish images correctly.
941 (muse-publish-markup-link): Don't force a description if one is
942 not given. This fixes a bug where images without descriptions
943 were being published as 'image-with-desc instead of 'image.
945 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
946 images the same as URLs.
947 (muse-texinfo-markup-strings): Improve image markup to achieve an
948 effect similar to that of the LaTeX publishing style. Simplify
951 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
953 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
954 when we have to use the custom version of this function.
956 * muse.texi (Images): Explain how to toggle inlining of images and
957 give better examples. Mention captions and that captioned images
958 should not be used inside of text paragraphs.
959 (Markup Strings): Bring up-to-date with the changes made since
962 2006-08-06 Michael Olson <mwolson@gnu.org>
964 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
965 in the Emacs source tree.
967 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
968 in the Emacs source tree.
970 * ChangeLog.3: New file created from the old ChangeLog.
972 * Makefile.defs (VERSION): Set to 3.02.91.
974 * NEWS: Update through patch-84.
976 * lisp/muse.el (muse-version): Set to 3.02.91.
978 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
980 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
981 delimiter are instead of hard-coding it.
983 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
984 (muse-mode): Make filling definition lists work better. This
987 * lisp/muse-publish.el (muse-style-run-hooks): Use
988 `muse-style-element' instead of `muse-get-keyword' here. This
991 * muse.texi: Set version to 3.02.91 (3.02 RC2).
993 See ChangeLog.3 for earlier changes.