1 2007-05-01 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-publish.el (muse-publish-region): Remove read-only
4 properties from the published buffer, so that the results can be
7 2007-04-23 Michael Olson <mwolson@gnu.org>
9 * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
10 find the footnote that goes with a reference, leave the reference
11 as-is. This fixes an error where control characters could be
12 placed in a published document.
14 2007-04-22 Michael Olson <mwolson@gnu.org>
16 * IDEAS.muse: Add muse-slides.el to list of things to include
19 * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
21 (muse-protocol-find): Find protocols correctly. Rewrite to use
23 (muse-browse-url): Don't concatenate "\`" here. Together, this
24 fixes a bug with browsing woman:// links.
26 * lisp/muse-project.el (muse-project-alist-styles): Deal with case
27 where entry-dir has a trailing backslash.
28 (muse-project-publish-file): If a style is malformed, skip it and
29 display a warning message. This should help people figure out
32 2007-04-21 Michael Olson <mwolson@gnu.org>
34 * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
35 yet-to-be-included "contex" publishing style, use "$$" rather
36 than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
39 2007-04-20 Michael Olson <mwolson@gnu.org>
41 * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
42 variable that causes the :before and :before-end hooks to be
44 (muse-publish-markup-region): Use it. Also, guarantee that point
45 is at end of region after publishing.
46 (muse-publish-mark-up-tag): Simplify, taking advantage of the new
49 2007-04-19 Michael Olson <mwolson@gnu.org>
51 * IDEAS.muse: New file containing a list of ideas we have for new
52 features, or patches that have yet to be applied.
54 * README: Call it "Emacs Muse", not "the Emacs Muse". No need to
57 * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
60 * lisp/muse-publish.el (muse-publish-markup-tags): Handle
61 <literal> tags with muse-publish-literal-tag, rather than
62 muse-publish-mark-read-only.
63 (muse-publish-literal-tag): New function that publishes the
64 <literal> tag. It adds the ability to add the optional "style"
65 and "exact" elements, which cause text to only be included if the
66 current publishing style matches some criteria. The text will be
67 removed otherwise. Thanks to Jim Ottaway for the implementation.
68 (muse-publish-mark-up-tag): Let the <markup> tag take the
69 additional optional elements "style" and "exact", with much the
70 same effect as the <literal> improvements, but after calling
71 "function" or publishing the region first. Make it possible to
72 put <content> tags in <markup> regions in HTML publishing.
74 2007-04-12 Michael Olson <mwolson@gnu.org>
76 * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
77 that a blank line always exists after a heading. This fixes a bug
78 in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
81 * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
82 detection regexp to that which is used in Docbook and HTML
85 2007-04-02 Michael Olson <mwolson@gnu.org>
87 * README (muse-el-announce): Make a listing of mailing lists,
88 rather than pointing to the old EmacsWikiMailingList page. Thanks
89 to Andreas Roehler for noticing.
91 2007-04-01 Michael Olson <mwolson@gnu.org>
93 * lisp/muse-publish.el (muse-publish-date-format): Add
94 customization type ad group.
95 (muse-publish-region): New interactive function that publishes a
96 region to a new buffer.
98 * texi/muse.texi: Use "document" rather than "manual".
100 2007-03-31 Michael Olson <mwolson@gnu.org>
102 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
103 expression (muse-style-derived-p "latex" (muse-style "latex"))
104 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
107 2007-02-25 Michael Olson <mwolson@gnu.org>
109 * lisp/muse-publish.el (muse-publish-date-format): New option that
110 specifies how to format the date when publishing Muse pages.
111 Thanks to Thomas Gehrlein for the suggestion.
112 (muse-publish-markup-buffer): Use it.
114 2007-02-23 Michael Olson <mwolson@gnu.org>
116 * README: Add Prerequisites section to mention which versions of
117 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
118 the suggestion. Update link destination for Muse's page on
121 2007-02-15 Michael Olson <mwolson@gnu.org>
123 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
124 be not just at beginning of line. This fixes an error with the
125 <class> tag. Thanks to Jim Pivarski for the report.
127 2007-02-14 Michael Olson <mwolson@gnu.org>
129 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
130 whether something is an image before checking to see if it is a
131 URL. Thanks to ITSUMI ken-ichi for the report.
133 2007-02-13 Michael Olson <mwolson@gnu.org>
135 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
136 comments that have no text better. Thanks to fang.lungang for the
138 (muse-publish-markup-comment): Deal with case where no comment
141 2007-01-23 Michael Olson <mwolson@gnu.org>
143 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
144 that ensures that at least one blank line exists at the given
145 position. This is used to avoid paragraph detection problems when
146 block-level tags like <example> immediately follow a paragraph.
147 Thanks to Hans Ekbrand for the report.
148 (muse-publish-example-tag): Use it.
150 2007-01-19 Michael Olson <mwolson@gnu.org>
152 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
153 previous blank line if we are publishing in Latex. Otherwise,
154 that wouldn't be the right thing, so leave it be.
156 2007-01-17 Michael Olson <mwolson@gnu.org>
158 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
159 multiple centered math lines on the same line; keep them on
160 different lines. Use \[ math-text \] instead of $$math-text$$,
161 since the latter seems to be deprecated. Thanks to Jody Klymak
164 2007-01-15 Michael Olson <mwolson@gnu.org>
166 * lisp/muse-latex2png.el (muse-publish-latex-tag)
167 (muse-publish-math-tag): Publish region read-only when current
168 style is Latex-derived, so that Muse does not escape it.
169 (muse-publish-math-tag): If 6 or more spaces come before the tag,
170 surround the region with "$$" rather than "$". This is the Muse
171 syntax for something centered, so it should be a good fit.
173 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
175 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
177 (muse-browse-url-man): Change man page URL format. The code is
178 simpler when the section is left inside parentheses.
179 (muse-browse-url-woman): New function.
181 2007-01-14 Michael Olson <mwolson@gnu.org>
183 * AUTHORS: Bookkeeping.
185 * lisp/muse-latex2png.el: Associate <math> tag with
186 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
187 Klymak for the report.
188 (muse-publish-math-tag): Use muse-insert-markup for the "$"
189 characters, so they don't get escaped.
191 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
192 make muse-style-derived-p easier to implement.
193 (muse-style-derived-p): If the style is not provided, fetch it and
194 check to see if the car is a string. This should fix the other
195 problem that was reported.
197 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
198 explains a case where setting muse-file-extension to nil can cause
201 2007-01-09 Michael Olson <mwolson@gnu.org>
203 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
204 comments higher priority than tags. Thanks to Stefan van der Walt
207 2007-01-08 Michael Olson <mwolson@gnu.org>
209 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
210 argument rather than calling match-string. Thanks to Stefan van
211 der Walt for the report. This should fix a bug with publishing
212 <include file="..." markup="example">.
214 2007-01-06 Michael Olson <mwolson@gnu.org>
216 * Makefile (debclean): New rule split from debrevision and
218 (debbuild): Take distributor into account.
220 * Makefile.defs (DISTRIBUTOR): New field that tracks what
221 vendor/distributor we are building for.
223 2007-01-04 Michael Olson <mwolson@gnu.org>
225 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
228 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
229 point to muse-publish-src-tag by default, since <src> and
230 <example> have different parameters.
231 (muse-publish-src-tag): New barebones publishing function for
232 <src>, which is superseded when publishing in an HTML-based style.
234 2007-01-03 Michael Olson <mwolson@gnu.org>
236 * lisp/muse-html.el (muse-html-src-tag): Document.
238 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
239 command that calls a given tag on the current buffer. Attributes
241 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
243 (muse-publish-srcify-buffer): New function that allows
244 markup="src" in the <include> tag.
245 (muse-publish-get-and-delete-attr): New macro that gets an
246 attribute from a list and removes the first instance of that
247 attribute from said list.
248 (muse-publish-markup-attribute): Handle markup="src".
249 (muse-publish-command-tag, muse-publish-include-tag): Use
250 muse-publish-get-and-delete-attr. This allows the remaining
251 attributes to be passed.
253 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
254 as changes to <command> and <include>.
256 2006-12-30 Michael Olson <mwolson@gnu.org>
260 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
261 from muse-publish-math-tag to avoid conflict with
264 2006-12-23 Michael Olson <mwolson@gnu.org>
266 * lisp/muse-latex2png.el: Update header, since this has been
267 rewritten sufficiently to not need an assignment from the original
269 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
270 (muse-latex2png): Use two underscores to separate prefix and hash.
271 (muse-latex2png-region): New function split from
272 muse-publish-latex-tag that can be used easily by other code.
273 Detect whether we are using an HTML-based publishing style, and
274 insert a simpler markup if we are not. If we are using a
275 Latex-based publishing style, do not generate an image, and leave
276 the region alone. Return the path of the generated image, in case
277 other functions want to use this programmatically.
278 (muse-publish-latex-tag): Set a default prefix based on the name
280 (muse-publish-math-tag): New tag that surrounds the region with
281 "$" characters, so that it becomes a Latex math region, and then
284 * lisp/muse-publish.el (muse-style-derived-p): New function that
285 returns non-nil if a given style, or the current style if omitted,
286 is equal to or derived from the given base style. This is useful
287 in <lisp> tags, because it allows the user to specify markup that
288 is only to be inserted for one particular style.
290 2006-12-22 Michael Olson <mwolson@gnu.org>
292 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
293 (muse-html-src-tag): New function which publishes the <src> tag.
294 Thanks to Clinton Ebadi and Charles Wang for the initial
297 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
299 2006-12-21 Michael Olson <mwolson@gnu.org>
301 * examples/johnw/muse-johnw.el: Update for preferred
302 muse-derive-style usage. Rename to muse-init.el.
304 * examples/mwolson/muse-init.el: Update.
306 * lisp/muse-book.el (muse-book-publish): New function split from
307 muse-book-publish-project. This is used in the definitions for
308 the book-latex and book-pdf styles.
309 (muse-book-publish-p): New function split from muse-book-publish.
310 (muse-book-get-directives): New function that retrieves the
311 publishing directives from the given file.
312 (muse-book-publish): Use muse-book-get-directives to set the title
313 if no title was specified.
315 * lisp/muse-project.el (muse-project): Add :publish-project entry
317 (muse-read-project, muse-project-find-file): Message fix.
318 (muse-project-publish-file-default): New function split from
319 muse-project-publish-file.
320 (muse-project-publish-file): Allow file-level publishing function
321 to be specified by the :publish element. The default is
322 muse-project-publish-file-default.
323 (muse-project-publish-default): New function split from
324 muse-project-publish.
325 (muse-project-publish): Allow project-level publishing function to
326 be specified by :publish-project element. The default is
327 muse-project-publish-default.
329 * lisp/muse-publish.el (muse-publish-file): Message fix.
331 * texi/muse.texi (Book): Mention new way to publish books and
332 provide an example, since the process may be non-obvious.
334 2006-12-20 Michael Olson <mwolson@gnu.org>
336 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
337 content-modifying code from the rest of
338 muse-docbook-finalize-buffer.
340 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
341 muse-groff-finalize-buffer, since it adds content to the buffer.
343 * lisp/muse-html.el (muse-html-munge-buffer): Split out
344 content-modifying code from the rest of muse-html-finalize-buffer.
345 This fixes a bug when using <include> with <content> tags.
347 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
348 (muse-journal-latex-munge-buffer)
349 (muse-journal-rss-munge-buffer): Rename, since they add content to
352 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
353 muse-latex-finalize-buffer, since it adds content to the buffer.
356 * lisp/muse-project.el:
357 * lisp/muse-publish.el:
358 * lisp/muse.el: Fix recursive load error.
360 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
361 muse-texinfo-finalize-buffer, since it adds content to the buffer.
363 * lisp/muse-wiki.el: Comment cleanup.
365 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
367 2006-12-17 Michael Olson <mwolson@gnu.org>
369 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
370 Remove the definition of \comment, since Latex already has comment
372 (muse-latex-markup-strings): Use the Latex comment syntax, rather
373 than our own. Thanks to Ryan Stutsman for pointing this out.
375 2006-12-02 Michael Olson <mwolson@gnu.org>
377 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
378 that this can generate a proper table of contents for Planner HTML
381 2006-12-01 Michael Olson <mwolson@gnu.org>
383 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
384 using a very old Emacs, avoid an infinite loop that could occur
385 when the regexp is an empty string.
387 2006-11-26 Michael Olson <mwolson@gnu.org>
389 * NEWS: Bring up to date.
391 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
392 list issues and multiple-stanza verse issues. This takes care of
393 all of the markup issues I was worried about.
395 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
396 (muse-project-publish-private-files): New option that indicates
397 whether files with private filesystem permissions should be
398 published. The default is to publish them, since it avoids
399 confusion in new users.
400 (muse-project-private-p): Use it.
402 2006-11-19 Michael Olson <mwolson@gnu.org>
404 * lisp/muse-project.el (muse-project-resolve-link): If no remote
405 style is found, which means that the link is not a Muse page, do
406 not add a suffix or prefix to it. This should fix the
407 "[[thing.owl]]" bug that Phillip Lord reported.
409 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
410 removing unused 2nd argument.
412 2006-11-17 Michael Olson <mwolson@gnu.org>
414 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
415 latex publishing where nested enumerated lists would be squashed
418 2006-11-16 Michael Olson <mwolson@gnu.org>
420 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
421 list embedded in a definition list look right. This also allows
422 for definitions to be separated from their terms, much like the
423 way HTML does it by default, if the user puts a blank line or a
424 line break between the term and the definition. If the term and
425 definition are on the same line, they will be that way in the
428 2006-11-11 Michael Olson <mwolson@gnu.org>
430 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
432 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
434 2006-11-07 Michael Olson <mwolson@gnu.org>
436 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
437 release candidate for Muse 3.03, available.
441 2006-11-06 Michael Olson <mwolson@gnu.org>
443 * lisp/muse-project.el (muse-project-find-file): Fix bug when
444 following a relative link worked even when the path was incorrect.
446 2006-11-04 John Sullivan <john@wjsullivan.net>
448 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
449 muse-follow-name-at-point to reduce collisions with other
452 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
454 2006-11-04 Michael Olson <mwolson@gnu.org>
456 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
457 optional, and make interwiki delimiter a regular rather than shy
459 (muse-wiki-handle-implicit-interwiki): Rename from
460 muse-wiki-handle-interwiki. Use match group 3 to get the page.
461 (muse-wiki-handle-explicit-interwiki): New function that is
462 smarter about where an explicit link ends in a buffer. This
463 allows you to refer to page names with invalid Wiki characters,
464 such as underscores and dashes, merely by enclosing them in double
465 brackets. Also, a bug with recognizing project names too loosely
468 2006-11-03 Michael Olson <mwolson@gnu.org>
470 * lisp/muse-project.el (muse-project-page-file): Make relative
471 links work as expected, hopefully.
473 * lisp/muse-publish.el (muse-publish-this-file): Set the current
474 output style manually, since it will differ from anything in the
475 publishing style list.
477 2006-10-30 Michael Olson <mwolson@gnu.org>
479 * lisp/muse-colors.el (muse-colors-markup): Remove note about
480 grouping elements, since that no longer applies.
481 (muse-colors-custom-tags): Explicitly match against
482 muse-tag-regexp to get the match-data set the way we want. This
483 really fixes the <example> highlighting bug that Stefan reported.
484 (muse-configure-highlighting): Set the original value to the
485 symbol, not the modified value. Re-use modified rules properly.
487 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
488 introduced yesterday.
490 2006-10-29 Michael Olson <mwolson@gnu.org>
492 * examples/mwolson: Update my example configuration.
496 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
497 without a regexp in the first position before iterating through
498 them to build muse-colors-vector. This fixes a bug with the
499 display of <example> tags. Thanks to Stefan Reichör for the
502 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
503 files in projects to be linked to.
505 * lisp/muse-publish.el (muse-publish-url): Allow the original link
506 to serve as a description for a URL, as long as it differs from
507 the destination URL. This fixes the description of WikPage links
509 (muse-publish-link-file): Check to see whether the given link
510 points at a valid file. If so, return it. Otherwise, apply other
511 transforms like prefix and link suffix.
513 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
514 "/", it is a file or directory, not a Muse page. Thanks to
515 Phillip Lord for the suggestion.
517 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
518 of the current page as the local path, instead of duplicating the
519 remote file's path. This probably fixes at least one reported
520 bug. since it's quite major.
521 (muse-wiki-update-project-file-regexp)
522 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
523 passed to regexp-opt, since that can cause Emacs 21 to throw an
524 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
525 DOT edu for the report.
526 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
528 2006-10-28 Michael Olson <mwolson@gnu.org>
530 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
531 (muse-project-resolve-link): If the given style does not have a
532 link-suffix, default to suffix. This fixes a bug I was noticing
533 when linking to a file that was published in both PDF and HTML
536 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
537 function that is used as a callback to determine the initial
538 amount of indentation that the current dl item has.
539 (muse-publish-surround-dl): Use it. Pass the initial indent value
540 and the post-indent value, instead of trying to determine them
542 (muse-publish-strip-list-indentation): New function stripped from
543 `muse-publish-surround-text' for readability.
544 (muse-publish-surround-text): Instead of taking a determine-indent
545 value, take a determine-indent-func function, which is called just
546 after finding the next list item. If we are asked to determine
547 the amount of indentation, concatenate indent and post-indent the
548 first time around. This effectively fixes all known definition
551 2006-10-16 Michael Olson <mwolson@gnu.org>
553 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
554 other software -- namely, Planner -- can detect whether they are
555 using a version of Muse that supports nested tags.
556 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
557 muse-publish-goto-tag-end.
559 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
560 Adapt for nested tags.
562 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
563 <class> tag is nestable. Thanks to Phillip Lord for noticing
566 * lisp/muse-publish.el (muse-publish-markup-tag)
567 (muse-publish-quote-tag): Use muse-goto-tag-end.
569 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
571 2006-10-15 Michael Olson <mwolson@gnu.org>
573 * AUTHORS: Bookkeeping.
575 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
578 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
581 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
583 * lisp/muse-import-docbook.el (muse-import-docbook)
584 (muse-import-docbook-files): Docfix.
585 (muse-import-docbook-get-title): Remove cl.el-ism.
587 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
589 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
591 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
593 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
594 (muse-next-reference, muse-previous-reference): Minor whitespace
596 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
599 * lisp/muse-poem.el (muse-poem-tag): Ditto.
601 * lisp/muse-publish.el (muse-publish-markup-tags)
602 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
603 element and make 4th element determine whether tags are nestable.
604 (muse-publish-goto-tag-end): New function that moves to the end of
605 a tag. Handle nested tags when NESTED is non-nil.
606 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
607 5th element for function.
608 (muse-publish-quote-tag): Handle nested quote tags. I've tested
609 this on several scenarios, and it seems to work.
610 (muse-publish-surround-text): Accept new optional argument
611 LIST-ITEM which determines the regexp to use for list items. The
612 default is to use muse-list-item-regexp.
614 * muse.texi (Markup Tags): Mention nestable tags.
616 * NEWS: Mention new files.
618 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
620 * lisp/muse-import-docbook.el: New file that converts Docbook XML
623 * lisp/muse-import-xml.el: New file that provides helper routines
624 for converting XML-ish files to Muse format.
626 2006-10-10 Michael Olson <mwolson@gnu.org>
628 * NEWS: Update for 3.02.7 bugfix release.
630 2006-10-06 Sasha Kovar <sasha@arcocene.org>
632 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
633 using the value in the muse #date directive.
634 (muse-blosxom-use-metadate): New option that determines whether or
635 not to use the #postdate directive.
636 (muse-blosxom-format-date): Convert a date string to PyBlosxom
637 metadate plugin format.
639 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
641 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
644 * muse.texi: Clarify handling of implicit links by mentioning
645 which characters can prevent Muse from recognizing something as an
648 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
650 * lisp/muse-mode.el (muse-next-reference)
651 (muse-previous-reference): Fix bug #6367 by moving point to the
652 beginning of the link.
654 2006-09-26 Michael Olson <mwolson@gnu.org>
656 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
657 beginning-of-line. This should fix a bug that was noticed in
658 recent Emacs 22 builds.
660 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
661 eval-and-compile block to avoid a compiler warning.
663 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
665 * lisp/muse-backlink.el (muse-backlink-split-string):
666 Compatibility with Emacs versions < 22
667 (muse-backlink-pending): New internal variable
668 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
669 that backlinks are inserted at the right time.
670 (muse-backlink-insert-hook-func): Remove unwind-protection; check
671 for pending backlink, and that this is the targe page.
672 (muse-backlink-handle-link): Don’t handle the link if we are
673 already handling one. Return the link as well as the parent links.
675 2006-09-25 Sasha Kovar <sasha@arcocene.org>
677 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
678 #6942 - muse-blosxom-new-entry fails when using tags.
680 2006-09-14 Michael Olson <mwolson@gnu.org>
682 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
685 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
687 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
688 function: Protect all wikiwords from START to END from further
690 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
692 2006-09-13 Michael Olson <mwolson@gnu.org>
694 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
695 adopted from Jim Ottaway's patch. It removes links from the
696 heading, and then marks the region read-only to inhibit WikiWord
699 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
701 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
702 special handling for headings.
703 (muse-texinfo-remove-links): New function that removes explicit
704 links from the given strings, replacing them with a description.
706 2006-09-11 Michael Olson <mwolson@gnu.org>
708 * muse.texi (Getting Help and Reporting Bugs): Mention the
709 muse-el-internationalization mailing list.
711 * lisp/muse.el (muse-path-sans-extension): New function that acts
712 like file-name-sans-extension, but guarantees to never modify the
713 directory part of the path. Thanks to Evan Monroig for
716 * lisp/muse-book.el (muse-book-publish-project): Use
717 muse-path-sans-extension instead of file-name-sans-extension.
719 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
722 2006-08-30 Michael Olson <mwolson@gnu.org>
724 * muse.texi (Blosxom Requirements): Fix typo.
726 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
727 directories for bzr and darcs.
729 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
730 contrib/pyblosxom/getstamps.py: Update version and headers.
732 2006-08-27 Michael Olson <mwolson@gnu.org>
734 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
735 nil values before they get to mapconcat. This fixes a lockup when
736 muse-wiki-match-all-project-files is nil.
738 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
739 (muse-wiki-ignore-implicit-links-to-current-page)
740 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
741 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
742 (muse-wiki-publish-small-title-words)
743 (muse-wiki-publish-pretty-title): Docfix.
744 (muse-wiki-update-local-wikiword-regexp): Rename from
745 muse-wiki-update-local-wikiword-regexp. Set
746 muse-wiki-project-file-regexp instead of
747 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
748 take muse-wiki-use-wikiword into account, since this is a
749 different concept now.
750 (muse-wiki-update-wikiword-regexp): Remove.
751 (muse-wiki-wikiword-regexp): In-line the :set function.
752 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
754 2006-08-26 Michael Olson <mwolson@gnu.org>
756 * lisp/muse-publish.el (muse-publish-surround-text): When looking
757 for indented list items, ignore blank lines.
759 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
760 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
761 mapconcat. This should hopefully fix a problem with large amounts
762 of files with spaces in their name. Thanks to Greg Detre for the
765 2006-08-24 Michael Olson <mwolson@gnu.org>
767 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
768 numbers from the argument to format-time-string. This fixes an
769 XEmacs bug. Thanks to Michael Welle for the report and analysis.
771 2006-08-18 Michael Olson <mwolson@gnu.org>
773 * lisp/muse-project.el (muse-project-file-entries): Since we are
774 given a full path, match against the filename as well. This fixes
775 an issue where backup files were being added to the file alist.
777 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
780 2006-08-12 Michael Olson <mwolson@gnu.org>
782 * Makefile (.PHONY): Don't use line continuations.
783 (realclean fullclean): Call realclean in subdirs, not distclean.
784 (distclean): Don't call realclean, since this would wipe out our
786 (dist): Use correct path to autoloads file.
788 * NEWS: Catch up with the latest changes.
790 * experimental/Makefile (.PHONY): Wrap long line.
792 * lisp/Makefile (distclean): Do the same thing as "clean", not
795 * lisp/muse-project.el (muse-project-get-applicable-style):
797 (muse-project-ignore-regexp, muse-project-recurse-directory):
799 (muse-project-of-file): Try the ignored files regexp against the
800 base filename as well as the entire path.
802 * lisp/muse-publish.el (muse-publish-this-file): Display message
803 if the buffer is not associated with any file, so that we avoid
805 (muse-publish-url-desc): New function taken from muse-publish-url
806 that causes a URL description to be transformed.
807 (muse-publish-url): Call muse-publish-url-desc on either the
808 description or the original URL if it will be used as a
809 description. Accept the original URL as an argument, in case it
810 was transformed earlier.
811 (muse-publish-insert-url): Pass original URL as an argument.
812 (muse-publish-markup-link): Make this somewhat easier to follow.
813 Pass original URL as argument.
814 (muse-publish-get-style): If the same style is used to publish to
815 two different directories, prompt the user for which directory to
817 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
819 (muse-publish-markup-url): Pass original URL as an argument. This
820 fixes the "nil" description for bare URLs that was in 3.02.91.
821 Nothing like finding a bug just after completing the announcement
824 * lisp/muse.el: Use defalias whenever convenient.
825 (muse-version): Set version to 3.02.92 (3.03 RC2).
827 2006-08-10 Michael Olson <mwolson@gnu.org>
829 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
830 style does not derive from any other class, return `t' here.
831 This, along with the corresponding change to muse-publish.el,
832 fixes a problem with the table of contents getting inserted
833 multiple times for custom html-based styles.
834 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
835 smarter method for table centering that works with XHTML.
837 * lisp/muse-latex2png.el Rename all functions to have a
838 "muse-latex2png" prefix. Turn all variables into customizable
839 options in the muse-latex2png group.
840 (muse-latex2png-img-dest): New option specifying where to place
842 (muse-latex2png-template): New option containing the template to
843 use for the surrounding LaTeX code.
844 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
846 (muse-latex2png-move2pubdir): Avoid multiple redundant error
847 messages when something else goes wrong. Create the image
848 subdirectory if it doesn't exist already -- thanks to Christian
849 Straßer for the report. Expand the filename properly.
850 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
851 and filename expansion.
852 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
853 the default directory properly.
855 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
856 do not run the same function twice.
858 2006-08-08 Michael Olson <mwolson@gnu.org>
860 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
861 introduced wrong-type-argument error.
863 * lisp/muse-html.el (muse-html-markup-strings)
864 (muse-xhtml-markup-string): Cause table definition that contains
865 image to be center-aligned. This should fix an issue with images
866 not being centered when captions are very long.
868 * lisp/muse-publish.el (muse-publish-table-fields): Trim
869 whitespace from fields once we have split them up.
871 * lisp/muse.el (muse-trim-whitespace): New function that strips
872 leading and trailing whitespace from a string.
874 2006-08-07 Michael Olson <mwolson@gnu.org>
876 * NEWS: Update through patch-95.
878 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
880 (muse-colors-explicit-link): Show images in link descriptions if
881 inlined images are enabled.
883 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
884 definitions for 'image-with-desc, 'image, and 'image-link.
885 (muse-docbook-markup-paragraph): If an inlined image begins a
886 paragraph, insert <para> before it.
887 (muse-docbook-fixup-images): New function that upper-cases the
888 "format" attribute of the <imagedata> tag.
889 (muse-docbook-finalize-buffer): Call it.
891 * lisp/muse-html.el (muse-html-markup-strings): Publish images
892 with descriptions as centered tables, with a centered caption
893 underneath. The resulting look is consistent with the way that
894 they are published in the LaTeX style. Thanks to Jody Klymak for
896 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
897 valid way to center a table.
898 (muse-html-markup-paragraph): Use class="image" instead of
899 "image-link" for paragraphs that start with an embedded image.
901 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
902 \textbackslash{} for "\". Thanks to Jim Ottaway for the
904 (muse-latex-markup-specials-image): New option that enables
905 escaping of specials in images. This was split from the URL
907 (muse-latex-decide-specials): Handle 'image context.
908 (muse-latex-fixup-dquotes): Go to beginning of document, instead
909 of relying on caller to do this for us.
911 * lisp/muse-publish.el (muse-publish-escape-specials): Document
913 (muse-publish-url): Use 'image context for images. Use 'image
914 instead of 'image-link and 'image-link in place of
915 'url-with-image. Separate the image file from its extension so
916 that docbook and texinfo can publish images correctly.
917 (muse-publish-markup-link): Don't force a description if one is
918 not given. This fixes a bug where images without descriptions
919 were being published as 'image-with-desc instead of 'image.
921 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
922 images the same as URLs.
923 (muse-texinfo-markup-strings): Improve image markup to achieve an
924 effect similar to that of the LaTeX publishing style. Simplify
927 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
929 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
930 when we have to use the custom version of this function.
932 * muse.texi (Images): Explain how to toggle inlining of images and
933 give better examples. Mention captions and that captioned images
934 should not be used inside of text paragraphs.
935 (Markup Strings): Bring up-to-date with the changes made since
938 2006-08-06 Michael Olson <mwolson@gnu.org>
940 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
941 in the Emacs source tree.
943 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
944 in the Emacs source tree.
946 * ChangeLog.3: New file created from the old ChangeLog.
948 * Makefile.defs (VERSION): Set to 3.02.91.
950 * NEWS: Update through patch-84.
952 * lisp/muse.el (muse-version): Set to 3.02.91.
954 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
956 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
957 delimiter are instead of hard-coding it.
959 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
960 (muse-mode): Make filling definition lists work better. This
963 * lisp/muse-publish.el (muse-style-run-hooks): Use
964 `muse-style-element' instead of `muse-get-keyword' here. This
967 * muse.texi: Set version to 3.02.91 (3.02 RC2).
969 See ChangeLog.3 for earlier changes.