1 2007-05-25 Michael Olson <mwolson@gnu.org>
3 * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
4 way of building Debian packages that preserves the original
5 release tarball and is more modular.
6 (debrevision, debrelease): Remove.
7 (dist): No need to remove the debian/ directory, since it is now
9 (debprepare): Copy over debian/ directory properly.
11 * examples/Makefile (clean): Remove QuickStart.texi, in case
12 something went wrong during the build.
14 * lisp/muse-latex.el (muse-latex-pdf-program): New option that
15 specifies the program to call in order to generate PDF content
17 (muse-latex-pdf-cruft): New option that specifies the extensions
18 of files to remove after generating PDF output successfully.
19 (muse-latex-pdf-generate): Use these new options. Work around the
20 annoying edge case where a tilde character exists in the filename
21 or directory path -- now this can only error out when the relative
22 path from the output file to the source file contains a tilde,
23 which is far less likely.
25 * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
26 muse-publish-ensure-block here after all, because <lisp> et al may
27 occur inline as part of other things.
29 * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
30 occur after full-document escaping, rather than before. This
31 prevents automatically-inserted Texinfo code from being escaped.
32 (muse-texinfo-pdf-generate): Rewrite to call
33 `muse-latex-pdf-generate' with pdftex as the generating binary,
34 because texi2pdf suffers irredeemably from the tilde edge case
37 2007-05-24 Michael Olson <mwolson@gnu.org>
39 * NEWS: Drop vague entries and position interesting entries closer
40 to the top of each section. Update for new changes.
42 * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
43 and bzr metadata directories to the list of things to ignore.
45 * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
46 `muse-publish-ensure-block-tag', since we will use it for more
48 (muse-publish-markup-list, muse-publish-verse-tag)
49 (muse-publish-quote-tag, muse-publish-example-tag)
50 (muse-publish-markup-attribute): Use it. This fixes a bug that
51 can occur when these types of markup occur immediately after a
52 paragraph. It's good to have defined behavior!
54 * texi/muse.texi (Markup Strings): Mention new argument for
57 2007-05-19 Michael Olson <mwolson@gnu.org>
59 * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
60 published footnotes and footnote references. Thanks to Scott
61 Jaderholm for the idea.
63 * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
64 link-and-anchor, on the recommendation of the original submitter.
66 2007-05-14 Michael Olson <mwolson@gnu.org>
68 * lisp/muse-latex.el (muse-latex-markup-strings): Use better
69 link-and-anchor markup. Thanks to Jean Magnan de Bornier for the
72 * lisp/muse-publish.el (muse-publish-url): Pass the url without a
73 file extension as the fourth argument.
75 * README, texi/muse.texi (Getting Help and Reporting Bugs):
76 Mention the new muse-el-logs mailing list.
78 2007-05-13 Michael Olson <mwolson@gnu.org>
80 * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
81 "\`" here. This fixes a problem with publishing custom URLs.
83 2007-05-12 Michael Olson <mwolson@gnu.org>
85 * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
86 update the list if the current buffer is associated with a file.
87 This fixes a bug with M-x muse-publish-region in a temporary
90 2007-05-01 Michael Olson <mwolson@gnu.org>
92 * lisp/muse-publish.el (muse-publish-region): Remove read-only
93 properties from the published buffer, so that the results can be
96 2007-04-23 Michael Olson <mwolson@gnu.org>
98 * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
99 find the footnote that goes with a reference, leave the reference
100 as-is. This fixes an error where control characters could be
101 placed in a published document.
103 2007-04-22 Michael Olson <mwolson@gnu.org>
105 * IDEAS.muse: Add muse-slides.el to list of things to include
108 * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
110 (muse-protocol-find): Find protocols correctly. Rewrite to use
112 (muse-browse-url): Don't concatenate "\`" here. Together, this
113 fixes a bug with browsing woman:// links.
115 * lisp/muse-project.el (muse-project-alist-styles): Deal with case
116 where entry-dir has a trailing backslash.
117 (muse-project-publish-file): If a style is malformed, skip it and
118 display a warning message. This should help people figure out
119 where the problem is.
121 2007-04-21 Michael Olson <mwolson@gnu.org>
123 * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
124 yet-to-be-included "contex" publishing style, use "$$" rather
125 than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
128 2007-04-20 Michael Olson <mwolson@gnu.org>
130 * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
131 variable that causes the :before and :before-end hooks to be
132 ignored when non-nil.
133 (muse-publish-markup-region): Use it. Also, guarantee that point
134 is at end of region after publishing.
135 (muse-publish-mark-up-tag): Simplify, taking advantage of the new
138 2007-04-19 Michael Olson <mwolson@gnu.org>
140 * IDEAS.muse: New file containing a list of ideas we have for new
141 features, or patches that have yet to be applied.
143 * README: Call it "Emacs Muse", not "the Emacs Muse". No need to
146 * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
149 * lisp/muse-publish.el (muse-publish-markup-tags): Handle
150 <literal> tags with muse-publish-literal-tag, rather than
151 muse-publish-mark-read-only.
152 (muse-publish-literal-tag): New function that publishes the
153 <literal> tag. It adds the ability to add the optional "style"
154 and "exact" elements, which cause text to only be included if the
155 current publishing style matches some criteria. The text will be
156 removed otherwise. Thanks to Jim Ottaway for the implementation.
157 (muse-publish-mark-up-tag): Let the <markup> tag take the
158 additional optional elements "style" and "exact", with much the
159 same effect as the <literal> improvements, but after calling
160 "function" or publishing the region first. Make it possible to
161 put <content> tags in <markup> regions in HTML publishing.
163 2007-04-12 Michael Olson <mwolson@gnu.org>
165 * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
166 that a blank line always exists after a heading. This fixes a bug
167 in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
170 * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
171 detection regexp to that which is used in Docbook and HTML
174 2007-04-02 Michael Olson <mwolson@gnu.org>
176 * README (muse-el-announce): Make a listing of mailing lists,
177 rather than pointing to the old EmacsWikiMailingList page. Thanks
178 to Andreas Roehler for noticing.
180 2007-04-01 Michael Olson <mwolson@gnu.org>
182 * lisp/muse-publish.el (muse-publish-date-format): Add
183 ` customization type and group.
184 (muse-publish-region): New interactive function that publishes a
185 region to a new buffer.
187 * texi/muse.texi: Use "document" rather than "manual".
189 2007-03-31 Michael Olson <mwolson@gnu.org>
191 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
192 expression (muse-style-derived-p "latex" (muse-style "latex"))
193 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
196 2007-02-25 Michael Olson <mwolson@gnu.org>
198 * lisp/muse-publish.el (muse-publish-date-format): New option that
199 specifies how to format the date when publishing Muse pages.
200 Thanks to Thomas Gehrlein for the suggestion.
201 (muse-publish-markup-buffer): Use it.
203 2007-02-23 Michael Olson <mwolson@gnu.org>
205 * README: Add Prerequisites section to mention which versions of
206 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
207 the suggestion. Update link destination for Muse's page on
210 2007-02-15 Michael Olson <mwolson@gnu.org>
212 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
213 be not just at beginning of line. This fixes an error with the
214 <class> tag. Thanks to Jim Pivarski for the report.
216 2007-02-14 Michael Olson <mwolson@gnu.org>
218 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
219 whether something is an image before checking to see if it is a
220 URL. Thanks to ITSUMI ken-ichi for the report.
222 2007-02-13 Michael Olson <mwolson@gnu.org>
224 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
225 comments that have no text better. Thanks to fang.lungang for the
227 (muse-publish-markup-comment): Deal with case where no comment
230 2007-01-23 Michael Olson <mwolson@gnu.org>
232 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
233 that ensures that at least one blank line exists at the given
234 position. This is used to avoid paragraph detection problems when
235 block-level tags like <example> immediately follow a paragraph.
236 Thanks to Hans Ekbrand for the report.
237 (muse-publish-example-tag): Use it.
239 2007-01-19 Michael Olson <mwolson@gnu.org>
241 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
242 previous blank line if we are publishing in Latex. Otherwise,
243 that wouldn't be the right thing, so leave it be.
245 2007-01-17 Michael Olson <mwolson@gnu.org>
247 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
248 multiple centered math lines on the same line; keep them on
249 different lines. Use \[ math-text \] instead of $$math-text$$,
250 since the latter seems to be deprecated. Thanks to Jody Klymak
253 2007-01-15 Michael Olson <mwolson@gnu.org>
255 * lisp/muse-latex2png.el (muse-publish-latex-tag)
256 (muse-publish-math-tag): Publish region read-only when current
257 style is Latex-derived, so that Muse does not escape it.
258 (muse-publish-math-tag): If 6 or more spaces come before the tag,
259 surround the region with "$$" rather than "$". This is the Muse
260 syntax for something centered, so it should be a good fit.
262 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
264 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
266 (muse-browse-url-man): Change man page URL format. The code is
267 simpler when the section is left inside parentheses.
268 (muse-browse-url-woman): New function.
270 2007-01-14 Michael Olson <mwolson@gnu.org>
272 * AUTHORS: Bookkeeping.
274 * lisp/muse-latex2png.el: Associate <math> tag with
275 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
276 Klymak for the report.
277 (muse-publish-math-tag): Use muse-insert-markup for the "$"
278 characters, so they don't get escaped.
280 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
281 make muse-style-derived-p easier to implement.
282 (muse-style-derived-p): If the style is not provided, fetch it and
283 check to see if the car is a string. This should fix the other
284 problem that was reported.
286 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
287 explains a case where setting muse-file-extension to nil can cause
290 2007-01-09 Michael Olson <mwolson@gnu.org>
292 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
293 comments higher priority than tags. Thanks to Stefan van der Walt
296 2007-01-08 Michael Olson <mwolson@gnu.org>
298 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
299 argument rather than calling match-string. Thanks to Stefan van
300 der Walt for the report. This should fix a bug with publishing
301 <include file="..." markup="example">.
303 2007-01-06 Michael Olson <mwolson@gnu.org>
305 * Makefile (debclean): New rule split from debrevision and
307 (debbuild): Take distributor into account.
309 * Makefile.defs (DISTRIBUTOR): New field that tracks what
310 vendor/distributor we are building for.
312 2007-01-04 Michael Olson <mwolson@gnu.org>
314 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
317 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
318 point to muse-publish-src-tag by default, since <src> and
319 <example> have different parameters.
320 (muse-publish-src-tag): New barebones publishing function for
321 <src>, which is superseded when publishing in an HTML-based style.
323 2007-01-03 Michael Olson <mwolson@gnu.org>
325 * lisp/muse-html.el (muse-html-src-tag): Document.
327 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
328 command that calls a given tag on the current buffer. Attributes
330 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
332 (muse-publish-srcify-buffer): New function that allows
333 markup="src" in the <include> tag.
334 (muse-publish-get-and-delete-attr): New macro that gets an
335 attribute from a list and removes the first instance of that
336 attribute from said list.
337 (muse-publish-markup-attribute): Handle markup="src".
338 (muse-publish-command-tag, muse-publish-include-tag): Use
339 muse-publish-get-and-delete-attr. This allows the remaining
340 attributes to be passed.
342 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
343 as changes to <command> and <include>.
345 2006-12-30 Michael Olson <mwolson@gnu.org>
349 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
350 from muse-publish-math-tag to avoid conflict with
353 2006-12-23 Michael Olson <mwolson@gnu.org>
355 * lisp/muse-latex2png.el: Update header, since this has been
356 rewritten sufficiently to not need an assignment from the original
358 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
359 (muse-latex2png): Use two underscores to separate prefix and hash.
360 (muse-latex2png-region): New function split from
361 muse-publish-latex-tag that can be used easily by other code.
362 Detect whether we are using an HTML-based publishing style, and
363 insert a simpler markup if we are not. If we are using a
364 Latex-based publishing style, do not generate an image, and leave
365 the region alone. Return the path of the generated image, in case
366 other functions want to use this programmatically.
367 (muse-publish-latex-tag): Set a default prefix based on the name
369 (muse-publish-math-tag): New tag that surrounds the region with
370 "$" characters, so that it becomes a Latex math region, and then
373 * lisp/muse-publish.el (muse-style-derived-p): New function that
374 returns non-nil if a given style, or the current style if omitted,
375 is equal to or derived from the given base style. This is useful
376 in <lisp> tags, because it allows the user to specify markup that
377 is only to be inserted for one particular style.
379 2006-12-22 Michael Olson <mwolson@gnu.org>
381 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
382 (muse-html-src-tag): New function which publishes the <src> tag.
383 Thanks to Clinton Ebadi and Charles Wang for the initial
386 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
388 2006-12-21 Michael Olson <mwolson@gnu.org>
390 * examples/johnw/muse-johnw.el: Update for preferred
391 muse-derive-style usage. Rename to muse-init.el.
393 * examples/mwolson/muse-init.el: Update.
395 * lisp/muse-book.el (muse-book-publish): New function split from
396 muse-book-publish-project. This is used in the definitions for
397 the book-latex and book-pdf styles.
398 (muse-book-publish-p): New function split from muse-book-publish.
399 (muse-book-get-directives): New function that retrieves the
400 publishing directives from the given file.
401 (muse-book-publish): Use muse-book-get-directives to set the title
402 if no title was specified.
404 * lisp/muse-project.el (muse-project): Add :publish-project entry
406 (muse-read-project, muse-project-find-file): Message fix.
407 (muse-project-publish-file-default): New function split from
408 muse-project-publish-file.
409 (muse-project-publish-file): Allow file-level publishing function
410 to be specified by the :publish element. The default is
411 muse-project-publish-file-default.
412 (muse-project-publish-default): New function split from
413 muse-project-publish.
414 (muse-project-publish): Allow project-level publishing function to
415 be specified by :publish-project element. The default is
416 muse-project-publish-default.
418 * lisp/muse-publish.el (muse-publish-file): Message fix.
420 * texi/muse.texi (Book): Mention new way to publish books and
421 provide an example, since the process may be non-obvious.
423 2006-12-20 Michael Olson <mwolson@gnu.org>
425 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
426 content-modifying code from the rest of
427 muse-docbook-finalize-buffer.
429 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
430 muse-groff-finalize-buffer, since it adds content to the buffer.
432 * lisp/muse-html.el (muse-html-munge-buffer): Split out
433 content-modifying code from the rest of muse-html-finalize-buffer.
434 This fixes a bug when using <include> with <content> tags.
436 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
437 (muse-journal-latex-munge-buffer)
438 (muse-journal-rss-munge-buffer): Rename, since they add content to
441 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
442 muse-latex-finalize-buffer, since it adds content to the buffer.
445 * lisp/muse-project.el:
446 * lisp/muse-publish.el:
447 * lisp/muse.el: Fix recursive load error.
449 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
450 muse-texinfo-finalize-buffer, since it adds content to the buffer.
452 * lisp/muse-wiki.el: Comment cleanup.
454 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
456 2006-12-17 Michael Olson <mwolson@gnu.org>
458 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
459 Remove the definition of \comment, since Latex already has comment
461 (muse-latex-markup-strings): Use the Latex comment syntax, rather
462 than our own. Thanks to Ryan Stutsman for pointing this out.
464 2006-12-02 Michael Olson <mwolson@gnu.org>
466 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
467 that this can generate a proper table of contents for Planner HTML
470 2006-12-01 Michael Olson <mwolson@gnu.org>
472 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
473 using a very old Emacs, avoid an infinite loop that could occur
474 when the regexp is an empty string.
476 2006-11-26 Michael Olson <mwolson@gnu.org>
478 * NEWS: Bring up to date.
480 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
481 list issues and multiple-stanza verse issues. This takes care of
482 all of the markup issues I was worried about.
484 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
485 (muse-project-publish-private-files): New option that indicates
486 whether files with private filesystem permissions should be
487 published. The default is to publish them, since it avoids
488 confusion in new users.
489 (muse-project-private-p): Use it.
491 2006-11-19 Michael Olson <mwolson@gnu.org>
493 * lisp/muse-project.el (muse-project-resolve-link): If no remote
494 style is found, which means that the link is not a Muse page, do
495 not add a suffix or prefix to it. This should fix the
496 "[[thing.owl]]" bug that Phillip Lord reported.
498 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
499 removing unused 2nd argument.
501 2006-11-17 Michael Olson <mwolson@gnu.org>
503 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
504 latex publishing where nested enumerated lists would be squashed
507 2006-11-16 Michael Olson <mwolson@gnu.org>
509 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
510 list embedded in a definition list look right. This also allows
511 for definitions to be separated from their terms, much like the
512 way HTML does it by default, if the user puts a blank line or a
513 line break between the term and the definition. If the term and
514 definition are on the same line, they will be that way in the
517 2006-11-11 Michael Olson <mwolson@gnu.org>
519 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
521 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
523 2006-11-07 Michael Olson <mwolson@gnu.org>
525 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
526 release candidate for Muse 3.03, available.
530 2006-11-06 Michael Olson <mwolson@gnu.org>
532 * lisp/muse-project.el (muse-project-find-file): Fix bug when
533 following a relative link worked even when the path was incorrect.
535 2006-11-04 John Sullivan <john@wjsullivan.net>
537 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
538 muse-follow-name-at-point to reduce collisions with other
541 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
543 2006-11-04 Michael Olson <mwolson@gnu.org>
545 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
546 optional, and make interwiki delimiter a regular rather than shy
548 (muse-wiki-handle-implicit-interwiki): Rename from
549 muse-wiki-handle-interwiki. Use match group 3 to get the page.
550 (muse-wiki-handle-explicit-interwiki): New function that is
551 smarter about where an explicit link ends in a buffer. This
552 allows you to refer to page names with invalid Wiki characters,
553 such as underscores and dashes, merely by enclosing them in double
554 brackets. Also, a bug with recognizing project names too loosely
557 2006-11-03 Michael Olson <mwolson@gnu.org>
559 * lisp/muse-project.el (muse-project-page-file): Make relative
560 links work as expected, hopefully.
562 * lisp/muse-publish.el (muse-publish-this-file): Set the current
563 output style manually, since it will differ from anything in the
564 publishing style list.
566 2006-10-30 Michael Olson <mwolson@gnu.org>
568 * lisp/muse-colors.el (muse-colors-markup): Remove note about
569 grouping elements, since that no longer applies.
570 (muse-colors-custom-tags): Explicitly match against
571 muse-tag-regexp to get the match-data set the way we want. This
572 really fixes the <example> highlighting bug that Stefan reported.
573 (muse-configure-highlighting): Set the original value to the
574 symbol, not the modified value. Re-use modified rules properly.
576 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
577 introduced yesterday.
579 2006-10-29 Michael Olson <mwolson@gnu.org>
581 * examples/mwolson: Update my example configuration.
585 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
586 without a regexp in the first position before iterating through
587 them to build muse-colors-vector. This fixes a bug with the
588 display of <example> tags. Thanks to Stefan Reichör for the
591 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
592 files in projects to be linked to.
594 * lisp/muse-publish.el (muse-publish-url): Allow the original link
595 to serve as a description for a URL, as long as it differs from
596 the destination URL. This fixes the description of WikPage links
598 (muse-publish-link-file): Check to see whether the given link
599 points at a valid file. If so, return it. Otherwise, apply other
600 transforms like prefix and link suffix.
602 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
603 "/", it is a file or directory, not a Muse page. Thanks to
604 Phillip Lord for the suggestion.
606 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
607 of the current page as the local path, instead of duplicating the
608 remote file's path. This probably fixes at least one reported
609 bug. since it's quite major.
610 (muse-wiki-update-project-file-regexp)
611 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
612 passed to regexp-opt, since that can cause Emacs 21 to throw an
613 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
614 DOT edu for the report.
615 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
617 2006-10-28 Michael Olson <mwolson@gnu.org>
619 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
620 (muse-project-resolve-link): If the given style does not have a
621 link-suffix, default to suffix. This fixes a bug I was noticing
622 when linking to a file that was published in both PDF and HTML
625 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
626 function that is used as a callback to determine the initial
627 amount of indentation that the current dl item has.
628 (muse-publish-surround-dl): Use it. Pass the initial indent value
629 and the post-indent value, instead of trying to determine them
631 (muse-publish-strip-list-indentation): New function stripped from
632 `muse-publish-surround-text' for readability.
633 (muse-publish-surround-text): Instead of taking a determine-indent
634 value, take a determine-indent-func function, which is called just
635 after finding the next list item. If we are asked to determine
636 the amount of indentation, concatenate indent and post-indent the
637 first time around. This effectively fixes all known definition
640 2006-10-16 Michael Olson <mwolson@gnu.org>
642 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
643 other software -- namely, Planner -- can detect whether they are
644 using a version of Muse that supports nested tags.
645 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
646 muse-publish-goto-tag-end.
648 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
649 Adapt for nested tags.
651 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
652 <class> tag is nestable. Thanks to Phillip Lord for noticing
655 * lisp/muse-publish.el (muse-publish-markup-tag)
656 (muse-publish-quote-tag): Use muse-goto-tag-end.
658 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
660 2006-10-15 Michael Olson <mwolson@gnu.org>
662 * AUTHORS: Bookkeeping.
664 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
667 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
670 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
672 * lisp/muse-import-docbook.el (muse-import-docbook)
673 (muse-import-docbook-files): Docfix.
674 (muse-import-docbook-get-title): Remove cl.el-ism.
676 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
678 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
680 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
682 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
683 (muse-next-reference, muse-previous-reference): Minor whitespace
685 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
688 * lisp/muse-poem.el (muse-poem-tag): Ditto.
690 * lisp/muse-publish.el (muse-publish-markup-tags)
691 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
692 element and make 4th element determine whether tags are nestable.
693 (muse-publish-goto-tag-end): New function that moves to the end of
694 a tag. Handle nested tags when NESTED is non-nil.
695 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
696 5th element for function.
697 (muse-publish-quote-tag): Handle nested quote tags. I've tested
698 this on several scenarios, and it seems to work.
699 (muse-publish-surround-text): Accept new optional argument
700 LIST-ITEM which determines the regexp to use for list items. The
701 default is to use muse-list-item-regexp.
703 * muse.texi (Markup Tags): Mention nestable tags.
705 * NEWS: Mention new files.
707 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
709 * lisp/muse-import-docbook.el: New file that converts Docbook XML
712 * lisp/muse-import-xml.el: New file that provides helper routines
713 for converting XML-ish files to Muse format.
715 2006-10-10 Michael Olson <mwolson@gnu.org>
717 * NEWS: Update for 3.02.7 bugfix release.
719 2006-10-06 Sasha Kovar <sasha@arcocene.org>
721 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
722 using the value in the muse #date directive.
723 (muse-blosxom-use-metadate): New option that determines whether or
724 not to use the #postdate directive.
725 (muse-blosxom-format-date): Convert a date string to PyBlosxom
726 metadate plugin format.
728 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
730 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
733 * muse.texi: Clarify handling of implicit links by mentioning
734 which characters can prevent Muse from recognizing something as an
737 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
739 * lisp/muse-mode.el (muse-next-reference)
740 (muse-previous-reference): Fix bug #6367 by moving point to the
741 beginning of the link.
743 2006-09-26 Michael Olson <mwolson@gnu.org>
745 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
746 beginning-of-line. This should fix a bug that was noticed in
747 recent Emacs 22 builds.
749 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
750 eval-and-compile block to avoid a compiler warning.
752 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
754 * lisp/muse-backlink.el (muse-backlink-split-string):
755 Compatibility with Emacs versions < 22
756 (muse-backlink-pending): New internal variable
757 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
758 that backlinks are inserted at the right time.
759 (muse-backlink-insert-hook-func): Remove unwind-protection; check
760 for pending backlink, and that this is the targe page.
761 (muse-backlink-handle-link): Don’t handle the link if we are
762 already handling one. Return the link as well as the parent links.
764 2006-09-25 Sasha Kovar <sasha@arcocene.org>
766 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
767 #6942 - muse-blosxom-new-entry fails when using tags.
769 2006-09-14 Michael Olson <mwolson@gnu.org>
771 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
774 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
776 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
777 function: Protect all wikiwords from START to END from further
779 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
781 2006-09-13 Michael Olson <mwolson@gnu.org>
783 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
784 adopted from Jim Ottaway's patch. It removes links from the
785 heading, and then marks the region read-only to inhibit WikiWord
788 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
790 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
791 special handling for headings.
792 (muse-texinfo-remove-links): New function that removes explicit
793 links from the given strings, replacing them with a description.
795 2006-09-11 Michael Olson <mwolson@gnu.org>
797 * muse.texi (Getting Help and Reporting Bugs): Mention the
798 muse-el-internationalization mailing list.
800 * lisp/muse.el (muse-path-sans-extension): New function that acts
801 like file-name-sans-extension, but guarantees to never modify the
802 directory part of the path. Thanks to Evan Monroig for
805 * lisp/muse-book.el (muse-book-publish-project): Use
806 muse-path-sans-extension instead of file-name-sans-extension.
808 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
811 2006-08-30 Michael Olson <mwolson@gnu.org>
813 * muse.texi (Blosxom Requirements): Fix typo.
815 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
816 directories for bzr and darcs.
818 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
819 contrib/pyblosxom/getstamps.py: Update version and headers.
821 2006-08-27 Michael Olson <mwolson@gnu.org>
823 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
824 nil values before they get to mapconcat. This fixes a lockup when
825 muse-wiki-match-all-project-files is nil.
827 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
828 (muse-wiki-ignore-implicit-links-to-current-page)
829 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
830 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
831 (muse-wiki-publish-small-title-words)
832 (muse-wiki-publish-pretty-title): Docfix.
833 (muse-wiki-update-local-wikiword-regexp): Rename from
834 muse-wiki-update-local-wikiword-regexp. Set
835 muse-wiki-project-file-regexp instead of
836 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
837 take muse-wiki-use-wikiword into account, since this is a
838 different concept now.
839 (muse-wiki-update-wikiword-regexp): Remove.
840 (muse-wiki-wikiword-regexp): In-line the :set function.
841 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
843 2006-08-26 Michael Olson <mwolson@gnu.org>
845 * lisp/muse-publish.el (muse-publish-surround-text): When looking
846 for indented list items, ignore blank lines.
848 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
849 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
850 mapconcat. This should hopefully fix a problem with large amounts
851 of files with spaces in their name. Thanks to Greg Detre for the
854 2006-08-24 Michael Olson <mwolson@gnu.org>
856 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
857 numbers from the argument to format-time-string. This fixes an
858 XEmacs bug. Thanks to Michael Welle for the report and analysis.
860 2006-08-18 Michael Olson <mwolson@gnu.org>
862 * lisp/muse-project.el (muse-project-file-entries): Since we are
863 given a full path, match against the filename as well. This fixes
864 an issue where backup files were being added to the file alist.
866 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
869 2006-08-12 Michael Olson <mwolson@gnu.org>
871 * Makefile (.PHONY): Don't use line continuations.
872 (realclean fullclean): Call realclean in subdirs, not distclean.
873 (distclean): Don't call realclean, since this would wipe out our
875 (dist): Use correct path to autoloads file.
877 * NEWS: Catch up with the latest changes.
879 * experimental/Makefile (.PHONY): Wrap long line.
881 * lisp/Makefile (distclean): Do the same thing as "clean", not
884 * lisp/muse-project.el (muse-project-get-applicable-style):
886 (muse-project-ignore-regexp, muse-project-recurse-directory):
888 (muse-project-of-file): Try the ignored files regexp against the
889 base filename as well as the entire path.
891 * lisp/muse-publish.el (muse-publish-this-file): Display message
892 if the buffer is not associated with any file, so that we avoid
894 (muse-publish-url-desc): New function taken from muse-publish-url
895 that causes a URL description to be transformed.
896 (muse-publish-url): Call muse-publish-url-desc on either the
897 description or the original URL if it will be used as a
898 description. Accept the original URL as an argument, in case it
899 was transformed earlier.
900 (muse-publish-insert-url): Pass original URL as an argument.
901 (muse-publish-markup-link): Make this somewhat easier to follow.
902 Pass original URL as argument.
903 (muse-publish-get-style): If the same style is used to publish to
904 two different directories, prompt the user for which directory to
906 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
908 (muse-publish-markup-url): Pass original URL as an argument. This
909 fixes the "nil" description for bare URLs that was in 3.02.91.
910 Nothing like finding a bug just after completing the announcement
913 * lisp/muse.el: Use defalias whenever convenient.
914 (muse-version): Set version to 3.02.92 (3.03 RC2).
916 2006-08-10 Michael Olson <mwolson@gnu.org>
918 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
919 style does not derive from any other class, return `t' here.
920 This, along with the corresponding change to muse-publish.el,
921 fixes a problem with the table of contents getting inserted
922 multiple times for custom html-based styles.
923 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
924 smarter method for table centering that works with XHTML.
926 * lisp/muse-latex2png.el Rename all functions to have a
927 "muse-latex2png" prefix. Turn all variables into customizable
928 options in the muse-latex2png group.
929 (muse-latex2png-img-dest): New option specifying where to place
931 (muse-latex2png-template): New option containing the template to
932 use for the surrounding LaTeX code.
933 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
935 (muse-latex2png-move2pubdir): Avoid multiple redundant error
936 messages when something else goes wrong. Create the image
937 subdirectory if it doesn't exist already -- thanks to Christian
938 Straßer for the report. Expand the filename properly.
939 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
940 and filename expansion.
941 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
942 the default directory properly.
944 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
945 do not run the same function twice.
947 2006-08-08 Michael Olson <mwolson@gnu.org>
949 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
950 introduced wrong-type-argument error.
952 * lisp/muse-html.el (muse-html-markup-strings)
953 (muse-xhtml-markup-string): Cause table definition that contains
954 image to be center-aligned. This should fix an issue with images
955 not being centered when captions are very long.
957 * lisp/muse-publish.el (muse-publish-table-fields): Trim
958 whitespace from fields once we have split them up.
960 * lisp/muse.el (muse-trim-whitespace): New function that strips
961 leading and trailing whitespace from a string.
963 2006-08-07 Michael Olson <mwolson@gnu.org>
965 * NEWS: Update through patch-95.
967 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
969 (muse-colors-explicit-link): Show images in link descriptions if
970 inlined images are enabled.
972 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
973 definitions for 'image-with-desc, 'image, and 'image-link.
974 (muse-docbook-markup-paragraph): If an inlined image begins a
975 paragraph, insert <para> before it.
976 (muse-docbook-fixup-images): New function that upper-cases the
977 "format" attribute of the <imagedata> tag.
978 (muse-docbook-finalize-buffer): Call it.
980 * lisp/muse-html.el (muse-html-markup-strings): Publish images
981 with descriptions as centered tables, with a centered caption
982 underneath. The resulting look is consistent with the way that
983 they are published in the LaTeX style. Thanks to Jody Klymak for
985 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
986 valid way to center a table.
987 (muse-html-markup-paragraph): Use class="image" instead of
988 "image-link" for paragraphs that start with an embedded image.
990 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
991 \textbackslash{} for "\". Thanks to Jim Ottaway for the
993 (muse-latex-markup-specials-image): New option that enables
994 escaping of specials in images. This was split from the URL
996 (muse-latex-decide-specials): Handle 'image context.
997 (muse-latex-fixup-dquotes): Go to beginning of document, instead
998 of relying on caller to do this for us.
1000 * lisp/muse-publish.el (muse-publish-escape-specials): Document
1002 (muse-publish-url): Use 'image context for images. Use 'image
1003 instead of 'image-link and 'image-link in place of
1004 'url-with-image. Separate the image file from its extension so
1005 that docbook and texinfo can publish images correctly.
1006 (muse-publish-markup-link): Don't force a description if one is
1007 not given. This fixes a bug where images without descriptions
1008 were being published as 'image-with-desc instead of 'image.
1010 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
1011 images the same as URLs.
1012 (muse-texinfo-markup-strings): Improve image markup to achieve an
1013 effect similar to that of the LaTeX publishing style. Simplify
1016 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
1018 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
1019 when we have to use the custom version of this function.
1021 * muse.texi (Images): Explain how to toggle inlining of images and
1022 give better examples. Mention captions and that captioned images
1023 should not be used inside of text paragraphs.
1024 (Markup Strings): Bring up-to-date with the changes made since
1027 2006-08-06 Michael Olson <mwolson@gnu.org>
1029 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
1030 in the Emacs source tree.
1032 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
1033 in the Emacs source tree.
1035 * ChangeLog.3: New file created from the old ChangeLog.
1037 * Makefile.defs (VERSION): Set to 3.02.91.
1039 * NEWS: Update through patch-84.
1041 * lisp/muse.el (muse-version): Set to 3.02.91.
1043 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
1045 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
1046 delimiter are instead of hard-coding it.
1048 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
1049 (muse-mode): Make filling definition lists work better. This
1052 * lisp/muse-publish.el (muse-style-run-hooks): Use
1053 `muse-style-element' instead of `muse-get-keyword' here. This
1056 * muse.texi: Set version to 3.02.91 (3.02 RC2).
1058 See ChangeLog.3 for earlier changes.