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