1 2007-09-05 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-context.el (muse-context-decide-specials): Add
6 * lisp/muse-latex.el (muse-latex-decide-specials): Add footnote.
8 * lisp/muse-publish.el (muse-publish-escape-specials): Mention
9 'footnote in docstring.
10 (muse-publish-markup-footnote): Minor docstring fix. Escape
11 footnote text properly. Thanks to Jean Magnan de Bornier for
13 (muse-publish-url): When checking to see if this is just a plain
14 URL without a description, compare the strings as they were before
15 doing escaping. This fixes a bug where plain URLs could sometimes
16 be published as if they were URLs with descriptions.
18 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Add
21 2007-08-29 Michael Olson <mwolson@gnu.org>
23 * lisp/muse.el (muse-update-values): Reset the value of
24 muse-current-project in all Muse buffers. This updates the rules
25 in case you want to publish a file after changing its associated
26 muse-project-alist entry.
28 2007-08-27 Michael Olson <mwolson@gnu.org>
30 * lisp/muse.el (muse-update-values): New function that the user
31 can call after changing muse-project-alist, in order to update
32 various autogenerated values.
34 * texi/muse.texi (Keystroke Summary): Document it.
36 2007-08-25 Michael Olson <mwolson@gnu.org>
38 * examples/QuickStart.muse: Fix typo in first paragraph. Thanks
39 to Karl Berry for reporting this.
41 * lisp/muse-mode.el (muse-visit-link-default): Fix bug with
42 browsing anchors that come after a link to them.
44 * texi/muse.texi (Poem): Fix typo in spelling of LaTeX. Thanks to
45 Karl Berry for reporting this.
47 2007-08-24 Michael Olson <mwolson@gnu.org>
49 * Release Emacs Muse 3.11.
51 * AUTHORS: Add new authors for contrib files.
53 * NEWS: Add entries for Muse 3.11.
55 * README: Mention that contents of contrib/blosxom and
56 contrib/pyblosxom have different licenses than the rest of Muse.
58 * contrib/blosxom/getstamps.pl: New file that implements fetching
59 timestamps from published Muse files and placing them in a single
60 timestamps file. That file can then be used by blosxom's metadate
61 plugin. Thanks to Michael Welle for providing this file, as well
62 as instructions on how to use Muse with Blosxom.
64 * contrib/blosxom/metadate_0_0_3: New file implementing the
65 metadate plugin for blosxom.
67 * contrib/pyblosxom/getstamps.py: Add license text. It seems safe
68 to assume that the original author wanted this to be distributed
69 with Pyblosxom, and hence use the MIT license like the rest of
72 * contrib/pyblosxom/hardcodedates.py: Add license text.
74 * contrib/pyblosxom/make-blog: Change license text to be "This
75 file may be used, distributed, and modified without restriction."
77 * contrib/pyblosxom/metadate.py: New file that implements the
78 PyBlosxom metadate plugin. Since this can no longer be found at
79 the original author's website, I have included it with Muse.
81 * lisp/muse-blosxom.el: Update location of metadate plugin in
84 * lisp/muse-wiki.el (muse-wiki-project-file-regexp): Fix typo in
87 * texi/muse.texi (Blosxom Requirements): Organize information by
88 subheading and subsubheading, and document how to use the metadate
89 plugin. Briefly document using Blosxom to serve Muse entries.
91 2007-08-23 Michael Olson <mwolson@gnu.org>
93 * lisp/muse-html.el (muse-html-insert-contents): Escape heading
94 title just before extracting it.
96 * lisp/muse-latex.el (muse-latex-fixup-headings): New function
97 that removes footnotes from headers, since they are invalid in
99 (muse-latex-munge-buffer): Call it.
101 * lisp/muse-publish.el (muse-publish-markup-heading): Don't escape
102 specials here. This fixes a bug involving links in headings.
104 * lisp/muse.el (muse-update-file-extension): Simplify, and handle
106 (muse-update-file-extension-after-init): Temporarily bind
107 muse-file-extension to "muse", so that muse-update-file-extension
108 knows what the old value was. This should fix a bug reported by
109 Jean Magnan de Bornier.
111 2007-08-21 Michael Olson <mwolson@gnu.org>
113 * lisp/muse-texinfo.el (muse-texinfo-markup-strings): Try to make
114 url, link, and link-and-anchor look better in texi2html output.
115 Thanks to thorne for the report.
117 2007-08-20 Michael Olson <mwolson@gnu.org>
119 * lisp/muse-journal.el (muse-journal-anchorize-title): Revamp to
120 escape characters rather than discard them. Use muse-regexp-alnum
121 rather than listing out the characters and numbers. Thanks to
122 Shunsuke OKANO for the report.
123 (muse-journal-rss-munge-buffer): Make sure that <![CDATA[ stuff is
124 used when generating a summary.
126 2007-08-19 Michael Olson <mwolson@gnu.org>
128 * examples/mwolson: Update my example settings.
130 * lisp/muse-colors.el (muse-colors-region): Bind
131 muse-colors-region-end to the end of the last line. This avoids a
132 bug where lines that had emphasis would suddenly become
133 unhighlighted when moving around the buffer.
135 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug
136 involving paragraphs after literallayout markup, which is used in
137 <verse> tags. Thanks to Shunsuke OKANO for the report.
139 * lisp/muse-html.el (muse-html-src-tag): Use
140 muse-delete-and-extract-region.
142 * lisp/muse-import-xml.el: Add require statement.
143 (muse-import-xml-parse-node): Use muse-replace-regexp-in-string.
145 * lisp/muse-protocols.el (muse-browse-url-man): Add require
147 (muse-browse-url-woman): Add require statement.
149 * lisp/muse-publish.el (muse-publish-surround-text): Fix serious
150 bug in definition list publishing. We were skipping past the
151 initial indented line, and that was causing an erroneous
152 blockquote to be inserted. This alone merits a new release.
154 * lisp/muse-texinfo.el (muse-texinfo-info-generate): Fix bug with
155 XEmacs' return value for shell-command.
157 * lisp/muse.el (muse-delete-and-extract-region): New compatibility
158 function to deal with XEmacs' lack of the
159 delete-and-extract-region function.
161 2007-08-18 Michael Olson <mwolson@gnu.org>
165 * lisp/muse-publish.el (muse-publish-include-tag): Switch from
166 copy-tree to copy-alist, since Emacs21 does not have the former,
167 and the latter does what we want.
169 * lisp/muse.el: Force-require 'derived, since Emacs21 does not
170 have derived-mode-p in subr.el like Emacs22 does.
172 2007-08-17 Michael Olson <mwolson@gnu.org>
174 * etc/muse.rnc: Add the <cite> tag.
176 * lisp/muse-context.el (muse-context-slides-header): Clarify what
179 * lisp/muse-xml.el (muse-xml-markup-strings): Mark up citations as
180 <cite type="something">. We'll leave it to the post processing
181 tools to interpret that.
183 * texi/muse.texi (Directives, Blosxom Entries): Use @code{} for
185 (Citations): New section that explains further how to use the
186 <cite> tag. The text was taken from Marcus Hoenicka's
187 documentation at http://refdb.sourceforge.net/muse.html and
189 (Tag Summary): Link to the Citations section in the entry for
191 (ConTeXt): Update the documentation for
192 muse-context-slides-header.
194 2007-08-17 Jean Magnan de Bornier <jean@bornier.net>
196 * lisp/muse-context.el (muse-context-slides-header): Use #module
197 directive, if it is provided.
198 (muse-context-slides-header): Mention how to use #module.
200 2007-08-16 Michael Olson <mwolson@gnu.org>
202 * Release Emacs Muse 3.10.
204 * Makefile (dist, debprepare): Pass HEAD argument to git-archive.
205 (upload): Don't depend on release rule.
207 * NEWS: Document remaining changes.
209 2007-08-15 Michael Olson <mwolson@gnu.org>
211 * NEWS: Document items through 2007-08-12.
213 * lisp/muse-colors.el: Split the muse-directive-or-comment
214 property into two separate properties that are muse-directive and
216 (muse-colors-region-end): Make buffer-local.
217 (muse-colors-delayed-commands): New variable that contains a list
218 of commands to run immediately after highlighting. This is meant
219 to allow highlighting functions to delay code until later.
220 (muse-colors-region): Apply commands in
221 muse-colors-delayed-commands.
222 (muse-colors-inhibit-tags-in-directives): New variable that
223 determines whether tags are allowed in directives.
224 (muse-colors-custom-tags): Take
225 muse-colors-inhibit-tags-in-directives into account.
226 (muse-unhighlight-region): Remove muse-directive and muse-comment
228 (muse-colors-title): Modify muse-colors-delayed-commands.
229 (muse-colors-title-lisp): New command that gets called after
230 highlighting other things. This interprets <lisp> tags, and is
231 passed arguments specifying the beginning and end of the region.
232 Thanks to Junichi Uekawa for the report. The reason we want to do
233 things this way is because this is the behavior we get already
234 when publishing the page.
236 * lisp/muse.el (muse-goto-tag-end): Change to use muse-comment
237 property rather than muse-directive-or-comment.
239 2007-08-14 Michael Olson <mwolson@gnu.org>
241 * lisp/muse-colors.el: Document all functions and variables.
242 (muse-colors-emphasized, muse-colors-underlined)
243 (muse-colors-verbatim, muse-colors-custom-tags)
244 (muse-colors-explicit-link, muse-colors-implicit-link): Don't trod
245 on comments or the #title directive.
246 (muse-colors-markup): Add comment rule.
247 (muse-colors-implicit-link): Only remove flyspell overlay after we
248 decide whether this is an implicit link, rather than before.
249 (muse-colors-title): Add the muse-directive-or-comment property.
250 (muse-colors-comment): New function that colorizes comments using
251 font-lock-comment-face.
252 (muse-colors-region-end): New variable indicating the end of the
253 region that is currently being font-locked. This removes the need
254 for an ugly "defvar end" hack.
255 (muse-colors-emphasized, muse-colors-underlined)
256 (muse-colors-verbatim): Use it.
257 (muse-colors-region): Let-bind it.
259 * lisp/muse-mode.el (muse-list-edit-minor-mode): Grammar fix in
262 * lisp/muse-publish.el (muse-publish-markup-heading): Escape
263 specials in heading now, rather than waiting on the whole-document
264 pass later on. This lets <contents> generation work without
265 validation errors. Thanks to Reid van Melle for the report.
267 * texi/muse.texi (Tag Summary): Document <cite> tag.
268 (Miscellaneous): New chapter containing "Muse List Edit Minor
270 (Muse List Edit Minor Mode): New section that documents
271 muse-list-edit-minor-mode.
272 (Development): Mention the MuseDevlopment page on emacswiki.org.
274 * lisp/muse.el (muse-goto-tag-end): Deal with case where we are
275 font-locking and the end or beginning of a tag is in a comment or
278 2007-08-12 Michael Olson <mwolson@gnu.org>
280 * lisp/muse-html.el (muse-html-strip-links): New function that
281 strips HTML links from a string.
282 (muse-html-insert-contents): Use it, instead of
283 muse-publish-strip-tags. This fixes a bug reported by Xin Shi
284 involving the use of <sup> in section titles.
286 * lisp/muse-project.el (muse-project-resolve-directory): New
287 function that figures out the directory part of the path that
288 provides a link to a page.
289 (muse-project-resolve-link): Expand docstring. Use the new
290 function. Don't call muse-publish-link-file, because that does
291 the wrong thing when we have muse-file-extension set to nil.
292 Thanks to Sebastian Obermanns for the report.
293 (muse-project-publish-this-file): Let-bind muse-current-project.
294 Also, if the file is not associated with a project, fall back to
295 muse-publish-this-file.
296 (muse-project-set-variables): Add this to
297 muse-before-publish-hook, so that it gets called. This fixes a
298 bug where project-specific variables were being used in Muse mode,
299 but ignored when publishing.
301 * lisp/muse-publish.el (muse-publish-link-name)
302 (muse-publish-link-file, muse-publish-link-page): Add docstrings
303 so that I can remember what each of these things do.
304 (muse-publish-strip-tags): Remove, since it is no longer used.
305 (muse-publish-cite-tag): Don't let-bind
306 muse-publishing-directives, because there is no need to do so.
307 Fix code indentation.
308 (muse-publish-markup-attribute): Avoid multiple evaluation of
309 attrs argument, in case it is list value instead of a symbol. Use
310 sexp instead of form in the edebug-form-spec.
311 (muse-publish-include-tag): Make a full copy of
312 muse-publishing-directives, since it can be modified with setcdr.
313 This fixes a bug where #title and some other directives were
314 leaking out of an included region.
315 (muse-publish-mark-up-tag): Don't let-bind
316 muse-publishing-directives, because there is no need to do so.
318 * lisp/muse.el (muse-page-name): Improve docstring.
320 * texi/muse.texi (Development): Mention the http method for
321 anonymous git access to the shared repo.
323 2007-08-10 Michael Olson <mwolson@gnu.org>
325 * Makefile (dist, debprepare): Use git instead of tla.
327 * contrib/httpd.el (httpd-send-file): Use insert-file-contents.
329 * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
330 Use muse-insert-file-contents.
332 * experimental/muse-split.el (muse-publish-file)
333 (muse-publish-presplit-publish, muse-publish-no-split-function)
334 (muse-journal-split-by-entry, muse-journal-split-by-month): Use
335 muse-insert-file-contents.
337 * lisp/muse-book.el (muse-book-publish-chapter)
338 (muse-book-get-directives): Use muse-insert-file-contents.
340 * lisp/muse-http.el (muse-http-render-page): Use
341 muse-insert-file-contents.
343 * lisp/muse-poem.el (muse-poem-markup-tag): Use
344 muse-insert-file-contents.
346 * lisp/muse-publish.el (muse-insert-file-or-string)
347 (muse-publish-file, muse-publish-include-tag)
348 (muse-published-contents): Use muse-insert-file-contents.
350 * lisp/muse.el (muse-insert-file-contents): New function that
351 inserts a file with character code conversion, but none of the
352 other frivolities. Since insert-file-contents-literally does not
353 do character code conversion, it is not suitable for us.
354 (muse-with-temp-buffer): Mention muse-insert-file-contents rather
355 than insert-file-contents-literally.
357 2007-08-09 Michael Olson <mwolson@gnu.org>
359 * lisp/muse.el (muse-write-file): Pay attention to
360 coding-system-for-write and save-buffer-coding-system. This
361 should fix a recently-introduced bug with writing Muse pages in
362 different coding systems.
364 2007-08-08 Michael Olson <mwolson@gnu.org>
366 * README (Prerequisites): Fix typo.
367 (Compilation, Installation): Update.
368 (Documentation, Further Documentation): Update URLs.
369 (Further Documentation): Add quick blurb on how to participate in
370 Muse development or track changes.
372 * texi/muse.texi (Releases): Use gna.org URL for downloading the
373 latest release, rather than my website.
374 (Development): Change instructions to use git instead of
375 Arch. Mention where to get a Windows binary for git. Improve the
376 look of the listing. Add section with instructions for Becoming a
378 (Installation): Update instructions for Makefile.defs.default and
379 XEmacs. Add index entries. Add section for ELPA, since Muse
380 ought to be distributed in ELPA after the 3.10 release. Fix typo
383 2007-08-06 Michael Olson <mwolson@gnu.org>
385 * texi/muse.texi: Make sure that attributes are marked up with
386 @option{} rather than @code{} or @samp{} for consistency.
387 (Journal): Add "muse-project-alist-considerations" subheading,
388 along with a mention of :base-url.
390 2007-08-05 Michael Olson <mwolson@gnu.org>
392 * .gitignore: Add texi/muse.html and the DVC log edit file.
394 * Makefile.defs.default (install_info): Rename from INSTALLINFO.
395 Turn this into something that can be called like a command, due to
396 needing to deal with XEmacs, which has different argument order.
397 Thanks to Terrence Brannon for the report.
399 * lisp/muse-project.el (muse-project-of-file): Simplify by using
400 catch, throw, and dolist. Look for exact matches before
401 considering any subdirectories. If no exact matches are found,
402 then pick the longest match.
404 * lisp/muse.el (muse-sort-by-rating): Mention default test in
407 * scripts/muse-build.el: Avoid interference from VC.el in the
410 * texi/Makefile (install): Call install_info.
412 2007-08-03 Michael Olson <mwolson@gnu.org>
414 * lisp/muse-project.el (muse-project-applicable-styles): Remove
415 useless argument ignore-regexp. Use saner logic. This fixes a
416 bug where a file could potentially not exist but still appear in
417 the used-styles list. Thanks to John Wiegley for the fix.
418 (muse-project-publish-file): Don't take ignore-reegxp argument.
420 2007-08-02 Michael Olson <mwolson@gnu.org>
422 * lisp/muse-publish.el (muse-batch-publish-files): Don't activate
423 VC when publishing files in batch. This avoids some annoying
424 messages when building QuickStart in the examples directory.
426 * lisp/muse-mode.el (muse-mode): Don't try to indent line before
429 2007-07-31 Michael Olson <mwolson@gnu.org>
431 * lisp/Makefile: Add dependencies between Emacs Lisp files, so
432 that Muse can be recompiled without running "make clean" after an
435 * lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
436 delete forward one character, since we are guaranteed to be on a
437 blank line. Don't delete all initial whitespace of the first
438 line. This fixes an issue where the output from the verse tag did
439 not match the output from Muse's verse syntax.
441 2007-07-29 Michael Olson <mwolson@gnu.org>
443 * Relicense to GPLv3.
445 * Makefile.defs.default: Rename from Makefile.defs. This allows
446 people to copy this file to Makefile.defs and make changes,
447 without having the changes be accidentally committed. If
448 Makefile.defs does not exist, this file is read instead, in order
449 to minimize inconvenience to the casual user.
451 * Makefile, contrib/Makefile, examples/Makefile,
452 experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
453 Makefile.defs.default or Makefile.defs.
455 * lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
457 (muse-l-e-m-m-insert-list-item): Add real documentation.
458 (muse-l-e-m-m-increase-list-item-indent)
459 (muse-l-e-m-m-decrease-list-item-indent): Rename for clarity. Add
461 (muse-list-edit-minor-mode): Improve documentation.
463 * texi/doclicense.texi (GNU Free Documentation License): Use
464 pristine copy from Emacs source tree.
466 * texi/muse.texi (Contributors): Move node and appendix indicators
467 here, rather than doclicense.texi.
469 2007-07-29 Jean Magnan de Bornier <jean@bornier.net>
471 * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
472 command which did not work correctly
474 * lisp/muse-context.el (muse-context-markup-strings): Change rule
475 command which did not work correctly; defined verse commands
476 (muse-context-markup-specials-literal): Eliminate all unuseful entries
478 2007-07-29 Michael Olson <mwolson@gnu.org>
480 * contrib/httpd.el (httpd-send-file): Use
481 insert-file-contents-literally instead of insert-file-contents.
483 * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
484 Use insert-file-contents-literally instead of
485 insert-file-contents.
487 * experimental/muse-split.el (muse-publish-file)
488 (muse-publish-presplit-publish, muse-publish-no-split-function)
489 (muse-journal-split-by-entry, muse-journal-split-by-month): Use
490 insert-file-contents-literally instead of insert-file-contents.
492 * lisp/muse-book.el (muse-book-publish-chapter)
493 (muse-book-get-directives): Use insert-file-contents-literally
494 instead of insert-file-contents.
496 * lisp/muse-http.el (muse-http-render-page): Use
497 insert-file-contents-literally instead of insert-file-contents.
499 * lisp/muse-import-latex.el (muse-import-latex): Set marker to
500 nowhere when done, since they can slow things down.
502 * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
503 marker to nowhere when done, since they can slow things down.
505 * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
506 when done, since they can slow things down. Use
507 insert-file-contents-literally instead of insert-file-contents.
509 * lisp/muse-publish.el (muse-publish-markup-tag)
510 (muse-publish-markup-word, muse-publish-markup-footnote)
511 (muse-publish-call-tag-on-buffer): Set markers to nowhere when
512 done, since they can slow things down.
513 (muse-insert-file-or-string, muse-publish-file)
514 (muse-publish-include-tag, muse-published-contents): Use
515 insert-file-contents-literally instead of insert-file-contents.
516 (muse-publish-surround-dl): Remove unused variable. Track whether
517 a term has been found, and handle that case well.
518 (muse-publish-ensure-blank-line): Use a marker, so that we don't
519 lose our place when adding a newline. This really fixes the
520 definition list item bug.
521 (muse-publish-markup-list): Since people do seem to want
522 definition lists with no terms, allow this.
523 (muse-batch-publish-files): Set muse-current-output-style.
525 * lisp/muse.el (muse-with-temp-buffer): Mention
526 `insert-file-contents-literally'.
528 2007-07-28 Michael Olson <mwolson@gnu.org>
530 * lisp/muse-mode.el (muse-browse-result): Set
531 muse-current-output-style.
532 (muse-mode): Don't duplicate the paragraph-start regexp
534 (muse-list-edit-minor-mode-map): New variable containing the
535 keymap for Muse list edit minor mode.
536 (muse-l-e-m-m-list-item-regexp): New variable that matches list
537 items for Muse list edit minor mode.
538 (muse-l-e-m-m-insert-list-item,
539 muse-l-e-m-m-i-list-item-indentation)
540 (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
541 item functions that change the list item regexp before calling the
543 (muse-l-e-m-m-data): New variable that keeps track of the fill
544 data that we overwrite when activating Muse list edit minor mode,
545 so that we can restore it if the minor mode is toggled off.
546 (muse-list-edit-minor-mode): New minor mode that is useful for
547 editing lists in other major modes.
548 (turn-on-muse-list-edit-minor-mode)
549 (turn-off-muse-list-edit-minor-mode): New interactive functions
550 that turn Muse list edit minor mode on and off, respectively.
551 (muse-on-blank-line, muse-get-paragraph-start): Simplify some
554 * lisp/muse-project.el (muse-project-publish-this-file): Set
555 muse-current-output-style. This fixes a bug when publishing to a
556 style that is not first in the list of styles. Thanks to Jean
557 Magnan de Bornier for the report.
559 * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
560 function that ensures that a blank line exists in the line before
562 (muse-publish-markup-list): Use it, rather than
563 `muse-publish-ensure-block'. This fixes a bug with definition
564 list publishing. Thanks to meandtheshell for reporting this.
566 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
567 project argument is nil, default to the current project instead of
568 the first project entry in muse-project-alist. This seems much
571 * lisp/muse.el (muse-forward-list-item): Only check the 'face
572 property if we are in Muse mode or one of its derivatives. This
573 allows movement on nested lists to work in other modes, and fixes
574 an issue with altering list indentation in
575 muse-list-edit-minor-mode.
577 2007-07-27 Michael Olson <mwolson@gnu.org>
579 * AUTHORS: Add new authors.
581 * README: Permit Muse to be called "Emacs-Muse".
583 * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
585 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
586 involving list items that have an extra blank line in front.
588 * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
589 and Emacs-Muse are the same thing.
591 2007-07-27 Jean Magnan de Bornier <jean@bornier.net>
593 * lisp/muse-context.el (muse-context-header): Put
594 starttext after the modules who must be in preamble.
595 (muse-context-markup-strings): Fixed mistake in begin-example and
598 * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
599 math environment in ConTeXt when centered: "$$ $$" has to be
600 "\startformula \stopformula".
602 2007-07-26 Michael Olson <mwolson@gnu.org>
604 * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
607 2007-07-24 Michael Olson <mwolson@gnu.org>
609 * examples/QuickStart.muse (Images): Fix typo where some text
610 existed in the output but not in the example region.
611 (Source Code): Fix another typo. Explain that publishing from
612 console or X can make a difference.
614 * lisp/muse-context.el (muse-context-pdf-program): New option that
615 determines the program to use for generating PDF files for
617 (muse-context-pdf-cruft): New option that specifies the extensions
618 of files to remove after generating PDF output successfully.
619 (muse-context-slides-header): Docfix.
620 (muse-context-pdf-generate): Use new options.
622 * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
623 save-restriction call. This was causing a world of hurt when
624 using <lisp> inside of <include>.
626 * texi/muse.texi (ConTeXt): New section that documents how to use
627 the ConTeXt publishing styles.
629 2007-07-23 Michael Olson <mwolson@gnu.org>
631 * lisp/muse-context.el: New file that provides support for
632 publishing documents to the ConTeXt format. Thanks to Jean Magnan
633 de Bornier for his work on this.
635 * lisp/muse-docbook.el (muse-docbook-entities)
636 (muse-docbook-bibliography): Remove unneeded save-restriction use.
638 * lisp/muse-latex2png.el (muse-publish-latex-tag):
641 * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
642 (muse-latex-bibliography): Remove call to `widen', since it is not
643 needed anymore. Remove unneeded save-restriction use.
644 ("slides", "slides-pdf"): Indent elements uniformly.
646 2007-07-22 Michael Olson <mwolson@gnu.org>
648 * lisp/muse-blosxom.el (muse-blosxom-new-entry):
649 * lisp/muse-mode.el (muse-insert-tag):
650 * lisp/muse-project.el (muse-read-project)
651 (muse-read-project-file):
652 * lisp/muse-publish.el (muse-publish-get-style): Use
653 muse-completing-read-function.
655 * lisp/muse-latex2png.el (muse-publish-latex-tag)
656 (muse-publish-math-tag): Allow the context style -- which I plan
657 to include soon -- to work with these tags.
659 * lisp/muse.el (muse-completing-read-function): New option that
660 determines which function to call when doing a completing-read.
662 2007-07-15 Michael Olson <mwolson@gnu.org>
664 * lisp/muse-journal.el (muse-journal-html-entry-template)
665 (muse-journal-rdf-entry-template)
666 (muse-journal-rss-entry-template): Mention that this can be text
668 (muse-journal-rdf-entry-template, muse-journal-rss-header)
669 (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
670 newlines to make the output look nicer.
671 (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
672 Use muse-insert-file-or-string for the entry templates, rather
673 than muse-insert-markup. This allows <lisp> and <markup> tags to
674 be acted on. Thanks to Scott Hyde for the report.
675 (muse-journal-html-munge-buffer): Escape quote of the day using
676 entire-document specials before snarfing it. Mark entire template
677 as read-only -- this fixes an incorrect escaping bug. Remove
678 read-only properties before replacing template matches so that
679 they can still be escaped with entire-document specials later on.
680 (muse-journal-rss-munge-buffer): Make sure that title is escaped
682 (muse-journal-markup-tags): Rename from
683 muse-journal-latex-markup-tags, because we will use it for
684 journal-rss-entry as well.
685 (muse-journal-qotd-tag): Move higher. Use begin-quote-item and
687 (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
689 ("journal-latex", "journal-pdf", "journal-book-latex")
690 ("journal-book-pdf"): Use muse-journal-markup-tags rather than
691 muse-journal-latex-markup-tags.
692 ("journal-rss-entry"): New style that is used by journal-rss and
693 journal-rdf to mark up individual entries. It is needed so that
694 we can do something meaningful with the qotd tag.
695 (muse-journal-rdf-summarize-entries): Set this to nil by default,
696 because it is annoying. Update docs to mention this.
697 (muse-journal-rss-summarize-entries): Docfix.
699 * lisp/muse-publish.el (muse-insert-file-or-string): Use
700 muse-publish-markup-header-footer-tags. I'm not quite sure how
701 this change got reverted.
702 (muse-markup-tag-info): Make into a function. Move common code
703 here, rather than duplicating it in two places. Deal with case
704 where muse-publish-use-header-footer-tags is non-nil.
705 (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
706 (muse-inhibit-style-tags): Move higher to avoid byte-compiler
708 (muse-publish-use-header-footer-tags): New variable that indicates
709 whether we should use just the header and footer tags, rather than
711 (muse-insert-file-or-string): Bind
712 muse-publish-use-header-footer-tags to t.
713 (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
714 Simplify call to muse-markup-tag-info.
715 (muse-publish-mark-up-tag): Bind
716 muse-publish-use-header-footer-tags to nil.
718 * texi/muse.texi (Journal): Update for recent changes.
720 2007-07-14 Michael Olson <mwolson@gnu.org>
722 * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
723 delete the remainder of the buffer, since this causes the
724 resulting RDF to have invalid syntax. Thanks to Phillip Lord for
725 the report and the suggested fix.
727 * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
728 beginning of table-el regexp. This fixes a bug where Muse stalls
729 when trying to publish a malformed table. Thanks to Ye Wenbin for
730 the report and the suggested fix.
732 2007-07-12 Michael Olson <mwolson@gnu.org>
734 * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
735 default, rather than the empty string. This really fixes the bug
736 that occurred when using Muse with muse-project-alist set to nil.
737 Thanks to Jonathan Underwood for the report.
738 (muse-wiki-update-interwiki-regexp): Set
739 muse-wiki-interwiki-regexp to nil if muse-project-alist is not
741 (muse-wiki-handle-implicit-interwiki)
742 (muse-wiki-handle-explicit-interwiki): Handle case where
743 muse-wiki-interwiki-regexp is nil.
745 2007-07-10 Michael Olson <mwolson@gnu.org>
747 * lisp/muse-mode.el (muse-grep): Abort search if the current
748 project contains no directories.
750 * lisp/muse-project.el (muse-project-file-alist): If
751 muse-project-alist is not defined, or project is nil, return nil
752 right away. This ought to fix a bug that occurred when using Muse
753 with muse-project-alist set to nil.
754 (muse-project-of-file): Make sure muse-project-alist is not nil.
755 (muse-project-save-buffers): Make sure project is not nil.
757 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
758 case where muse-project-alist is nil.
760 * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
761 for XEmacs, since color-theme.el is poorly behaved, and defines
762 its own replace-in-string. Bad color-theme.el -- no cookie for
765 2007-07-01 Michael Olson <mwolson@gnu.org>
767 * Makefile (.PHONY): Update for new debian package rules.
769 * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
771 * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
772 Use save-restriction properly.
773 (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
775 * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
776 (muse-latex-fixup-citations): Re-indent. Use save-restriction
778 (muse-latex-bibliography): Re-indent.
780 * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
781 higher. This fixes an error at startup with some versions of
783 (muse-publish-cite-tag): Re-indent.
785 * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
786 to the end of the link part, so as to exclude the description from
787 the match. This fixes a bug with three-part links that have
788 descriptions. Thanks to everyone who pointed it out.
790 2007-06-18 Michael Olson <mwolson@gnu.org>
792 * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
793 (muse-xhtml1.1-markup-strings): New option that specifies XHTML
794 1.1 specific markup strings.
795 (muse-html-insert-anchor): Use 'anchor string, rather than
796 hard-coding it. Thanks to Chris Corsair for the suggestion.
797 ("xhtml1.0"): New style that is an alias for the xhtml style.
798 ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
800 2007-06-17 Michael Olson <mwolson@gnu.org>
802 * examples/QuickStart.muse: Make images local so that the Info
803 version of this document works. Add <example> for the Literal
804 paragraphs chapter, so that it is clear what is happening.
806 * Makefile: Add elpa target, which is used for building an ELPA
809 * Makefile.defs (ELPADIR, ELPADESC): New variables used for
810 building ELPA packages.
812 * examples/Makefile (%.html, %.pdf, %.info): Add message to
813 indicate what we are publishing.
814 (realclean distclean fullclean): Remove all TeX crud.
816 * examples/emacs-muse.png, examples/muse-made-with.png: Include so
817 that the Info version of QuickStart can publish correctly.
819 * lisp/muse-latex.el (muse-latex-slides-header)
820 (muse-latex-lecture-notes-header): Docfix.
822 * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
823 the list of things to ignore.
825 * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
828 * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
829 default to nil, since texinfmt.el is a serious nuisance.
830 (muse-texinfo-markup-strings): Add newlines to begin-example and
832 (muse-texinfo-decide-specials): Also escape URL-type specials in a
833 whole slew of other contexts.
835 * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
838 * lisp/muse-xml.el (muse-xml-footer): Docfix.
840 * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
842 2007-06-16 Michael Olson <mwolson@gnu.org>
844 * etc/IDEAS.muse: Add some ideas from David D. Smith.
846 * examples/QuickStart.muse: Overhaul.
848 * lisp/muse-project.el (muse-project): Call the last part of a
849 muse-project-alist entry "Output styles" rather than "styles".
851 * lisp/muse-publish.el (muse-publish-table-fields): Handle case
852 where we have a pipe character at the beginning of line.
854 * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
855 causing tables to not be sorted at all.
857 * texi/muse.texi: Overhaul. It would be too time-consuming to
858 list all of the changes here. The "Getting Started" and
859 "Projects" chapters, in particular, were heavily revised.
861 2007-06-15 Michael Olson <mwolson@gnu.org>
865 * examples/QuickStart.muse: Mention new features.
867 * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
868 Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
869 terminal, and C-c TAB is more important. Most people will not
870 want to toggle images on and off that often.
872 * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
873 C-i as well, so that it works in the terminal.
875 * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
876 look a bit tidier when removing the region.
878 * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
879 list regexp part before other parts.
880 (muse-ol-item-regexp): New regexp that specifies how to match an
882 (muse-ul-item-regexp): New regexp that specifies how to match an
884 (muse-table-field-regexp): New regexp that specifies how to match
885 a definition list entry.
887 * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
888 lack of support for @headitem in texinfmt.el.
890 * lisp/muse.el: Wrap muse-line-beginning-position and
891 muse-line-end-position in `eval-and-compile', since they are now
893 (muse-list-item-type): Use a simpler algorithm for detecting which
894 kind of list item we have. This fixes a bug where a number in a
895 definition list term was being detected incorrectly as an ordered
896 list item. Fixes bug #6250.
897 (muse-forward-list-item): Get the entire line with the list item.
898 For some reason, Emacs 21 was not populating match 2 correctly,
899 unlike Emacs 22, so this workaround was needed.
901 * texi/muse.texi: (Keystroke Summary): Remove C-c
902 C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
903 alternative keybinding to the C-c TAB stuff. Mention
904 muse-colors-toggle-inline-images.
906 2007-06-14 Michael Olson <mwolson@gnu.org>
908 * README: Mention that RelaxNG schema is in etc/ directory.
910 * etc/emacs-wiki-migration.txt: New document that explains how to
911 migrate from emacs-wiki to Muse.
913 * etc/muse.rnc: Increment version number to 1.0. Fix several
914 nested emphasis and nested lists edge cases. Move here from
917 * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
918 same thing as C-c C-S-t, since the former works better in the
919 console. Thanks to Leo for the suggestion.
921 * lisp/muse-publish.el (muse-publish-markup-table)
922 (muse-publish-markup-table-el): Include a newline in the return
923 string, so that paragraph detection does not get confused.
925 * lisp/muse.el (muse-with-temp-buffer): Docfix.
927 * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
930 2007-06-13 Michael Olson <mwolson@gnu.org>
932 * etc/IDEAS.muse: Mark three-part-links item as done.
934 * experimental/muse-message.el: Remove guard for muse-define-style
937 * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
938 markup rules were being interpreted in reverse order. This should
939 make implicit interwiki links work properly again.
940 (muse-link-face): Strip anchor from end of a path, so that this
941 works with anchors in interwiki links.
942 (muse-colors-insert-image): Catch error that occurs in Emacs 21
943 when an image does not exist.
945 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
947 (muse-wiki-handle-implicit-interwiki): Docfix. Make anchors in
948 interwiki links work. Thanks to Jim Ottaway for the initial
950 (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
953 * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
955 (muse-handle-explicit-link): Docfix: this does not modify the
957 (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
958 that has the regexp in its car.
960 2007-06-12 Michael Olson <mwolson@gnu.org>
962 * README: Document new etc/ directory.
964 * etc/IDEAS.muse: Install things from new contributors just after
965 the 3.03 release, since I won't have time to review the code
966 before the release. Move to new etc/ directory. Slides
967 publishing has been installed.
969 * lisp/muse-latex.el (muse-latex-slides-header): New option that
970 determines the header to use for publishing slides.
971 (muse-latex-lecture-notes-header): New option that determines the
972 header to use for publishing lecture notes.
973 (muse-latex-slides-markup-tags): New option containing tags to use
974 when publishing slides.
975 (muse-latex-permit-contents-tag): Move higher in file.
976 (muse-latex-slide-tag): New function to publish the <slide> tag.
977 ("slides", "slides-pdf"): New publishing styles that create slides
979 ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
980 create lecture notes using Beamer.
982 * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
983 since otherwise Planner is not happy when `plan' is called during
984 init. Remove stray quote from autoload snippet.
986 2007-06-11 Michael Olson <mwolson@gnu.org>
988 * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
989 autoload, rather than having it exist at top-level. Thanks to Leo
991 (muse-update-file-extension): Docfix.
993 2007-06-10 Michael Olson <mwolson@gnu.org>
995 * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
996 URLs were being removed during publishing. Thanks to everyone who
999 2007-06-09 Markus Hoenicka <markus.hoenicka@mhoenicka.de>
1002 * lisp/muse-docbook.el
1003 * lisp/muse-latex.el
1004 * lisp/muse-publish.el: added support for <cite> element which
1005 denotes in-text citations
1008 * lisp/muse-groff.el
1009 * lisp/muse-texinfo.el
1010 * lisp/muse-xml.el: added support for <cite> element (stub)
1012 2007-06-06 Michael Olson <mwolson@gnu.org>
1014 * lisp/muse-regexps.el (muse-table-line-regexp)
1015 (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
1016 regexps so that they work with XEmacs 21. Thanks to Adrian
1017 Tritschler for the report.
1019 * texi/muse.texi: Update copyright years.
1020 (HTML): Document muse-xhtml-style-sheet. Thanks
1021 to thorne for noticing.
1022 (Development): Change archive year to 2006. Thanks to Adrian
1023 Tritschler for noticing. So *that's* why some people had the 2005
1026 2007-06-05 Michael Olson <mwolson@gnu.org>
1028 * Makefile (install-info): Remove $(MANUAL).info part, since this
1029 is taken care of already by texi/Makefile. Thanks to Leo for the
1032 * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
1033 read-only properties to qotd contents, so that they don't get
1034 double-escaped. Thanks to Leo for the report.
1036 2007-06-04 Michael Olson <mwolson@gnu.org>
1038 * lisp/muse-colors.el (muse-link-face): If the link is to a remote
1039 -- that is, Tramp or ange-ftp -- file, then do not call
1040 file-exists-p on it. Thanks to Jim Ottaway for the suggestion.
1043 * lisp/muse-html.el (muse-html-insert-contents): Add
1044 documentation. Handle case where heading is read-only, but has
1045 muse-contents property. Remove the muse-contents property for any
1046 heading we come across so as to avoid double-including an item in
1047 an outer table of contents.
1048 (muse-html-denote-headings): New function that denotes whether a
1049 heading is not read-only by adding the muse-contents property to
1051 (muse-html-munge-buffer): If we are not to generate contents,
1052 still denote headings, in case some outer layer wants to generate
1053 contents for our headings. This should fix a bug with table of
1054 contents and the <include> tag. Thanks to thorne for the report.
1056 * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
1057 muse-publish-generate-contents and set it to nil. This should
1058 do the right thing when using <include> tags.
1060 2007-06-02 Michael Olson <mwolson@gnu.org>
1062 * NEWS: Update for non-inlined image change and support for
1063 table.el style tables.
1065 * examples/Makefile (clean): Clean backup files.
1067 * examples/QuickStart.muse (Images): New section that describes
1068 how to inline and not inline images.
1070 * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
1071 touch images that have "URL:" in front of them.
1073 * lisp/muse-protocols.el (muse-url-protocols): Add handler for
1074 "URL:". Use the identity function to resolve, since we don't want
1075 to rip "URL:" out while publishing, due to some magic that depends
1077 (muse-browse-url-url): New function that browses URLs that have
1078 "URL:" in front of them, by removing the "URL:" part and
1079 reprocessing the remainder.
1081 * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
1082 (muse-publish-url): Recognize images in the description before
1083 images in the link. Fixes bug #5112. Thanks to Thomas Kappler
1084 for the suggested workaround.
1085 (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
1087 (muse-publish-classify-url): If target begins with "URL:" return
1089 (muse-publish-strip-URL): New function that strips "URL:" from the
1090 beginning of a string. This is used to remove URL: from the link
1091 description. * texi/muse.texi (Markup Strings): Clarify the
1092 meanings of image-link, link, and link-and-anchor.
1093 (muse-publish-markup-regexps): Move normal table rule to 2350.
1094 Rule 2300 is now a regexp that matches table.el-style tables.
1095 (muse-publish-markup-functions): Add table-el entry.
1096 (muse-publish-table-el-table): New function that given a variant,
1097 publishes a table.el-style table using the table in the matched
1099 (muse-publish-markup-table-el): New function that determines
1100 whether the table.el-style table can be published, and what
1103 * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
1104 the borders of table.el-style tables.
1106 * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
1107 the table has sufficient whitespace in front of it.
1109 * texi/muse.texi (Images): Update for new non-inlined image
1110 ability and provide example.
1112 2007-05-31 Michael Olson <mwolson@gnu.org>
1114 * NEWS: Add example for setting `muse-html-table-attributes'.
1116 * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
1117 Publish multiple tbody tags if there is a horizontal separator
1118 after the heading, because that is valid HTML after all.
1120 2007-05-30 Michael Olson <mwolson@gnu.org>
1124 * lisp/muse-latex.el (muse-latex-markup-table): Deal with
1125 horizontal separators in tables.
1127 * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
1128 horizontal separators in tables.
1129 (muse-publish-trim-table): New function to remove initial and
1130 final blank columns from a table.
1131 (muse-publish-table-fields): Call `muse-publish-trim-table'. Deal
1132 with horizontal separators, aka "hlines".
1134 * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
1135 defines the syntax of a horizontal separator in a table.
1137 * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
1138 horizontal separators. Publish header lines correctly.
1140 * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
1141 where we have nonnumbers as a row type. This ignores sorting for
1143 (muse-xml-markup-table): Deal with horizontal separators. If the
1144 markup supports table groups, make hlines separate table groups.
1145 Otherwise, ignore them, since they cannot be marked up. Together,
1146 these changes allow us to support orgtbl-mode tables. Thanks to
1147 Carsten Dominik for the suggestion.
1149 2007-05-26 Michael Olson <mwolson@gnu.org>
1151 * lisp/muse-project.el (muse-project-alist-styles): Allow for
1152 other things to be added to each generated style as well. For
1153 example, this permits me to add
1154 :base-url "http://blog.mwolson.org/"
1157 2007-05-25 Michael Olson <mwolson@gnu.org>
1159 * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
1160 way of building Debian packages that preserves the original
1161 release tarball and is more modular.
1162 (debrevision, debrelease): Remove.
1163 (dist): No need to remove the debian/ directory, since it is now
1165 (debprepare): Copy over debian/ directory properly.
1169 * examples/Makefile (clean): Remove QuickStart.texi, in case
1170 something went wrong during the build.
1171 (%.pdf): Publish the example using the normal pdf style, rather
1174 * examples/QuickStart.muse: Add myself to the authors list.
1176 * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
1177 sufficient blank lines before the tag.
1179 * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
1180 we have sufficient blank lines before the tag.
1182 * lisp/muse-latex.el (muse-latex-pdf-program): New option that
1183 specifies the program to call in order to generate PDF content
1185 (muse-latex-pdf-cruft): New option that specifies the extensions
1186 of files to remove after generating PDF output successfully.
1187 (muse-latex-pdf-generate): Use these new options. Work around the
1188 annoying edge case where a tilde character exists in the filename
1189 or directory path -- now this can only error out when the relative
1190 path from the output file to the source file contains a tilde,
1191 which is far less likely.
1193 * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
1194 muse-publish-ensure-block here after all, because <lisp> et al may
1195 occur inline as part of other things.
1197 * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
1198 occur after full-document escaping, rather than before. This
1199 prevents automatically-inserted Texinfo code from being escaped.
1200 (muse-texinfo-pdf-generate): Rewrite to call
1201 `muse-latex-pdf-generate' with pdftex as the generating binary,
1202 because texi2pdf suffers irredeemably from the tilde edge case
1205 2007-05-24 Michael Olson <mwolson@gnu.org>
1207 * NEWS: Drop vague entries and position interesting entries closer
1208 to the top of each section. Update for new changes.
1210 * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
1211 and bzr metadata directories to the list of things to ignore.
1213 * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
1214 `muse-publish-ensure-block-tag', since we will use it for more
1216 (muse-publish-markup-list, muse-publish-verse-tag)
1217 (muse-publish-quote-tag, muse-publish-example-tag)
1218 (muse-publish-markup-attribute): Use it. This fixes a bug that
1219 can occur when these types of markup occur immediately after a
1220 paragraph. It's good to have defined behavior!
1222 * texi/muse.texi (Markup Strings): Mention new argument for
1225 2007-05-19 Michael Olson <mwolson@gnu.org>
1227 * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
1228 published footnotes and footnote references. Thanks to Scott
1229 Jaderholm for the idea.
1231 * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
1232 link-and-anchor, on the recommendation of the original submitter.
1234 2007-05-14 Michael Olson <mwolson@gnu.org>
1236 * lisp/muse-latex.el (muse-latex-markup-strings): Use better
1237 link-and-anchor markup. Thanks to Jean Magnan de Bornier for the
1240 * lisp/muse-publish.el (muse-publish-url): Pass the url without a
1241 file extension as the fourth argument.
1243 * README, texi/muse.texi (Getting Help and Reporting Bugs):
1244 Mention the new muse-el-logs mailing list.
1246 2007-05-13 Michael Olson <mwolson@gnu.org>
1248 * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
1249 "\`" here. This fixes a problem with publishing custom URLs.
1251 2007-05-12 Michael Olson <mwolson@gnu.org>
1253 * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
1254 update the list if the current buffer is associated with a file.
1255 This fixes a bug with M-x muse-publish-region in a temporary
1258 2007-05-01 Michael Olson <mwolson@gnu.org>
1260 * lisp/muse-publish.el (muse-publish-region): Remove read-only
1261 properties from the published buffer, so that the results can be
1264 2007-04-23 Michael Olson <mwolson@gnu.org>
1266 * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
1267 find the footnote that goes with a reference, leave the reference
1268 as-is. This fixes an error where control characters could be
1269 placed in a published document.
1271 2007-04-22 Michael Olson <mwolson@gnu.org>
1273 * IDEAS.muse: Add muse-slides.el to list of things to include
1276 * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
1278 (muse-protocol-find): Find protocols correctly. Rewrite to use
1280 (muse-browse-url): Don't concatenate "\`" here. Together, this
1281 fixes a bug with browsing woman:// links.
1283 * lisp/muse-project.el (muse-project-alist-styles): Deal with case
1284 where entry-dir has a trailing backslash.
1285 (muse-project-publish-file): If a style is malformed, skip it and
1286 display a warning message. This should help people figure out
1287 where the problem is.
1289 2007-04-21 Michael Olson <mwolson@gnu.org>
1291 * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
1292 yet-to-be-included "contex" publishing style, use "$$" rather
1293 than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
1296 2007-04-20 Michael Olson <mwolson@gnu.org>
1298 * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
1299 variable that causes the :before and :before-end hooks to be
1300 ignored when non-nil.
1301 (muse-publish-markup-region): Use it. Also, guarantee that point
1302 is at end of region after publishing.
1303 (muse-publish-mark-up-tag): Simplify, taking advantage of the new
1306 2007-04-19 Michael Olson <mwolson@gnu.org>
1308 * IDEAS.muse: New file containing a list of ideas we have for new
1309 features, or patches that have yet to be applied.
1311 * README: Call it "Emacs Muse", not "the Emacs Muse". No need to
1314 * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
1317 * lisp/muse-publish.el (muse-publish-markup-tags): Handle
1318 <literal> tags with muse-publish-literal-tag, rather than
1319 muse-publish-mark-read-only.
1320 (muse-publish-literal-tag): New function that publishes the
1321 <literal> tag. It adds the ability to add the optional "style"
1322 and "exact" elements, which cause text to only be included if the
1323 current publishing style matches some criteria. The text will be
1324 removed otherwise. Thanks to Jim Ottaway for the implementation.
1325 (muse-publish-mark-up-tag): Let the <markup> tag take the
1326 additional optional elements "style" and "exact", with much the
1327 same effect as the <literal> improvements, but after calling
1328 "function" or publishing the region first. Make it possible to
1329 put <content> tags in <markup> regions in HTML publishing.
1331 2007-04-12 Michael Olson <mwolson@gnu.org>
1333 * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
1334 that a blank line always exists after a heading. This fixes a bug
1335 in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
1338 * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
1339 detection regexp to that which is used in Docbook and HTML
1342 2007-04-02 Michael Olson <mwolson@gnu.org>
1344 * README (muse-el-announce): Make a listing of mailing lists,
1345 rather than pointing to the old EmacsWikiMailingList page. Thanks
1346 to Andreas Roehler for noticing.
1348 2007-04-01 Michael Olson <mwolson@gnu.org>
1350 * lisp/muse-publish.el (muse-publish-date-format): Add
1351 ` customization type and group.
1352 (muse-publish-region): New interactive function that publishes a
1353 region to a new buffer.
1355 * texi/muse.texi: Use "document" rather than "manual".
1357 2007-03-31 Michael Olson <mwolson@gnu.org>
1359 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
1360 expression (muse-style-derived-p "latex" (muse-style "latex"))
1361 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
1364 2007-02-25 Michael Olson <mwolson@gnu.org>
1366 * lisp/muse-publish.el (muse-publish-date-format): New option that
1367 specifies how to format the date when publishing Muse pages.
1368 Thanks to Thomas Gehrlein for the suggestion.
1369 (muse-publish-markup-buffer): Use it.
1371 2007-02-23 Michael Olson <mwolson@gnu.org>
1373 * README: Add Prerequisites section to mention which versions of
1374 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
1375 the suggestion. Update link destination for Muse's page on
1378 2007-02-15 Michael Olson <mwolson@gnu.org>
1380 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
1381 be not just at beginning of line. This fixes an error with the
1382 <class> tag. Thanks to Jim Pivarski for the report.
1384 2007-02-14 Michael Olson <mwolson@gnu.org>
1386 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
1387 whether something is an image before checking to see if it is a
1388 URL. Thanks to ITSUMI ken-ichi for the report.
1390 2007-02-13 Michael Olson <mwolson@gnu.org>
1392 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
1393 comments that have no text better. Thanks to fang.lungang for the
1395 (muse-publish-markup-comment): Deal with case where no comment
1398 2007-01-23 Michael Olson <mwolson@gnu.org>
1400 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
1401 that ensures that at least one blank line exists at the given
1402 position. This is used to avoid paragraph detection problems when
1403 block-level tags like <example> immediately follow a paragraph.
1404 Thanks to Hans Ekbrand for the report.
1405 (muse-publish-example-tag): Use it.
1407 2007-01-19 Michael Olson <mwolson@gnu.org>
1409 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
1410 previous blank line if we are publishing in Latex. Otherwise,
1411 that wouldn't be the right thing, so leave it be.
1413 2007-01-17 Michael Olson <mwolson@gnu.org>
1415 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
1416 multiple centered math lines on the same line; keep them on
1417 different lines. Use \[ math-text \] instead of $$math-text$$,
1418 since the latter seems to be deprecated. Thanks to Jody Klymak
1421 2007-01-15 Michael Olson <mwolson@gnu.org>
1423 * lisp/muse-latex2png.el (muse-publish-latex-tag)
1424 (muse-publish-math-tag): Publish region read-only when current
1425 style is Latex-derived, so that Muse does not escape it.
1426 (muse-publish-math-tag): If 6 or more spaces come before the tag,
1427 surround the region with "$$" rather than "$". This is the Muse
1428 syntax for something centered, so it should be a good fit.
1430 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
1432 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
1434 (muse-browse-url-man): Change man page URL format. The code is
1435 simpler when the section is left inside parentheses.
1436 (muse-browse-url-woman): New function.
1438 2007-01-14 Michael Olson <mwolson@gnu.org>
1440 * AUTHORS: Bookkeeping.
1442 * lisp/muse-latex2png.el: Associate <math> tag with
1443 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
1444 Klymak for the report.
1445 (muse-publish-math-tag): Use muse-insert-markup for the "$"
1446 characters, so they don't get escaped.
1448 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
1449 make muse-style-derived-p easier to implement.
1450 (muse-style-derived-p): If the style is not provided, fetch it and
1451 check to see if the car is a string. This should fix the other
1452 problem that was reported.
1454 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
1455 explains a case where setting muse-file-extension to nil can cause
1456 unexpected behavior.
1458 2007-01-09 Michael Olson <mwolson@gnu.org>
1460 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1461 comments higher priority than tags. Thanks to Stefan van der Walt
1464 2007-01-08 Michael Olson <mwolson@gnu.org>
1466 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1467 argument rather than calling match-string. Thanks to Stefan van
1468 der Walt for the report. This should fix a bug with publishing
1469 <include file="..." markup="example">.
1471 2007-01-06 Michael Olson <mwolson@gnu.org>
1473 * Makefile (debclean): New rule split from debrevision and
1475 (debbuild): Take distributor into account.
1477 * Makefile.defs (DISTRIBUTOR): New field that tracks what
1478 vendor/distributor we are building for.
1480 2007-01-04 Michael Olson <mwolson@gnu.org>
1482 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1485 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1486 point to muse-publish-src-tag by default, since <src> and
1487 <example> have different parameters.
1488 (muse-publish-src-tag): New barebones publishing function for
1489 <src>, which is superseded when publishing in an HTML-based style.
1491 2007-01-03 Michael Olson <mwolson@gnu.org>
1493 * lisp/muse-html.el (muse-html-src-tag): Document.
1495 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1496 command that calls a given tag on the current buffer. Attributes
1498 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1500 (muse-publish-srcify-buffer): New function that allows
1501 markup="src" in the <include> tag.
1502 (muse-publish-get-and-delete-attr): New macro that gets an
1503 attribute from a list and removes the first instance of that
1504 attribute from said list.
1505 (muse-publish-markup-attribute): Handle markup="src".
1506 (muse-publish-command-tag, muse-publish-include-tag): Use
1507 muse-publish-get-and-delete-attr. This allows the remaining
1508 attributes to be passed.
1510 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1511 as changes to <command> and <include>.
1513 2006-12-30 Michael Olson <mwolson@gnu.org>
1517 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1518 from muse-publish-math-tag to avoid conflict with
1521 2006-12-23 Michael Olson <mwolson@gnu.org>
1523 * lisp/muse-latex2png.el: Update header, since this has been
1524 rewritten sufficiently to not need an assignment from the original
1526 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1527 (muse-latex2png): Use two underscores to separate prefix and hash.
1528 (muse-latex2png-region): New function split from
1529 muse-publish-latex-tag that can be used easily by other code.
1530 Detect whether we are using an HTML-based publishing style, and
1531 insert a simpler markup if we are not. If we are using a
1532 Latex-based publishing style, do not generate an image, and leave
1533 the region alone. Return the path of the generated image, in case
1534 other functions want to use this programmatically.
1535 (muse-publish-latex-tag): Set a default prefix based on the name
1536 of the current file.
1537 (muse-publish-math-tag): New tag that surrounds the region with
1538 "$" characters, so that it becomes a Latex math region, and then
1541 * lisp/muse-publish.el (muse-style-derived-p): New function that
1542 returns non-nil if a given style, or the current style if omitted,
1543 is equal to or derived from the given base style. This is useful
1544 in <lisp> tags, because it allows the user to specify markup that
1545 is only to be inserted for one particular style.
1547 2006-12-22 Michael Olson <mwolson@gnu.org>
1549 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1550 (muse-html-src-tag): New function which publishes the <src> tag.
1551 Thanks to Clinton Ebadi and Charles Wang for the initial
1554 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1556 2006-12-21 Michael Olson <mwolson@gnu.org>
1558 * examples/johnw/muse-johnw.el: Update for preferred
1559 muse-derive-style usage. Rename to muse-init.el.
1561 * examples/mwolson/muse-init.el: Update.
1563 * lisp/muse-book.el (muse-book-publish): New function split from
1564 muse-book-publish-project. This is used in the definitions for
1565 the book-latex and book-pdf styles.
1566 (muse-book-publish-p): New function split from muse-book-publish.
1567 (muse-book-get-directives): New function that retrieves the
1568 publishing directives from the given file.
1569 (muse-book-publish): Use muse-book-get-directives to set the title
1570 if no title was specified.
1572 * lisp/muse-project.el (muse-project): Add :publish-project entry
1574 (muse-read-project, muse-project-find-file): Message fix.
1575 (muse-project-publish-file-default): New function split from
1576 muse-project-publish-file.
1577 (muse-project-publish-file): Allow file-level publishing function
1578 to be specified by the :publish element. The default is
1579 muse-project-publish-file-default.
1580 (muse-project-publish-default): New function split from
1581 muse-project-publish.
1582 (muse-project-publish): Allow project-level publishing function to
1583 be specified by :publish-project element. The default is
1584 muse-project-publish-default.
1586 * lisp/muse-publish.el (muse-publish-file): Message fix.
1588 * texi/muse.texi (Book): Mention new way to publish books and
1589 provide an example, since the process may be non-obvious.
1591 2006-12-20 Michael Olson <mwolson@gnu.org>
1593 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1594 content-modifying code from the rest of
1595 muse-docbook-finalize-buffer.
1597 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1598 muse-groff-finalize-buffer, since it adds content to the buffer.
1600 * lisp/muse-html.el (muse-html-munge-buffer): Split out
1601 content-modifying code from the rest of muse-html-finalize-buffer.
1602 This fixes a bug when using <include> with <content> tags.
1604 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1605 (muse-journal-latex-munge-buffer)
1606 (muse-journal-rss-munge-buffer): Rename, since they add content to
1609 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1610 muse-latex-finalize-buffer, since it adds content to the buffer.
1612 * lisp/muse-mode.el:
1613 * lisp/muse-project.el:
1614 * lisp/muse-publish.el:
1615 * lisp/muse.el: Fix recursive load error.
1617 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1618 muse-texinfo-finalize-buffer, since it adds content to the buffer.
1620 * lisp/muse-wiki.el: Comment cleanup.
1622 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1624 2006-12-17 Michael Olson <mwolson@gnu.org>
1626 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1627 Remove the definition of \comment, since Latex already has comment
1629 (muse-latex-markup-strings): Use the Latex comment syntax, rather
1630 than our own. Thanks to Ryan Stutsman for pointing this out.
1632 2006-12-02 Michael Olson <mwolson@gnu.org>
1634 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1635 that this can generate a proper table of contents for Planner HTML
1638 2006-12-01 Michael Olson <mwolson@gnu.org>
1640 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1641 using a very old Emacs, avoid an infinite loop that could occur
1642 when the regexp is an empty string.
1644 2006-11-26 Michael Olson <mwolson@gnu.org>
1646 * NEWS: Bring up to date.
1648 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1649 list issues and multiple-stanza verse issues. This takes care of
1650 all of the markup issues I was worried about.
1652 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1653 (muse-project-publish-private-files): New option that indicates
1654 whether files with private filesystem permissions should be
1655 published. The default is to publish them, since it avoids
1656 confusion in new users.
1657 (muse-project-private-p): Use it.
1659 2006-11-19 Michael Olson <mwolson@gnu.org>
1661 * lisp/muse-project.el (muse-project-resolve-link): If no remote
1662 style is found, which means that the link is not a Muse page, do
1663 not add a suffix or prefix to it. This should fix the
1664 "[[thing.owl]]" bug that Phillip Lord reported.
1666 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1667 removing unused 2nd argument.
1669 2006-11-17 Michael Olson <mwolson@gnu.org>
1671 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1672 latex publishing where nested enumerated lists would be squashed
1673 together at the end.
1675 2006-11-16 Michael Olson <mwolson@gnu.org>
1677 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1678 list embedded in a definition list look right. This also allows
1679 for definitions to be separated from their terms, much like the
1680 way HTML does it by default, if the user puts a blank line or a
1681 line break between the term and the definition. If the term and
1682 definition are on the same line, they will be that way in the
1685 2006-11-11 Michael Olson <mwolson@gnu.org>
1687 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
1689 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1691 2006-11-07 Michael Olson <mwolson@gnu.org>
1693 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1694 release candidate for Muse 3.03, available.
1698 2006-11-06 Michael Olson <mwolson@gnu.org>
1700 * lisp/muse-project.el (muse-project-find-file): Fix bug when
1701 following a relative link worked even when the path was incorrect.
1703 2006-11-04 John Sullivan <john@wjsullivan.net>
1705 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1706 muse-follow-name-at-point to reduce collisions with other
1709 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1711 2006-11-04 Michael Olson <mwolson@gnu.org>
1713 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1714 optional, and make interwiki delimiter a regular rather than shy
1716 (muse-wiki-handle-implicit-interwiki): Rename from
1717 muse-wiki-handle-interwiki. Use match group 3 to get the page.
1718 (muse-wiki-handle-explicit-interwiki): New function that is
1719 smarter about where an explicit link ends in a buffer. This
1720 allows you to refer to page names with invalid Wiki characters,
1721 such as underscores and dashes, merely by enclosing them in double
1722 brackets. Also, a bug with recognizing project names too loosely
1725 2006-11-03 Michael Olson <mwolson@gnu.org>
1727 * lisp/muse-project.el (muse-project-page-file): Make relative
1728 links work as expected, hopefully.
1730 * lisp/muse-publish.el (muse-publish-this-file): Set the current
1731 output style manually, since it will differ from anything in the
1732 publishing style list.
1734 2006-10-30 Michael Olson <mwolson@gnu.org>
1736 * lisp/muse-colors.el (muse-colors-markup): Remove note about
1737 grouping elements, since that no longer applies.
1738 (muse-colors-custom-tags): Explicitly match against
1739 muse-tag-regexp to get the match-data set the way we want. This
1740 really fixes the <example> highlighting bug that Stefan reported.
1741 (muse-configure-highlighting): Set the original value to the
1742 symbol, not the modified value. Re-use modified rules properly.
1744 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1745 introduced yesterday.
1747 2006-10-29 Michael Olson <mwolson@gnu.org>
1749 * examples/mwolson: Update my example configuration.
1753 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1754 without a regexp in the first position before iterating through
1755 them to build muse-colors-vector. This fixes a bug with the
1756 display of <example> tags. Thanks to Stefan Reichör for the
1759 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1760 files in projects to be linked to.
1762 * lisp/muse-publish.el (muse-publish-url): Allow the original link
1763 to serve as a description for a URL, as long as it differs from
1764 the destination URL. This fixes the description of WikPage links
1766 (muse-publish-link-file): Check to see whether the given link
1767 points at a valid file. If so, return it. Otherwise, apply other
1768 transforms like prefix and link suffix.
1770 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1771 "/", it is a file or directory, not a Muse page. Thanks to
1772 Phillip Lord for the suggestion.
1774 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1775 of the current page as the local path, instead of duplicating the
1776 remote file's path. This probably fixes at least one reported
1777 bug. since it's quite major.
1778 (muse-wiki-update-project-file-regexp)
1779 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1780 passed to regexp-opt, since that can cause Emacs 21 to throw an
1781 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
1782 DOT edu for the report.
1783 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1785 2006-10-28 Michael Olson <mwolson@gnu.org>
1787 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1788 (muse-project-resolve-link): If the given style does not have a
1789 link-suffix, default to suffix. This fixes a bug I was noticing
1790 when linking to a file that was published in both PDF and HTML
1793 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1794 function that is used as a callback to determine the initial
1795 amount of indentation that the current dl item has.
1796 (muse-publish-surround-dl): Use it. Pass the initial indent value
1797 and the post-indent value, instead of trying to determine them
1799 (muse-publish-strip-list-indentation): New function stripped from
1800 `muse-publish-surround-text' for readability.
1801 (muse-publish-surround-text): Instead of taking a determine-indent
1802 value, take a determine-indent-func function, which is called just
1803 after finding the next list item. If we are asked to determine
1804 the amount of indentation, concatenate indent and post-indent the
1805 first time around. This effectively fixes all known definition
1808 2006-10-16 Michael Olson <mwolson@gnu.org>
1810 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1811 other software -- namely, Planner -- can detect whether they are
1812 using a version of Muse that supports nested tags.
1813 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1814 muse-publish-goto-tag-end.
1816 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1817 Adapt for nested tags.
1819 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1820 <class> tag is nestable. Thanks to Phillip Lord for noticing
1823 * lisp/muse-publish.el (muse-publish-markup-tag)
1824 (muse-publish-quote-tag): Use muse-goto-tag-end.
1826 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1828 2006-10-15 Michael Olson <mwolson@gnu.org>
1830 * AUTHORS: Bookkeeping.
1832 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1835 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1838 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1840 * lisp/muse-import-docbook.el (muse-import-docbook)
1841 (muse-import-docbook-files): Docfix.
1842 (muse-import-docbook-get-title): Remove cl.el-ism.
1844 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1846 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1848 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1850 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1851 (muse-next-reference, muse-previous-reference): Minor whitespace
1853 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
1856 * lisp/muse-poem.el (muse-poem-tag): Ditto.
1858 * lisp/muse-publish.el (muse-publish-markup-tags)
1859 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1860 element and make 4th element determine whether tags are nestable.
1861 (muse-publish-goto-tag-end): New function that moves to the end of
1862 a tag. Handle nested tags when NESTED is non-nil.
1863 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
1864 5th element for function.
1865 (muse-publish-quote-tag): Handle nested quote tags. I've tested
1866 this on several scenarios, and it seems to work.
1867 (muse-publish-surround-text): Accept new optional argument
1868 LIST-ITEM which determines the regexp to use for list items. The
1869 default is to use muse-list-item-regexp.
1871 * muse.texi (Markup Tags): Mention nestable tags.
1873 * NEWS: Mention new files.
1875 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
1877 * lisp/muse-import-docbook.el: New file that converts Docbook XML
1880 * lisp/muse-import-xml.el: New file that provides helper routines
1881 for converting XML-ish files to Muse format.
1883 2006-10-10 Michael Olson <mwolson@gnu.org>
1885 * NEWS: Update for 3.02.7 bugfix release.
1887 2006-10-06 Sasha Kovar <sasha@arcocene.org>
1889 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1890 using the value in the muse #date directive.
1891 (muse-blosxom-use-metadate): New option that determines whether or
1892 not to use the #postdate directive.
1893 (muse-blosxom-format-date): Convert a date string to PyBlosxom
1894 metadate plugin format.
1896 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
1898 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1901 * muse.texi: Clarify handling of implicit links by mentioning
1902 which characters can prevent Muse from recognizing something as an
1905 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
1907 * lisp/muse-mode.el (muse-next-reference)
1908 (muse-previous-reference): Fix bug #6367 by moving point to the
1909 beginning of the link.
1911 2006-09-26 Michael Olson <mwolson@gnu.org>
1913 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1914 beginning-of-line. This should fix a bug that was noticed in
1915 recent Emacs 22 builds.
1917 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1918 eval-and-compile block to avoid a compiler warning.
1920 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
1922 * lisp/muse-backlink.el (muse-backlink-split-string):
1923 Compatibility with Emacs versions < 22
1924 (muse-backlink-pending): New internal variable
1925 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1926 that backlinks are inserted at the right time.
1927 (muse-backlink-insert-hook-func): Remove unwind-protection; check
1928 for pending backlink, and that this is the targe page.
1929 (muse-backlink-handle-link): Don’t handle the link if we are
1930 already handling one. Return the link as well as the parent links.
1932 2006-09-25 Sasha Kovar <sasha@arcocene.org>
1934 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1935 #6942 - muse-blosxom-new-entry fails when using tags.
1937 2006-09-14 Michael Olson <mwolson@gnu.org>
1939 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1942 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
1944 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1945 function: Protect all wikiwords from START to END from further
1947 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1949 2006-09-13 Michael Olson <mwolson@gnu.org>
1951 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1952 adopted from Jim Ottaway's patch. It removes links from the
1953 heading, and then marks the region read-only to inhibit WikiWord
1956 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
1958 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1959 special handling for headings.
1960 (muse-texinfo-remove-links): New function that removes explicit
1961 links from the given strings, replacing them with a description.
1963 2006-09-11 Michael Olson <mwolson@gnu.org>
1965 * muse.texi (Getting Help and Reporting Bugs): Mention the
1966 muse-el-internationalization mailing list.
1968 * lisp/muse.el (muse-path-sans-extension): New function that acts
1969 like file-name-sans-extension, but guarantees to never modify the
1970 directory part of the path. Thanks to Evan Monroig for
1973 * lisp/muse-book.el (muse-book-publish-project): Use
1974 muse-path-sans-extension instead of file-name-sans-extension.
1976 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1979 2006-08-30 Michael Olson <mwolson@gnu.org>
1981 * muse.texi (Blosxom Requirements): Fix typo.
1983 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1984 directories for bzr and darcs.
1986 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1987 contrib/pyblosxom/getstamps.py: Update version and headers.
1989 2006-08-27 Michael Olson <mwolson@gnu.org>
1991 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1992 nil values before they get to mapconcat. This fixes a lockup when
1993 muse-wiki-match-all-project-files is nil.
1995 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1996 (muse-wiki-ignore-implicit-links-to-current-page)
1997 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1998 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1999 (muse-wiki-publish-small-title-words)
2000 (muse-wiki-publish-pretty-title): Docfix.
2001 (muse-wiki-update-local-wikiword-regexp): Rename from
2002 muse-wiki-update-local-wikiword-regexp. Set
2003 muse-wiki-project-file-regexp instead of
2004 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
2005 take muse-wiki-use-wikiword into account, since this is a
2006 different concept now.
2007 (muse-wiki-update-wikiword-regexp): Remove.
2008 (muse-wiki-wikiword-regexp): In-line the :set function.
2009 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
2011 2006-08-26 Michael Olson <mwolson@gnu.org>
2013 * lisp/muse-publish.el (muse-publish-surround-text): When looking
2014 for indented list items, ignore blank lines.
2016 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
2017 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
2018 mapconcat. This should hopefully fix a problem with large amounts
2019 of files with spaces in their name. Thanks to Greg Detre for the
2022 2006-08-24 Michael Olson <mwolson@gnu.org>
2024 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
2025 numbers from the argument to format-time-string. This fixes an
2026 XEmacs bug. Thanks to Michael Welle for the report and analysis.
2028 2006-08-18 Michael Olson <mwolson@gnu.org>
2030 * lisp/muse-project.el (muse-project-file-entries): Since we are
2031 given a full path, match against the filename as well. This fixes
2032 an issue where backup files were being added to the file alist.
2034 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
2037 2006-08-12 Michael Olson <mwolson@gnu.org>
2039 * Makefile (.PHONY): Don't use line continuations.
2040 (realclean fullclean): Call realclean in subdirs, not distclean.
2041 (distclean): Don't call realclean, since this would wipe out our
2043 (dist): Use correct path to autoloads file.
2045 * NEWS: Catch up with the latest changes.
2047 * experimental/Makefile (.PHONY): Wrap long line.
2049 * lisp/Makefile (distclean): Do the same thing as "clean", not
2052 * lisp/muse-project.el (muse-project-get-applicable-style):
2054 (muse-project-ignore-regexp, muse-project-recurse-directory):
2056 (muse-project-of-file): Try the ignored files regexp against the
2057 base filename as well as the entire path.
2059 * lisp/muse-publish.el (muse-publish-this-file): Display message
2060 if the buffer is not associated with any file, so that we avoid
2062 (muse-publish-url-desc): New function taken from muse-publish-url
2063 that causes a URL description to be transformed.
2064 (muse-publish-url): Call muse-publish-url-desc on either the
2065 description or the original URL if it will be used as a
2066 description. Accept the original URL as an argument, in case it
2067 was transformed earlier.
2068 (muse-publish-insert-url): Pass original URL as an argument.
2069 (muse-publish-markup-link): Make this somewhat easier to follow.
2070 Pass original URL as argument.
2071 (muse-publish-get-style): If the same style is used to publish to
2072 two different directories, prompt the user for which directory to
2074 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
2076 (muse-publish-markup-url): Pass original URL as an argument. This
2077 fixes the "nil" description for bare URLs that was in 3.02.91.
2078 Nothing like finding a bug just after completing the announcement
2081 * lisp/muse.el: Use defalias whenever convenient.
2082 (muse-version): Set version to 3.02.92 (3.03 RC2).
2084 2006-08-10 Michael Olson <mwolson@gnu.org>
2086 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
2087 style does not derive from any other class, return `t' here.
2088 This, along with the corresponding change to muse-publish.el,
2089 fixes a problem with the table of contents getting inserted
2090 multiple times for custom html-based styles.
2091 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
2092 smarter method for table centering that works with XHTML.
2094 * lisp/muse-latex2png.el Rename all functions to have a
2095 "muse-latex2png" prefix. Turn all variables into customizable
2096 options in the muse-latex2png group.
2097 (muse-latex2png-img-dest): New option specifying where to place
2099 (muse-latex2png-template): New option containing the template to
2100 use for the surrounding LaTeX code.
2101 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
2103 (muse-latex2png-move2pubdir): Avoid multiple redundant error
2104 messages when something else goes wrong. Create the image
2105 subdirectory if it doesn't exist already -- thanks to Christian
2106 Straßer for the report. Expand the filename properly.
2107 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
2108 and filename expansion.
2109 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
2110 the default directory properly.
2112 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
2113 do not run the same function twice.
2115 2006-08-08 Michael Olson <mwolson@gnu.org>
2117 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
2118 introduced wrong-type-argument error.
2120 * lisp/muse-html.el (muse-html-markup-strings)
2121 (muse-xhtml-markup-string): Cause table definition that contains
2122 image to be center-aligned. This should fix an issue with images
2123 not being centered when captions are very long.
2125 * lisp/muse-publish.el (muse-publish-table-fields): Trim
2126 whitespace from fields once we have split them up.
2128 * lisp/muse.el (muse-trim-whitespace): New function that strips
2129 leading and trailing whitespace from a string.
2131 2006-08-07 Michael Olson <mwolson@gnu.org>
2133 * NEWS: Update through patch-95.
2135 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
2137 (muse-colors-explicit-link): Show images in link descriptions if
2138 inlined images are enabled.
2140 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
2141 definitions for 'image-with-desc, 'image, and 'image-link.
2142 (muse-docbook-markup-paragraph): If an inlined image begins a
2143 paragraph, insert <para> before it.
2144 (muse-docbook-fixup-images): New function that upper-cases the
2145 "format" attribute of the <imagedata> tag.
2146 (muse-docbook-finalize-buffer): Call it.
2148 * lisp/muse-html.el (muse-html-markup-strings): Publish images
2149 with descriptions as centered tables, with a centered caption
2150 underneath. The resulting look is consistent with the way that
2151 they are published in the LaTeX style. Thanks to Jody Klymak for
2153 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
2154 valid way to center a table.
2155 (muse-html-markup-paragraph): Use class="image" instead of
2156 "image-link" for paragraphs that start with an embedded image.
2158 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
2159 \textbackslash{} for "\". Thanks to Jim Ottaway for the
2161 (muse-latex-markup-specials-image): New option that enables
2162 escaping of specials in images. This was split from the URL
2164 (muse-latex-decide-specials): Handle 'image context.
2165 (muse-latex-fixup-dquotes): Go to beginning of document, instead
2166 of relying on caller to do this for us.
2168 * lisp/muse-publish.el (muse-publish-escape-specials): Document
2170 (muse-publish-url): Use 'image context for images. Use 'image
2171 instead of 'image-link and 'image-link in place of
2172 'url-with-image. Separate the image file from its extension so
2173 that docbook and texinfo can publish images correctly.
2174 (muse-publish-markup-link): Don't force a description if one is
2175 not given. This fixes a bug where images without descriptions
2176 were being published as 'image-with-desc instead of 'image.
2178 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
2179 images the same as URLs.
2180 (muse-texinfo-markup-strings): Improve image markup to achieve an
2181 effect similar to that of the LaTeX publishing style. Simplify
2184 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
2186 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
2187 when we have to use the custom version of this function.
2189 * muse.texi (Images): Explain how to toggle inlining of images and
2190 give better examples. Mention captions and that captioned images
2191 should not be used inside of text paragraphs.
2192 (Markup Strings): Bring up-to-date with the changes made since
2195 2006-08-06 Michael Olson <mwolson@gnu.org>
2197 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
2198 in the Emacs source tree.
2200 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
2201 in the Emacs source tree.
2203 * ChangeLog.3: New file created from the old ChangeLog.
2205 * Makefile.defs (VERSION): Set to 3.02.91.
2207 * NEWS: Update through patch-84.
2209 * lisp/muse.el (muse-version): Set to 3.02.91.
2211 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
2213 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
2214 delimiter are instead of hard-coding it.
2216 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
2217 (muse-mode): Make filling definition lists work better. This
2220 * lisp/muse-publish.el (muse-style-run-hooks): Use
2221 `muse-style-element' instead of `muse-get-keyword' here. This
2224 * muse.texi: Set version to 3.02.91 (3.02 RC2).
2226 See ChangeLog.3 for earlier changes.