1 2007-08-25 Michael Olson <mwolson@gnu.org>
3 * examples/QuickStart.muse: Fix typo in first paragraph. Thanks
4 to Karl Berry for reporting this.
6 * texi/muse.texi (Poem): Fix typo in spelling of LaTeX. Thanks to
7 Karl Berry for reporting this.
9 2007-08-24 Michael Olson <mwolson@gnu.org>
11 * Release Emacs Muse 3.11.
13 * AUTHORS: Add new authors for contrib files.
15 * NEWS: Add entries for Muse 3.11.
17 * README: Mention that contents of contrib/blosxom and
18 contrib/pyblosxom have different licenses than the rest of Muse.
20 * contrib/blosxom/getstamps.pl: New file that implements fetching
21 timestamps from published Muse files and placing them in a single
22 timestamps file. That file can then be used by blosxom's metadate
23 plugin. Thanks to Michael Welle for providing this file, as well
24 as instructions on how to use Muse with Blosxom.
26 * contrib/blosxom/metadate_0_0_3: New file implementing the
27 metadate plugin for blosxom.
29 * contrib/pyblosxom/getstamps.py: Add license text. It seems safe
30 to assume that the original author wanted this to be distributed
31 with Pyblosxom, and hence use the MIT license like the rest of
34 * contrib/pyblosxom/hardcodedates.py: Add license text.
36 * contrib/pyblosxom/make-blog: Change license text to be "This
37 file may be used, distributed, and modified without restriction."
39 * contrib/pyblosxom/metadate.py: New file that implements the
40 PyBlosxom metadate plugin. Since this can no longer be found at
41 the original author's website, I have included it with Muse.
43 * lisp/muse-blosxom.el: Update location of metadate plugin in
46 * lisp/muse-wiki.el (muse-wiki-project-file-regexp): Fix typo in
49 * texi/muse.texi (Blosxom Requirements): Organize information by
50 subheading and subsubheading, and document how to use the metadate
51 plugin. Briefly document using Blosxom to serve Muse entries.
53 2007-08-23 Michael Olson <mwolson@gnu.org>
55 * lisp/muse-html.el (muse-html-insert-contents): Escape heading
56 title just before extracting it.
58 * lisp/muse-latex.el (muse-latex-fixup-headings): New function
59 that removes footnotes from headers, since they are invalid in
61 (muse-latex-munge-buffer): Call it.
63 * lisp/muse-publish.el (muse-publish-markup-heading): Don't escape
64 specials here. This fixes a bug involving links in headings.
66 * lisp/muse.el (muse-update-file-extension): Simplify, and handle
68 (muse-update-file-extension-after-init): Temporarily bind
69 muse-file-extension to "muse", so that muse-update-file-extension
70 knows what the old value was. This should fix a bug reported by
71 Jean Magnan de Bornier.
73 2007-08-21 Michael Olson <mwolson@gnu.org>
75 * lisp/muse-texinfo.el (muse-texinfo-markup-strings): Try to make
76 url, link, and link-and-anchor look better in texi2html output.
77 Thanks to thorne for the report.
79 2007-08-20 Michael Olson <mwolson@gnu.org>
81 * lisp/muse-journal.el (muse-journal-anchorize-title): Revamp to
82 escape characters rather than discard them. Use muse-regexp-alnum
83 rather than listing out the characters and numbers. Thanks to
84 Shunsuke OKANO for the report.
85 (muse-journal-rss-munge-buffer): Make sure that <![CDATA[ stuff is
86 used when generating a summary.
88 2007-08-19 Michael Olson <mwolson@gnu.org>
90 * examples/mwolson: Update my example settings.
92 * lisp/muse-colors.el (muse-colors-region): Bind
93 muse-colors-region-end to the end of the last line. This avoids a
94 bug where lines that had emphasis would suddenly become
95 unhighlighted when moving around the buffer.
97 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug
98 involving paragraphs after literallayout markup, which is used in
99 <verse> tags. Thanks to Shunsuke OKANO for the report.
101 * lisp/muse-html.el (muse-html-src-tag): Use
102 muse-delete-and-extract-region.
104 * lisp/muse-import-xml.el: Add require statement.
105 (muse-import-xml-parse-node): Use muse-replace-regexp-in-string.
107 * lisp/muse-protocols.el (muse-browse-url-man): Add require
109 (muse-browse-url-woman): Add require statement.
111 * lisp/muse-publish.el (muse-publish-surround-text): Fix serious
112 bug in definition list publishing. We were skipping past the
113 initial indented line, and that was causing an erroneous
114 blockquote to be inserted. This alone merits a new release.
116 * lisp/muse-texinfo.el (muse-texinfo-info-generate): Fix bug with
117 XEmacs' return value for shell-command.
119 * lisp/muse.el (muse-delete-and-extract-region): New compatibility
120 function to deal with XEmacs' lack of the
121 delete-and-extract-region function.
123 2007-08-18 Michael Olson <mwolson@gnu.org>
127 * lisp/muse-publish.el (muse-publish-include-tag): Switch from
128 copy-tree to copy-alist, since Emacs21 does not have the former,
129 and the latter does what we want.
131 * lisp/muse.el: Force-require 'derived, since Emacs21 does not
132 have derived-mode-p in subr.el like Emacs22 does.
134 2007-08-17 Michael Olson <mwolson@gnu.org>
136 * etc/muse.rnc: Add the <cite> tag.
138 * lisp/muse-context.el (muse-context-slides-header): Clarify what
141 * lisp/muse-xml.el (muse-xml-markup-strings): Mark up citations as
142 <cite type="something">. We'll leave it to the post processing
143 tools to interpret that.
145 * texi/muse.texi (Directives, Blosxom Entries): Use @code{} for
147 (Citations): New section that explains further how to use the
148 <cite> tag. The text was taken from Marcus Hoenicka's
149 documentation at http://refdb.sourceforge.net/muse.html and
151 (Tag Summary): Link to the Citations section in the entry for
153 (ConTeXt): Update the documentation for
154 muse-context-slides-header.
156 2007-08-17 Jean Magnan de Bornier <jean@bornier.net>
158 * lisp/muse-context.el (muse-context-slides-header): Use #module
159 directive, if it is provided.
160 (muse-context-slides-header): Mention how to use #module.
162 2007-08-16 Michael Olson <mwolson@gnu.org>
164 * Release Emacs Muse 3.10.
166 * Makefile (dist, debprepare): Pass HEAD argument to git-archive.
167 (upload): Don't depend on release rule.
169 * NEWS: Document remaining changes.
171 2007-08-15 Michael Olson <mwolson@gnu.org>
173 * NEWS: Document items through 2007-08-12.
175 * lisp/muse-colors.el: Split the muse-directive-or-comment
176 property into two separate properties that are muse-directive and
178 (muse-colors-region-end): Make buffer-local.
179 (muse-colors-delayed-commands): New variable that contains a list
180 of commands to run immediately after highlighting. This is meant
181 to allow highlighting functions to delay code until later.
182 (muse-colors-region): Apply commands in
183 muse-colors-delayed-commands.
184 (muse-colors-inhibit-tags-in-directives): New variable that
185 determines whether tags are allowed in directives.
186 (muse-colors-custom-tags): Take
187 muse-colors-inhibit-tags-in-directives into account.
188 (muse-unhighlight-region): Remove muse-directive and muse-comment
190 (muse-colors-title): Modify muse-colors-delayed-commands.
191 (muse-colors-title-lisp): New command that gets called after
192 highlighting other things. This interprets <lisp> tags, and is
193 passed arguments specifying the beginning and end of the region.
194 Thanks to Junichi Uekawa for the report. The reason we want to do
195 things this way is because this is the behavior we get already
196 when publishing the page.
198 * lisp/muse.el (muse-goto-tag-end): Change to use muse-comment
199 property rather than muse-directive-or-comment.
201 2007-08-14 Michael Olson <mwolson@gnu.org>
203 * lisp/muse-colors.el: Document all functions and variables.
204 (muse-colors-emphasized, muse-colors-underlined)
205 (muse-colors-verbatim, muse-colors-custom-tags)
206 (muse-colors-explicit-link, muse-colors-implicit-link): Don't trod
207 on comments or the #title directive.
208 (muse-colors-markup): Add comment rule.
209 (muse-colors-implicit-link): Only remove flyspell overlay after we
210 decide whether this is an implicit link, rather than before.
211 (muse-colors-title): Add the muse-directive-or-comment property.
212 (muse-colors-comment): New function that colorizes comments using
213 font-lock-comment-face.
214 (muse-colors-region-end): New variable indicating the end of the
215 region that is currently being font-locked. This removes the need
216 for an ugly "defvar end" hack.
217 (muse-colors-emphasized, muse-colors-underlined)
218 (muse-colors-verbatim): Use it.
219 (muse-colors-region): Let-bind it.
221 * lisp/muse-mode.el (muse-list-edit-minor-mode): Grammar fix in
224 * lisp/muse-publish.el (muse-publish-markup-heading): Escape
225 specials in heading now, rather than waiting on the whole-document
226 pass later on. This lets <contents> generation work without
227 validation errors. Thanks to Reid van Melle for the report.
229 * texi/muse.texi (Tag Summary): Document <cite> tag.
230 (Miscellaneous): New chapter containing "Muse List Edit Minor
232 (Muse List Edit Minor Mode): New section that documents
233 muse-list-edit-minor-mode.
234 (Development): Mention the MuseDevlopment page on emacswiki.org.
236 * lisp/muse.el (muse-goto-tag-end): Deal with case where we are
237 font-locking and the end or beginning of a tag is in a comment or
240 2007-08-12 Michael Olson <mwolson@gnu.org>
242 * lisp/muse-html.el (muse-html-strip-links): New function that
243 strips HTML links from a string.
244 (muse-html-insert-contents): Use it, instead of
245 muse-publish-strip-tags. This fixes a bug reported by Xin Shi
246 involving the use of <sup> in section titles.
248 * lisp/muse-project.el (muse-project-resolve-directory): New
249 function that figures out the directory part of the path that
250 provides a link to a page.
251 (muse-project-resolve-link): Expand docstring. Use the new
252 function. Don't call muse-publish-link-file, because that does
253 the wrong thing when we have muse-file-extension set to nil.
254 Thanks to Sebastian Obermanns for the report.
255 (muse-project-publish-this-file): Let-bind muse-current-project.
256 Also, if the file is not associated with a project, fall back to
257 muse-publish-this-file.
258 (muse-project-set-variables): Add this to
259 muse-before-publish-hook, so that it gets called. This fixes a
260 bug where project-specific variables were being used in Muse mode,
261 but ignored when publishing.
263 * lisp/muse-publish.el (muse-publish-link-name)
264 (muse-publish-link-file, muse-publish-link-page): Add docstrings
265 so that I can remember what each of these things do.
266 (muse-publish-strip-tags): Remove, since it is no longer used.
267 (muse-publish-cite-tag): Don't let-bind
268 muse-publishing-directives, because there is no need to do so.
269 Fix code indentation.
270 (muse-publish-markup-attribute): Avoid multiple evaluation of
271 attrs argument, in case it is list value instead of a symbol. Use
272 sexp instead of form in the edebug-form-spec.
273 (muse-publish-include-tag): Make a full copy of
274 muse-publishing-directives, since it can be modified with setcdr.
275 This fixes a bug where #title and some other directives were
276 leaking out of an included region.
277 (muse-publish-mark-up-tag): Don't let-bind
278 muse-publishing-directives, because there is no need to do so.
280 * lisp/muse.el (muse-page-name): Improve docstring.
282 * texi/muse.texi (Development): Mention the http method for
283 anonymous git access to the shared repo.
285 2007-08-10 Michael Olson <mwolson@gnu.org>
287 * Makefile (dist, debprepare): Use git instead of tla.
289 * contrib/httpd.el (httpd-send-file): Use insert-file-contents.
291 * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
292 Use muse-insert-file-contents.
294 * experimental/muse-split.el (muse-publish-file)
295 (muse-publish-presplit-publish, muse-publish-no-split-function)
296 (muse-journal-split-by-entry, muse-journal-split-by-month): Use
297 muse-insert-file-contents.
299 * lisp/muse-book.el (muse-book-publish-chapter)
300 (muse-book-get-directives): Use muse-insert-file-contents.
302 * lisp/muse-http.el (muse-http-render-page): Use
303 muse-insert-file-contents.
305 * lisp/muse-poem.el (muse-poem-markup-tag): Use
306 muse-insert-file-contents.
308 * lisp/muse-publish.el (muse-insert-file-or-string)
309 (muse-publish-file, muse-publish-include-tag)
310 (muse-published-contents): Use muse-insert-file-contents.
312 * lisp/muse.el (muse-insert-file-contents): New function that
313 inserts a file with character code conversion, but none of the
314 other frivolities. Since insert-file-contents-literally does not
315 do character code conversion, it is not suitable for us.
316 (muse-with-temp-buffer): Mention muse-insert-file-contents rather
317 than insert-file-contents-literally.
319 2007-08-09 Michael Olson <mwolson@gnu.org>
321 * lisp/muse.el (muse-write-file): Pay attention to
322 coding-system-for-write and save-buffer-coding-system. This
323 should fix a recently-introduced bug with writing Muse pages in
324 different coding systems.
326 2007-08-08 Michael Olson <mwolson@gnu.org>
328 * README (Prerequisites): Fix typo.
329 (Compilation, Installation): Update.
330 (Documentation, Further Documentation): Update URLs.
331 (Further Documentation): Add quick blurb on how to participate in
332 Muse development or track changes.
334 * texi/muse.texi (Releases): Use gna.org URL for downloading the
335 latest release, rather than my website.
336 (Development): Change instructions to use git instead of
337 Arch. Mention where to get a Windows binary for git. Improve the
338 look of the listing. Add section with instructions for Becoming a
340 (Installation): Update instructions for Makefile.defs.default and
341 XEmacs. Add index entries. Add section for ELPA, since Muse
342 ought to be distributed in ELPA after the 3.10 release. Fix typo
345 2007-08-06 Michael Olson <mwolson@gnu.org>
347 * texi/muse.texi: Make sure that attributes are marked up with
348 @option{} rather than @code{} or @samp{} for consistency.
349 (Journal): Add "muse-project-alist-considerations" subheading,
350 along with a mention of :base-url.
352 2007-08-05 Michael Olson <mwolson@gnu.org>
354 * .gitignore: Add texi/muse.html and the DVC log edit file.
356 * Makefile.defs.default (install_info): Rename from INSTALLINFO.
357 Turn this into something that can be called like a command, due to
358 needing to deal with XEmacs, which has different argument order.
359 Thanks to Terrence Brannon for the report.
361 * lisp/muse-project.el (muse-project-of-file): Simplify by using
362 catch, throw, and dolist. Look for exact matches before
363 considering any subdirectories. If no exact matches are found,
364 then pick the longest match.
366 * lisp/muse.el (muse-sort-by-rating): Mention default test in
369 * scripts/muse-build.el: Avoid interference from VC.el in the
372 * texi/Makefile (install): Call install_info.
374 2007-08-03 Michael Olson <mwolson@gnu.org>
376 * lisp/muse-project.el (muse-project-applicable-styles): Remove
377 useless argument ignore-regexp. Use saner logic. This fixes a
378 bug where a file could potentially not exist but still appear in
379 the used-styles list. Thanks to John Wiegley for the fix.
380 (muse-project-publish-file): Don't take ignore-reegxp argument.
382 2007-08-02 Michael Olson <mwolson@gnu.org>
384 * lisp/muse-publish.el (muse-batch-publish-files): Don't activate
385 VC when publishing files in batch. This avoids some annoying
386 messages when building QuickStart in the examples directory.
388 * lisp/muse-mode.el (muse-mode): Don't try to indent line before
391 2007-07-31 Michael Olson <mwolson@gnu.org>
393 * lisp/Makefile: Add dependencies between Emacs Lisp files, so
394 that Muse can be recompiled without running "make clean" after an
397 * lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
398 delete forward one character, since we are guaranteed to be on a
399 blank line. Don't delete all initial whitespace of the first
400 line. This fixes an issue where the output from the verse tag did
401 not match the output from Muse's verse syntax.
403 2007-07-29 Michael Olson <mwolson@gnu.org>
405 * Relicense to GPLv3.
407 * Makefile.defs.default: Rename from Makefile.defs. This allows
408 people to copy this file to Makefile.defs and make changes,
409 without having the changes be accidentally committed. If
410 Makefile.defs does not exist, this file is read instead, in order
411 to minimize inconvenience to the casual user.
413 * Makefile, contrib/Makefile, examples/Makefile,
414 experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
415 Makefile.defs.default or Makefile.defs.
417 * lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
419 (muse-l-e-m-m-insert-list-item): Add real documentation.
420 (muse-l-e-m-m-increase-list-item-indent)
421 (muse-l-e-m-m-decrease-list-item-indent): Rename for clarity. Add
423 (muse-list-edit-minor-mode): Improve documentation.
425 * texi/doclicense.texi (GNU Free Documentation License): Use
426 pristine copy from Emacs source tree.
428 * texi/muse.texi (Contributors): Move node and appendix indicators
429 here, rather than doclicense.texi.
431 2007-07-29 Jean Magnan de Bornier <jean@bornier.net>
433 * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
434 command which did not work correctly
436 * lisp/muse-context.el (muse-context-markup-strings): Change rule
437 command which did not work correctly; defined verse commands
438 (muse-context-markup-specials-literal): Eliminate all unuseful entries
440 2007-07-29 Michael Olson <mwolson@gnu.org>
442 * contrib/httpd.el (httpd-send-file): Use
443 insert-file-contents-literally instead of insert-file-contents.
445 * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
446 Use insert-file-contents-literally instead of
447 insert-file-contents.
449 * experimental/muse-split.el (muse-publish-file)
450 (muse-publish-presplit-publish, muse-publish-no-split-function)
451 (muse-journal-split-by-entry, muse-journal-split-by-month): Use
452 insert-file-contents-literally instead of insert-file-contents.
454 * lisp/muse-book.el (muse-book-publish-chapter)
455 (muse-book-get-directives): Use insert-file-contents-literally
456 instead of insert-file-contents.
458 * lisp/muse-http.el (muse-http-render-page): Use
459 insert-file-contents-literally instead of insert-file-contents.
461 * lisp/muse-import-latex.el (muse-import-latex): Set marker to
462 nowhere when done, since they can slow things down.
464 * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
465 marker to nowhere when done, since they can slow things down.
467 * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
468 when done, since they can slow things down. Use
469 insert-file-contents-literally instead of insert-file-contents.
471 * lisp/muse-publish.el (muse-publish-markup-tag)
472 (muse-publish-markup-word, muse-publish-markup-footnote)
473 (muse-publish-call-tag-on-buffer): Set markers to nowhere when
474 done, since they can slow things down.
475 (muse-insert-file-or-string, muse-publish-file)
476 (muse-publish-include-tag, muse-published-contents): Use
477 insert-file-contents-literally instead of insert-file-contents.
478 (muse-publish-surround-dl): Remove unused variable. Track whether
479 a term has been found, and handle that case well.
480 (muse-publish-ensure-blank-line): Use a marker, so that we don't
481 lose our place when adding a newline. This really fixes the
482 definition list item bug.
483 (muse-publish-markup-list): Since people do seem to want
484 definition lists with no terms, allow this.
485 (muse-batch-publish-files): Set muse-current-output-style.
487 * lisp/muse.el (muse-with-temp-buffer): Mention
488 `insert-file-contents-literally'.
490 2007-07-28 Michael Olson <mwolson@gnu.org>
492 * lisp/muse-mode.el (muse-browse-result): Set
493 muse-current-output-style.
494 (muse-mode): Don't duplicate the paragraph-start regexp
496 (muse-list-edit-minor-mode-map): New variable containing the
497 keymap for Muse list edit minor mode.
498 (muse-l-e-m-m-list-item-regexp): New variable that matches list
499 items for Muse list edit minor mode.
500 (muse-l-e-m-m-insert-list-item,
501 muse-l-e-m-m-i-list-item-indentation)
502 (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
503 item functions that change the list item regexp before calling the
505 (muse-l-e-m-m-data): New variable that keeps track of the fill
506 data that we overwrite when activating Muse list edit minor mode,
507 so that we can restore it if the minor mode is toggled off.
508 (muse-list-edit-minor-mode): New minor mode that is useful for
509 editing lists in other major modes.
510 (turn-on-muse-list-edit-minor-mode)
511 (turn-off-muse-list-edit-minor-mode): New interactive functions
512 that turn Muse list edit minor mode on and off, respectively.
513 (muse-on-blank-line, muse-get-paragraph-start): Simplify some
516 * lisp/muse-project.el (muse-project-publish-this-file): Set
517 muse-current-output-style. This fixes a bug when publishing to a
518 style that is not first in the list of styles. Thanks to Jean
519 Magnan de Bornier for the report.
521 * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
522 function that ensures that a blank line exists in the line before
524 (muse-publish-markup-list): Use it, rather than
525 `muse-publish-ensure-block'. This fixes a bug with definition
526 list publishing. Thanks to meandtheshell for reporting this.
528 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
529 project argument is nil, default to the current project instead of
530 the first project entry in muse-project-alist. This seems much
533 * lisp/muse.el (muse-forward-list-item): Only check the 'face
534 property if we are in Muse mode or one of its derivatives. This
535 allows movement on nested lists to work in other modes, and fixes
536 an issue with altering list indentation in
537 muse-list-edit-minor-mode.
539 2007-07-27 Michael Olson <mwolson@gnu.org>
541 * AUTHORS: Add new authors.
543 * README: Permit Muse to be called "Emacs-Muse".
545 * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
547 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
548 involving list items that have an extra blank line in front.
550 * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
551 and Emacs-Muse are the same thing.
553 2007-07-27 Jean Magnan de Bornier <jean@bornier.net>
555 * lisp/muse-context.el (muse-context-header): Put
556 starttext after the modules who must be in preamble.
557 (muse-context-markup-strings): Fixed mistake in begin-example and
560 * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
561 math environment in ConTeXt when centered: "$$ $$" has to be
562 "\startformula \stopformula".
564 2007-07-26 Michael Olson <mwolson@gnu.org>
566 * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
569 2007-07-24 Michael Olson <mwolson@gnu.org>
571 * examples/QuickStart.muse (Images): Fix typo where some text
572 existed in the output but not in the example region.
573 (Source Code): Fix another typo. Explain that publishing from
574 console or X can make a difference.
576 * lisp/muse-context.el (muse-context-pdf-program): New option that
577 determines the program to use for generating PDF files for
579 (muse-context-pdf-cruft): New option that specifies the extensions
580 of files to remove after generating PDF output successfully.
581 (muse-context-slides-header): Docfix.
582 (muse-context-pdf-generate): Use new options.
584 * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
585 save-restriction call. This was causing a world of hurt when
586 using <lisp> inside of <include>.
588 * texi/muse.texi (ConTeXt): New section that documents how to use
589 the ConTeXt publishing styles.
591 2007-07-23 Michael Olson <mwolson@gnu.org>
593 * lisp/muse-context.el: New file that provides support for
594 publishing documents to the ConTeXt format. Thanks to Jean Magnan
595 de Bornier for his work on this.
597 * lisp/muse-docbook.el (muse-docbook-entities)
598 (muse-docbook-bibliography): Remove unneeded save-restriction use.
600 * lisp/muse-latex2png.el (muse-publish-latex-tag):
603 * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
604 (muse-latex-bibliography): Remove call to `widen', since it is not
605 needed anymore. Remove unneeded save-restriction use.
606 ("slides", "slides-pdf"): Indent elements uniformly.
608 2007-07-22 Michael Olson <mwolson@gnu.org>
610 * lisp/muse-blosxom.el (muse-blosxom-new-entry):
611 * lisp/muse-mode.el (muse-insert-tag):
612 * lisp/muse-project.el (muse-read-project)
613 (muse-read-project-file):
614 * lisp/muse-publish.el (muse-publish-get-style): Use
615 muse-completing-read-function.
617 * lisp/muse-latex2png.el (muse-publish-latex-tag)
618 (muse-publish-math-tag): Allow the context style -- which I plan
619 to include soon -- to work with these tags.
621 * lisp/muse.el (muse-completing-read-function): New option that
622 determines which function to call when doing a completing-read.
624 2007-07-15 Michael Olson <mwolson@gnu.org>
626 * lisp/muse-journal.el (muse-journal-html-entry-template)
627 (muse-journal-rdf-entry-template)
628 (muse-journal-rss-entry-template): Mention that this can be text
630 (muse-journal-rdf-entry-template, muse-journal-rss-header)
631 (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
632 newlines to make the output look nicer.
633 (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
634 Use muse-insert-file-or-string for the entry templates, rather
635 than muse-insert-markup. This allows <lisp> and <markup> tags to
636 be acted on. Thanks to Scott Hyde for the report.
637 (muse-journal-html-munge-buffer): Escape quote of the day using
638 entire-document specials before snarfing it. Mark entire template
639 as read-only -- this fixes an incorrect escaping bug. Remove
640 read-only properties before replacing template matches so that
641 they can still be escaped with entire-document specials later on.
642 (muse-journal-rss-munge-buffer): Make sure that title is escaped
644 (muse-journal-markup-tags): Rename from
645 muse-journal-latex-markup-tags, because we will use it for
646 journal-rss-entry as well.
647 (muse-journal-qotd-tag): Move higher. Use begin-quote-item and
649 (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
651 ("journal-latex", "journal-pdf", "journal-book-latex")
652 ("journal-book-pdf"): Use muse-journal-markup-tags rather than
653 muse-journal-latex-markup-tags.
654 ("journal-rss-entry"): New style that is used by journal-rss and
655 journal-rdf to mark up individual entries. It is needed so that
656 we can do something meaningful with the qotd tag.
657 (muse-journal-rdf-summarize-entries): Set this to nil by default,
658 because it is annoying. Update docs to mention this.
659 (muse-journal-rss-summarize-entries): Docfix.
661 * lisp/muse-publish.el (muse-insert-file-or-string): Use
662 muse-publish-markup-header-footer-tags. I'm not quite sure how
663 this change got reverted.
664 (muse-markup-tag-info): Make into a function. Move common code
665 here, rather than duplicating it in two places. Deal with case
666 where muse-publish-use-header-footer-tags is non-nil.
667 (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
668 (muse-inhibit-style-tags): Move higher to avoid byte-compiler
670 (muse-publish-use-header-footer-tags): New variable that indicates
671 whether we should use just the header and footer tags, rather than
673 (muse-insert-file-or-string): Bind
674 muse-publish-use-header-footer-tags to t.
675 (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
676 Simplify call to muse-markup-tag-info.
677 (muse-publish-mark-up-tag): Bind
678 muse-publish-use-header-footer-tags to nil.
680 * texi/muse.texi (Journal): Update for recent changes.
682 2007-07-14 Michael Olson <mwolson@gnu.org>
684 * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
685 delete the remainder of the buffer, since this causes the
686 resulting RDF to have invalid syntax. Thanks to Phillip Lord for
687 the report and the suggested fix.
689 * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
690 beginning of table-el regexp. This fixes a bug where Muse stalls
691 when trying to publish a malformed table. Thanks to Ye Wenbin for
692 the report and the suggested fix.
694 2007-07-12 Michael Olson <mwolson@gnu.org>
696 * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
697 default, rather than the empty string. This really fixes the bug
698 that occurred when using Muse with muse-project-alist set to nil.
699 Thanks to Jonathan Underwood for the report.
700 (muse-wiki-update-interwiki-regexp): Set
701 muse-wiki-interwiki-regexp to nil if muse-project-alist is not
703 (muse-wiki-handle-implicit-interwiki)
704 (muse-wiki-handle-explicit-interwiki): Handle case where
705 muse-wiki-interwiki-regexp is nil.
707 2007-07-10 Michael Olson <mwolson@gnu.org>
709 * lisp/muse-mode.el (muse-grep): Abort search if the current
710 project contains no directories.
712 * lisp/muse-project.el (muse-project-file-alist): If
713 muse-project-alist is not defined, or project is nil, return nil
714 right away. This ought to fix a bug that occurred when using Muse
715 with muse-project-alist set to nil.
716 (muse-project-of-file): Make sure muse-project-alist is not nil.
717 (muse-project-save-buffers): Make sure project is not nil.
719 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
720 case where muse-project-alist is nil.
722 * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
723 for XEmacs, since color-theme.el is poorly behaved, and defines
724 its own replace-in-string. Bad color-theme.el -- no cookie for
727 2007-07-01 Michael Olson <mwolson@gnu.org>
729 * Makefile (.PHONY): Update for new debian package rules.
731 * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
733 * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
734 Use save-restriction properly.
735 (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
737 * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
738 (muse-latex-fixup-citations): Re-indent. Use save-restriction
740 (muse-latex-bibliography): Re-indent.
742 * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
743 higher. This fixes an error at startup with some versions of
745 (muse-publish-cite-tag): Re-indent.
747 * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
748 to the end of the link part, so as to exclude the description from
749 the match. This fixes a bug with three-part links that have
750 descriptions. Thanks to everyone who pointed it out.
752 2007-06-18 Michael Olson <mwolson@gnu.org>
754 * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
755 (muse-xhtml1.1-markup-strings): New option that specifies XHTML
756 1.1 specific markup strings.
757 (muse-html-insert-anchor): Use 'anchor string, rather than
758 hard-coding it. Thanks to Chris Corsair for the suggestion.
759 ("xhtml1.0"): New style that is an alias for the xhtml style.
760 ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
762 2007-06-17 Michael Olson <mwolson@gnu.org>
764 * examples/QuickStart.muse: Make images local so that the Info
765 version of this document works. Add <example> for the Literal
766 paragraphs chapter, so that it is clear what is happening.
768 * Makefile: Add elpa target, which is used for building an ELPA
771 * Makefile.defs (ELPADIR, ELPADESC): New variables used for
772 building ELPA packages.
774 * examples/Makefile (%.html, %.pdf, %.info): Add message to
775 indicate what we are publishing.
776 (realclean distclean fullclean): Remove all TeX crud.
778 * examples/emacs-muse.png, examples/muse-made-with.png: Include so
779 that the Info version of QuickStart can publish correctly.
781 * lisp/muse-latex.el (muse-latex-slides-header)
782 (muse-latex-lecture-notes-header): Docfix.
784 * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
785 the list of things to ignore.
787 * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
790 * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
791 default to nil, since texinfmt.el is a serious nuisance.
792 (muse-texinfo-markup-strings): Add newlines to begin-example and
794 (muse-texinfo-decide-specials): Also escape URL-type specials in a
795 whole slew of other contexts.
797 * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
800 * lisp/muse-xml.el (muse-xml-footer): Docfix.
802 * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
804 2007-06-16 Michael Olson <mwolson@gnu.org>
806 * etc/IDEAS.muse: Add some ideas from David D. Smith.
808 * examples/QuickStart.muse: Overhaul.
810 * lisp/muse-project.el (muse-project): Call the last part of a
811 muse-project-alist entry "Output styles" rather than "styles".
813 * lisp/muse-publish.el (muse-publish-table-fields): Handle case
814 where we have a pipe character at the beginning of line.
816 * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
817 causing tables to not be sorted at all.
819 * texi/muse.texi: Overhaul. It would be too time-consuming to
820 list all of the changes here. The "Getting Started" and
821 "Projects" chapters, in particular, were heavily revised.
823 2007-06-15 Michael Olson <mwolson@gnu.org>
827 * examples/QuickStart.muse: Mention new features.
829 * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
830 Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
831 terminal, and C-c TAB is more important. Most people will not
832 want to toggle images on and off that often.
834 * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
835 C-i as well, so that it works in the terminal.
837 * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
838 look a bit tidier when removing the region.
840 * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
841 list regexp part before other parts.
842 (muse-ol-item-regexp): New regexp that specifies how to match an
844 (muse-ul-item-regexp): New regexp that specifies how to match an
846 (muse-table-field-regexp): New regexp that specifies how to match
847 a definition list entry.
849 * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
850 lack of support for @headitem in texinfmt.el.
852 * lisp/muse.el: Wrap muse-line-beginning-position and
853 muse-line-end-position in `eval-and-compile', since they are now
855 (muse-list-item-type): Use a simpler algorithm for detecting which
856 kind of list item we have. This fixes a bug where a number in a
857 definition list term was being detected incorrectly as an ordered
858 list item. Fixes bug #6250.
859 (muse-forward-list-item): Get the entire line with the list item.
860 For some reason, Emacs 21 was not populating match 2 correctly,
861 unlike Emacs 22, so this workaround was needed.
863 * texi/muse.texi: (Keystroke Summary): Remove C-c
864 C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
865 alternative keybinding to the C-c TAB stuff. Mention
866 muse-colors-toggle-inline-images.
868 2007-06-14 Michael Olson <mwolson@gnu.org>
870 * README: Mention that RelaxNG schema is in etc/ directory.
872 * etc/emacs-wiki-migration.txt: New document that explains how to
873 migrate from emacs-wiki to Muse.
875 * etc/muse.rnc: Increment version number to 1.0. Fix several
876 nested emphasis and nested lists edge cases. Move here from
879 * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
880 same thing as C-c C-S-t, since the former works better in the
881 console. Thanks to Leo for the suggestion.
883 * lisp/muse-publish.el (muse-publish-markup-table)
884 (muse-publish-markup-table-el): Include a newline in the return
885 string, so that paragraph detection does not get confused.
887 * lisp/muse.el (muse-with-temp-buffer): Docfix.
889 * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
892 2007-06-13 Michael Olson <mwolson@gnu.org>
894 * etc/IDEAS.muse: Mark three-part-links item as done.
896 * experimental/muse-message.el: Remove guard for muse-define-style
899 * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
900 markup rules were being interpreted in reverse order. This should
901 make implicit interwiki links work properly again.
902 (muse-link-face): Strip anchor from end of a path, so that this
903 works with anchors in interwiki links.
904 (muse-colors-insert-image): Catch error that occurs in Emacs 21
905 when an image does not exist.
907 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
909 (muse-wiki-handle-implicit-interwiki): Docfix. Make anchors in
910 interwiki links work. Thanks to Jim Ottaway for the initial
912 (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
915 * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
917 (muse-handle-explicit-link): Docfix: this does not modify the
919 (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
920 that has the regexp in its car.
922 2007-06-12 Michael Olson <mwolson@gnu.org>
924 * README: Document new etc/ directory.
926 * etc/IDEAS.muse: Install things from new contributors just after
927 the 3.03 release, since I won't have time to review the code
928 before the release. Move to new etc/ directory. Slides
929 publishing has been installed.
931 * lisp/muse-latex.el (muse-latex-slides-header): New option that
932 determines the header to use for publishing slides.
933 (muse-latex-lecture-notes-header): New option that determines the
934 header to use for publishing lecture notes.
935 (muse-latex-slides-markup-tags): New option containing tags to use
936 when publishing slides.
937 (muse-latex-permit-contents-tag): Move higher in file.
938 (muse-latex-slide-tag): New function to publish the <slide> tag.
939 ("slides", "slides-pdf"): New publishing styles that create slides
941 ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
942 create lecture notes using Beamer.
944 * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
945 since otherwise Planner is not happy when `plan' is called during
946 init. Remove stray quote from autoload snippet.
948 2007-06-11 Michael Olson <mwolson@gnu.org>
950 * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
951 autoload, rather than having it exist at top-level. Thanks to Leo
953 (muse-update-file-extension): Docfix.
955 2007-06-10 Michael Olson <mwolson@gnu.org>
957 * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
958 URLs were being removed during publishing. Thanks to everyone who
961 2007-06-09 Markus Hoenicka <markus.hoenicka@mhoenicka.de>
964 * lisp/muse-docbook.el
966 * lisp/muse-publish.el: added support for <cite> element which
967 denotes in-text citations
971 * lisp/muse-texinfo.el
972 * lisp/muse-xml.el: added support for <cite> element (stub)
974 2007-06-06 Michael Olson <mwolson@gnu.org>
976 * lisp/muse-regexps.el (muse-table-line-regexp)
977 (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
978 regexps so that they work with XEmacs 21. Thanks to Adrian
979 Tritschler for the report.
981 * texi/muse.texi: Update copyright years.
982 (HTML): Document muse-xhtml-style-sheet. Thanks
983 to thorne for noticing.
984 (Development): Change archive year to 2006. Thanks to Adrian
985 Tritschler for noticing. So *that's* why some people had the 2005
988 2007-06-05 Michael Olson <mwolson@gnu.org>
990 * Makefile (install-info): Remove $(MANUAL).info part, since this
991 is taken care of already by texi/Makefile. Thanks to Leo for the
994 * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
995 read-only properties to qotd contents, so that they don't get
996 double-escaped. Thanks to Leo for the report.
998 2007-06-04 Michael Olson <mwolson@gnu.org>
1000 * lisp/muse-colors.el (muse-link-face): If the link is to a remote
1001 -- that is, Tramp or ange-ftp -- file, then do not call
1002 file-exists-p on it. Thanks to Jim Ottaway for the suggestion.
1005 * lisp/muse-html.el (muse-html-insert-contents): Add
1006 documentation. Handle case where heading is read-only, but has
1007 muse-contents property. Remove the muse-contents property for any
1008 heading we come across so as to avoid double-including an item in
1009 an outer table of contents.
1010 (muse-html-denote-headings): New function that denotes whether a
1011 heading is not read-only by adding the muse-contents property to
1013 (muse-html-munge-buffer): If we are not to generate contents,
1014 still denote headings, in case some outer layer wants to generate
1015 contents for our headings. This should fix a bug with table of
1016 contents and the <include> tag. Thanks to thorne for the report.
1018 * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
1019 muse-publish-generate-contents and set it to nil. This should
1020 do the right thing when using <include> tags.
1022 2007-06-02 Michael Olson <mwolson@gnu.org>
1024 * NEWS: Update for non-inlined image change and support for
1025 table.el style tables.
1027 * examples/Makefile (clean): Clean backup files.
1029 * examples/QuickStart.muse (Images): New section that describes
1030 how to inline and not inline images.
1032 * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
1033 touch images that have "URL:" in front of them.
1035 * lisp/muse-protocols.el (muse-url-protocols): Add handler for
1036 "URL:". Use the identity function to resolve, since we don't want
1037 to rip "URL:" out while publishing, due to some magic that depends
1039 (muse-browse-url-url): New function that browses URLs that have
1040 "URL:" in front of them, by removing the "URL:" part and
1041 reprocessing the remainder.
1043 * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
1044 (muse-publish-url): Recognize images in the description before
1045 images in the link. Fixes bug #5112. Thanks to Thomas Kappler
1046 for the suggested workaround.
1047 (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
1049 (muse-publish-classify-url): If target begins with "URL:" return
1051 (muse-publish-strip-URL): New function that strips "URL:" from the
1052 beginning of a string. This is used to remove URL: from the link
1053 description. * texi/muse.texi (Markup Strings): Clarify the
1054 meanings of image-link, link, and link-and-anchor.
1055 (muse-publish-markup-regexps): Move normal table rule to 2350.
1056 Rule 2300 is now a regexp that matches table.el-style tables.
1057 (muse-publish-markup-functions): Add table-el entry.
1058 (muse-publish-table-el-table): New function that given a variant,
1059 publishes a table.el-style table using the table in the matched
1061 (muse-publish-markup-table-el): New function that determines
1062 whether the table.el-style table can be published, and what
1065 * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
1066 the borders of table.el-style tables.
1068 * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
1069 the table has sufficient whitespace in front of it.
1071 * texi/muse.texi (Images): Update for new non-inlined image
1072 ability and provide example.
1074 2007-05-31 Michael Olson <mwolson@gnu.org>
1076 * NEWS: Add example for setting `muse-html-table-attributes'.
1078 * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
1079 Publish multiple tbody tags if there is a horizontal separator
1080 after the heading, because that is valid HTML after all.
1082 2007-05-30 Michael Olson <mwolson@gnu.org>
1086 * lisp/muse-latex.el (muse-latex-markup-table): Deal with
1087 horizontal separators in tables.
1089 * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
1090 horizontal separators in tables.
1091 (muse-publish-trim-table): New function to remove initial and
1092 final blank columns from a table.
1093 (muse-publish-table-fields): Call `muse-publish-trim-table'. Deal
1094 with horizontal separators, aka "hlines".
1096 * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
1097 defines the syntax of a horizontal separator in a table.
1099 * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
1100 horizontal separators. Publish header lines correctly.
1102 * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
1103 where we have nonnumbers as a row type. This ignores sorting for
1105 (muse-xml-markup-table): Deal with horizontal separators. If the
1106 markup supports table groups, make hlines separate table groups.
1107 Otherwise, ignore them, since they cannot be marked up. Together,
1108 these changes allow us to support orgtbl-mode tables. Thanks to
1109 Carsten Dominik for the suggestion.
1111 2007-05-26 Michael Olson <mwolson@gnu.org>
1113 * lisp/muse-project.el (muse-project-alist-styles): Allow for
1114 other things to be added to each generated style as well. For
1115 example, this permits me to add
1116 :base-url "http://blog.mwolson.org/"
1119 2007-05-25 Michael Olson <mwolson@gnu.org>
1121 * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
1122 way of building Debian packages that preserves the original
1123 release tarball and is more modular.
1124 (debrevision, debrelease): Remove.
1125 (dist): No need to remove the debian/ directory, since it is now
1127 (debprepare): Copy over debian/ directory properly.
1131 * examples/Makefile (clean): Remove QuickStart.texi, in case
1132 something went wrong during the build.
1133 (%.pdf): Publish the example using the normal pdf style, rather
1136 * examples/QuickStart.muse: Add myself to the authors list.
1138 * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
1139 sufficient blank lines before the tag.
1141 * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
1142 we have sufficient blank lines before the tag.
1144 * lisp/muse-latex.el (muse-latex-pdf-program): New option that
1145 specifies the program to call in order to generate PDF content
1147 (muse-latex-pdf-cruft): New option that specifies the extensions
1148 of files to remove after generating PDF output successfully.
1149 (muse-latex-pdf-generate): Use these new options. Work around the
1150 annoying edge case where a tilde character exists in the filename
1151 or directory path -- now this can only error out when the relative
1152 path from the output file to the source file contains a tilde,
1153 which is far less likely.
1155 * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
1156 muse-publish-ensure-block here after all, because <lisp> et al may
1157 occur inline as part of other things.
1159 * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
1160 occur after full-document escaping, rather than before. This
1161 prevents automatically-inserted Texinfo code from being escaped.
1162 (muse-texinfo-pdf-generate): Rewrite to call
1163 `muse-latex-pdf-generate' with pdftex as the generating binary,
1164 because texi2pdf suffers irredeemably from the tilde edge case
1167 2007-05-24 Michael Olson <mwolson@gnu.org>
1169 * NEWS: Drop vague entries and position interesting entries closer
1170 to the top of each section. Update for new changes.
1172 * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
1173 and bzr metadata directories to the list of things to ignore.
1175 * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
1176 `muse-publish-ensure-block-tag', since we will use it for more
1178 (muse-publish-markup-list, muse-publish-verse-tag)
1179 (muse-publish-quote-tag, muse-publish-example-tag)
1180 (muse-publish-markup-attribute): Use it. This fixes a bug that
1181 can occur when these types of markup occur immediately after a
1182 paragraph. It's good to have defined behavior!
1184 * texi/muse.texi (Markup Strings): Mention new argument for
1187 2007-05-19 Michael Olson <mwolson@gnu.org>
1189 * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
1190 published footnotes and footnote references. Thanks to Scott
1191 Jaderholm for the idea.
1193 * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
1194 link-and-anchor, on the recommendation of the original submitter.
1196 2007-05-14 Michael Olson <mwolson@gnu.org>
1198 * lisp/muse-latex.el (muse-latex-markup-strings): Use better
1199 link-and-anchor markup. Thanks to Jean Magnan de Bornier for the
1202 * lisp/muse-publish.el (muse-publish-url): Pass the url without a
1203 file extension as the fourth argument.
1205 * README, texi/muse.texi (Getting Help and Reporting Bugs):
1206 Mention the new muse-el-logs mailing list.
1208 2007-05-13 Michael Olson <mwolson@gnu.org>
1210 * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
1211 "\`" here. This fixes a problem with publishing custom URLs.
1213 2007-05-12 Michael Olson <mwolson@gnu.org>
1215 * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
1216 update the list if the current buffer is associated with a file.
1217 This fixes a bug with M-x muse-publish-region in a temporary
1220 2007-05-01 Michael Olson <mwolson@gnu.org>
1222 * lisp/muse-publish.el (muse-publish-region): Remove read-only
1223 properties from the published buffer, so that the results can be
1226 2007-04-23 Michael Olson <mwolson@gnu.org>
1228 * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
1229 find the footnote that goes with a reference, leave the reference
1230 as-is. This fixes an error where control characters could be
1231 placed in a published document.
1233 2007-04-22 Michael Olson <mwolson@gnu.org>
1235 * IDEAS.muse: Add muse-slides.el to list of things to include
1238 * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
1240 (muse-protocol-find): Find protocols correctly. Rewrite to use
1242 (muse-browse-url): Don't concatenate "\`" here. Together, this
1243 fixes a bug with browsing woman:// links.
1245 * lisp/muse-project.el (muse-project-alist-styles): Deal with case
1246 where entry-dir has a trailing backslash.
1247 (muse-project-publish-file): If a style is malformed, skip it and
1248 display a warning message. This should help people figure out
1249 where the problem is.
1251 2007-04-21 Michael Olson <mwolson@gnu.org>
1253 * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
1254 yet-to-be-included "contex" publishing style, use "$$" rather
1255 than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
1258 2007-04-20 Michael Olson <mwolson@gnu.org>
1260 * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
1261 variable that causes the :before and :before-end hooks to be
1262 ignored when non-nil.
1263 (muse-publish-markup-region): Use it. Also, guarantee that point
1264 is at end of region after publishing.
1265 (muse-publish-mark-up-tag): Simplify, taking advantage of the new
1268 2007-04-19 Michael Olson <mwolson@gnu.org>
1270 * IDEAS.muse: New file containing a list of ideas we have for new
1271 features, or patches that have yet to be applied.
1273 * README: Call it "Emacs Muse", not "the Emacs Muse". No need to
1276 * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
1279 * lisp/muse-publish.el (muse-publish-markup-tags): Handle
1280 <literal> tags with muse-publish-literal-tag, rather than
1281 muse-publish-mark-read-only.
1282 (muse-publish-literal-tag): New function that publishes the
1283 <literal> tag. It adds the ability to add the optional "style"
1284 and "exact" elements, which cause text to only be included if the
1285 current publishing style matches some criteria. The text will be
1286 removed otherwise. Thanks to Jim Ottaway for the implementation.
1287 (muse-publish-mark-up-tag): Let the <markup> tag take the
1288 additional optional elements "style" and "exact", with much the
1289 same effect as the <literal> improvements, but after calling
1290 "function" or publishing the region first. Make it possible to
1291 put <content> tags in <markup> regions in HTML publishing.
1293 2007-04-12 Michael Olson <mwolson@gnu.org>
1295 * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
1296 that a blank line always exists after a heading. This fixes a bug
1297 in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
1300 * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
1301 detection regexp to that which is used in Docbook and HTML
1304 2007-04-02 Michael Olson <mwolson@gnu.org>
1306 * README (muse-el-announce): Make a listing of mailing lists,
1307 rather than pointing to the old EmacsWikiMailingList page. Thanks
1308 to Andreas Roehler for noticing.
1310 2007-04-01 Michael Olson <mwolson@gnu.org>
1312 * lisp/muse-publish.el (muse-publish-date-format): Add
1313 ` customization type and group.
1314 (muse-publish-region): New interactive function that publishes a
1315 region to a new buffer.
1317 * texi/muse.texi: Use "document" rather than "manual".
1319 2007-03-31 Michael Olson <mwolson@gnu.org>
1321 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
1322 expression (muse-style-derived-p "latex" (muse-style "latex"))
1323 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
1326 2007-02-25 Michael Olson <mwolson@gnu.org>
1328 * lisp/muse-publish.el (muse-publish-date-format): New option that
1329 specifies how to format the date when publishing Muse pages.
1330 Thanks to Thomas Gehrlein for the suggestion.
1331 (muse-publish-markup-buffer): Use it.
1333 2007-02-23 Michael Olson <mwolson@gnu.org>
1335 * README: Add Prerequisites section to mention which versions of
1336 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
1337 the suggestion. Update link destination for Muse's page on
1340 2007-02-15 Michael Olson <mwolson@gnu.org>
1342 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
1343 be not just at beginning of line. This fixes an error with the
1344 <class> tag. Thanks to Jim Pivarski for the report.
1346 2007-02-14 Michael Olson <mwolson@gnu.org>
1348 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
1349 whether something is an image before checking to see if it is a
1350 URL. Thanks to ITSUMI ken-ichi for the report.
1352 2007-02-13 Michael Olson <mwolson@gnu.org>
1354 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
1355 comments that have no text better. Thanks to fang.lungang for the
1357 (muse-publish-markup-comment): Deal with case where no comment
1360 2007-01-23 Michael Olson <mwolson@gnu.org>
1362 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
1363 that ensures that at least one blank line exists at the given
1364 position. This is used to avoid paragraph detection problems when
1365 block-level tags like <example> immediately follow a paragraph.
1366 Thanks to Hans Ekbrand for the report.
1367 (muse-publish-example-tag): Use it.
1369 2007-01-19 Michael Olson <mwolson@gnu.org>
1371 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
1372 previous blank line if we are publishing in Latex. Otherwise,
1373 that wouldn't be the right thing, so leave it be.
1375 2007-01-17 Michael Olson <mwolson@gnu.org>
1377 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
1378 multiple centered math lines on the same line; keep them on
1379 different lines. Use \[ math-text \] instead of $$math-text$$,
1380 since the latter seems to be deprecated. Thanks to Jody Klymak
1383 2007-01-15 Michael Olson <mwolson@gnu.org>
1385 * lisp/muse-latex2png.el (muse-publish-latex-tag)
1386 (muse-publish-math-tag): Publish region read-only when current
1387 style is Latex-derived, so that Muse does not escape it.
1388 (muse-publish-math-tag): If 6 or more spaces come before the tag,
1389 surround the region with "$$" rather than "$". This is the Muse
1390 syntax for something centered, so it should be a good fit.
1392 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
1394 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
1396 (muse-browse-url-man): Change man page URL format. The code is
1397 simpler when the section is left inside parentheses.
1398 (muse-browse-url-woman): New function.
1400 2007-01-14 Michael Olson <mwolson@gnu.org>
1402 * AUTHORS: Bookkeeping.
1404 * lisp/muse-latex2png.el: Associate <math> tag with
1405 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
1406 Klymak for the report.
1407 (muse-publish-math-tag): Use muse-insert-markup for the "$"
1408 characters, so they don't get escaped.
1410 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
1411 make muse-style-derived-p easier to implement.
1412 (muse-style-derived-p): If the style is not provided, fetch it and
1413 check to see if the car is a string. This should fix the other
1414 problem that was reported.
1416 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
1417 explains a case where setting muse-file-extension to nil can cause
1418 unexpected behavior.
1420 2007-01-09 Michael Olson <mwolson@gnu.org>
1422 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1423 comments higher priority than tags. Thanks to Stefan van der Walt
1426 2007-01-08 Michael Olson <mwolson@gnu.org>
1428 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1429 argument rather than calling match-string. Thanks to Stefan van
1430 der Walt for the report. This should fix a bug with publishing
1431 <include file="..." markup="example">.
1433 2007-01-06 Michael Olson <mwolson@gnu.org>
1435 * Makefile (debclean): New rule split from debrevision and
1437 (debbuild): Take distributor into account.
1439 * Makefile.defs (DISTRIBUTOR): New field that tracks what
1440 vendor/distributor we are building for.
1442 2007-01-04 Michael Olson <mwolson@gnu.org>
1444 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1447 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1448 point to muse-publish-src-tag by default, since <src> and
1449 <example> have different parameters.
1450 (muse-publish-src-tag): New barebones publishing function for
1451 <src>, which is superseded when publishing in an HTML-based style.
1453 2007-01-03 Michael Olson <mwolson@gnu.org>
1455 * lisp/muse-html.el (muse-html-src-tag): Document.
1457 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1458 command that calls a given tag on the current buffer. Attributes
1460 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1462 (muse-publish-srcify-buffer): New function that allows
1463 markup="src" in the <include> tag.
1464 (muse-publish-get-and-delete-attr): New macro that gets an
1465 attribute from a list and removes the first instance of that
1466 attribute from said list.
1467 (muse-publish-markup-attribute): Handle markup="src".
1468 (muse-publish-command-tag, muse-publish-include-tag): Use
1469 muse-publish-get-and-delete-attr. This allows the remaining
1470 attributes to be passed.
1472 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1473 as changes to <command> and <include>.
1475 2006-12-30 Michael Olson <mwolson@gnu.org>
1479 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1480 from muse-publish-math-tag to avoid conflict with
1483 2006-12-23 Michael Olson <mwolson@gnu.org>
1485 * lisp/muse-latex2png.el: Update header, since this has been
1486 rewritten sufficiently to not need an assignment from the original
1488 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1489 (muse-latex2png): Use two underscores to separate prefix and hash.
1490 (muse-latex2png-region): New function split from
1491 muse-publish-latex-tag that can be used easily by other code.
1492 Detect whether we are using an HTML-based publishing style, and
1493 insert a simpler markup if we are not. If we are using a
1494 Latex-based publishing style, do not generate an image, and leave
1495 the region alone. Return the path of the generated image, in case
1496 other functions want to use this programmatically.
1497 (muse-publish-latex-tag): Set a default prefix based on the name
1498 of the current file.
1499 (muse-publish-math-tag): New tag that surrounds the region with
1500 "$" characters, so that it becomes a Latex math region, and then
1503 * lisp/muse-publish.el (muse-style-derived-p): New function that
1504 returns non-nil if a given style, or the current style if omitted,
1505 is equal to or derived from the given base style. This is useful
1506 in <lisp> tags, because it allows the user to specify markup that
1507 is only to be inserted for one particular style.
1509 2006-12-22 Michael Olson <mwolson@gnu.org>
1511 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1512 (muse-html-src-tag): New function which publishes the <src> tag.
1513 Thanks to Clinton Ebadi and Charles Wang for the initial
1516 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1518 2006-12-21 Michael Olson <mwolson@gnu.org>
1520 * examples/johnw/muse-johnw.el: Update for preferred
1521 muse-derive-style usage. Rename to muse-init.el.
1523 * examples/mwolson/muse-init.el: Update.
1525 * lisp/muse-book.el (muse-book-publish): New function split from
1526 muse-book-publish-project. This is used in the definitions for
1527 the book-latex and book-pdf styles.
1528 (muse-book-publish-p): New function split from muse-book-publish.
1529 (muse-book-get-directives): New function that retrieves the
1530 publishing directives from the given file.
1531 (muse-book-publish): Use muse-book-get-directives to set the title
1532 if no title was specified.
1534 * lisp/muse-project.el (muse-project): Add :publish-project entry
1536 (muse-read-project, muse-project-find-file): Message fix.
1537 (muse-project-publish-file-default): New function split from
1538 muse-project-publish-file.
1539 (muse-project-publish-file): Allow file-level publishing function
1540 to be specified by the :publish element. The default is
1541 muse-project-publish-file-default.
1542 (muse-project-publish-default): New function split from
1543 muse-project-publish.
1544 (muse-project-publish): Allow project-level publishing function to
1545 be specified by :publish-project element. The default is
1546 muse-project-publish-default.
1548 * lisp/muse-publish.el (muse-publish-file): Message fix.
1550 * texi/muse.texi (Book): Mention new way to publish books and
1551 provide an example, since the process may be non-obvious.
1553 2006-12-20 Michael Olson <mwolson@gnu.org>
1555 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1556 content-modifying code from the rest of
1557 muse-docbook-finalize-buffer.
1559 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1560 muse-groff-finalize-buffer, since it adds content to the buffer.
1562 * lisp/muse-html.el (muse-html-munge-buffer): Split out
1563 content-modifying code from the rest of muse-html-finalize-buffer.
1564 This fixes a bug when using <include> with <content> tags.
1566 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1567 (muse-journal-latex-munge-buffer)
1568 (muse-journal-rss-munge-buffer): Rename, since they add content to
1571 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1572 muse-latex-finalize-buffer, since it adds content to the buffer.
1574 * lisp/muse-mode.el:
1575 * lisp/muse-project.el:
1576 * lisp/muse-publish.el:
1577 * lisp/muse.el: Fix recursive load error.
1579 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1580 muse-texinfo-finalize-buffer, since it adds content to the buffer.
1582 * lisp/muse-wiki.el: Comment cleanup.
1584 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1586 2006-12-17 Michael Olson <mwolson@gnu.org>
1588 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1589 Remove the definition of \comment, since Latex already has comment
1591 (muse-latex-markup-strings): Use the Latex comment syntax, rather
1592 than our own. Thanks to Ryan Stutsman for pointing this out.
1594 2006-12-02 Michael Olson <mwolson@gnu.org>
1596 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1597 that this can generate a proper table of contents for Planner HTML
1600 2006-12-01 Michael Olson <mwolson@gnu.org>
1602 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1603 using a very old Emacs, avoid an infinite loop that could occur
1604 when the regexp is an empty string.
1606 2006-11-26 Michael Olson <mwolson@gnu.org>
1608 * NEWS: Bring up to date.
1610 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1611 list issues and multiple-stanza verse issues. This takes care of
1612 all of the markup issues I was worried about.
1614 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1615 (muse-project-publish-private-files): New option that indicates
1616 whether files with private filesystem permissions should be
1617 published. The default is to publish them, since it avoids
1618 confusion in new users.
1619 (muse-project-private-p): Use it.
1621 2006-11-19 Michael Olson <mwolson@gnu.org>
1623 * lisp/muse-project.el (muse-project-resolve-link): If no remote
1624 style is found, which means that the link is not a Muse page, do
1625 not add a suffix or prefix to it. This should fix the
1626 "[[thing.owl]]" bug that Phillip Lord reported.
1628 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1629 removing unused 2nd argument.
1631 2006-11-17 Michael Olson <mwolson@gnu.org>
1633 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1634 latex publishing where nested enumerated lists would be squashed
1635 together at the end.
1637 2006-11-16 Michael Olson <mwolson@gnu.org>
1639 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1640 list embedded in a definition list look right. This also allows
1641 for definitions to be separated from their terms, much like the
1642 way HTML does it by default, if the user puts a blank line or a
1643 line break between the term and the definition. If the term and
1644 definition are on the same line, they will be that way in the
1647 2006-11-11 Michael Olson <mwolson@gnu.org>
1649 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
1651 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1653 2006-11-07 Michael Olson <mwolson@gnu.org>
1655 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1656 release candidate for Muse 3.03, available.
1660 2006-11-06 Michael Olson <mwolson@gnu.org>
1662 * lisp/muse-project.el (muse-project-find-file): Fix bug when
1663 following a relative link worked even when the path was incorrect.
1665 2006-11-04 John Sullivan <john@wjsullivan.net>
1667 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1668 muse-follow-name-at-point to reduce collisions with other
1671 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1673 2006-11-04 Michael Olson <mwolson@gnu.org>
1675 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1676 optional, and make interwiki delimiter a regular rather than shy
1678 (muse-wiki-handle-implicit-interwiki): Rename from
1679 muse-wiki-handle-interwiki. Use match group 3 to get the page.
1680 (muse-wiki-handle-explicit-interwiki): New function that is
1681 smarter about where an explicit link ends in a buffer. This
1682 allows you to refer to page names with invalid Wiki characters,
1683 such as underscores and dashes, merely by enclosing them in double
1684 brackets. Also, a bug with recognizing project names too loosely
1687 2006-11-03 Michael Olson <mwolson@gnu.org>
1689 * lisp/muse-project.el (muse-project-page-file): Make relative
1690 links work as expected, hopefully.
1692 * lisp/muse-publish.el (muse-publish-this-file): Set the current
1693 output style manually, since it will differ from anything in the
1694 publishing style list.
1696 2006-10-30 Michael Olson <mwolson@gnu.org>
1698 * lisp/muse-colors.el (muse-colors-markup): Remove note about
1699 grouping elements, since that no longer applies.
1700 (muse-colors-custom-tags): Explicitly match against
1701 muse-tag-regexp to get the match-data set the way we want. This
1702 really fixes the <example> highlighting bug that Stefan reported.
1703 (muse-configure-highlighting): Set the original value to the
1704 symbol, not the modified value. Re-use modified rules properly.
1706 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1707 introduced yesterday.
1709 2006-10-29 Michael Olson <mwolson@gnu.org>
1711 * examples/mwolson: Update my example configuration.
1715 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1716 without a regexp in the first position before iterating through
1717 them to build muse-colors-vector. This fixes a bug with the
1718 display of <example> tags. Thanks to Stefan Reichör for the
1721 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1722 files in projects to be linked to.
1724 * lisp/muse-publish.el (muse-publish-url): Allow the original link
1725 to serve as a description for a URL, as long as it differs from
1726 the destination URL. This fixes the description of WikPage links
1728 (muse-publish-link-file): Check to see whether the given link
1729 points at a valid file. If so, return it. Otherwise, apply other
1730 transforms like prefix and link suffix.
1732 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1733 "/", it is a file or directory, not a Muse page. Thanks to
1734 Phillip Lord for the suggestion.
1736 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1737 of the current page as the local path, instead of duplicating the
1738 remote file's path. This probably fixes at least one reported
1739 bug. since it's quite major.
1740 (muse-wiki-update-project-file-regexp)
1741 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1742 passed to regexp-opt, since that can cause Emacs 21 to throw an
1743 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
1744 DOT edu for the report.
1745 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1747 2006-10-28 Michael Olson <mwolson@gnu.org>
1749 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1750 (muse-project-resolve-link): If the given style does not have a
1751 link-suffix, default to suffix. This fixes a bug I was noticing
1752 when linking to a file that was published in both PDF and HTML
1755 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1756 function that is used as a callback to determine the initial
1757 amount of indentation that the current dl item has.
1758 (muse-publish-surround-dl): Use it. Pass the initial indent value
1759 and the post-indent value, instead of trying to determine them
1761 (muse-publish-strip-list-indentation): New function stripped from
1762 `muse-publish-surround-text' for readability.
1763 (muse-publish-surround-text): Instead of taking a determine-indent
1764 value, take a determine-indent-func function, which is called just
1765 after finding the next list item. If we are asked to determine
1766 the amount of indentation, concatenate indent and post-indent the
1767 first time around. This effectively fixes all known definition
1770 2006-10-16 Michael Olson <mwolson@gnu.org>
1772 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1773 other software -- namely, Planner -- can detect whether they are
1774 using a version of Muse that supports nested tags.
1775 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1776 muse-publish-goto-tag-end.
1778 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1779 Adapt for nested tags.
1781 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1782 <class> tag is nestable. Thanks to Phillip Lord for noticing
1785 * lisp/muse-publish.el (muse-publish-markup-tag)
1786 (muse-publish-quote-tag): Use muse-goto-tag-end.
1788 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1790 2006-10-15 Michael Olson <mwolson@gnu.org>
1792 * AUTHORS: Bookkeeping.
1794 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1797 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1800 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1802 * lisp/muse-import-docbook.el (muse-import-docbook)
1803 (muse-import-docbook-files): Docfix.
1804 (muse-import-docbook-get-title): Remove cl.el-ism.
1806 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1808 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1810 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1812 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1813 (muse-next-reference, muse-previous-reference): Minor whitespace
1815 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
1818 * lisp/muse-poem.el (muse-poem-tag): Ditto.
1820 * lisp/muse-publish.el (muse-publish-markup-tags)
1821 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1822 element and make 4th element determine whether tags are nestable.
1823 (muse-publish-goto-tag-end): New function that moves to the end of
1824 a tag. Handle nested tags when NESTED is non-nil.
1825 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
1826 5th element for function.
1827 (muse-publish-quote-tag): Handle nested quote tags. I've tested
1828 this on several scenarios, and it seems to work.
1829 (muse-publish-surround-text): Accept new optional argument
1830 LIST-ITEM which determines the regexp to use for list items. The
1831 default is to use muse-list-item-regexp.
1833 * muse.texi (Markup Tags): Mention nestable tags.
1835 * NEWS: Mention new files.
1837 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
1839 * lisp/muse-import-docbook.el: New file that converts Docbook XML
1842 * lisp/muse-import-xml.el: New file that provides helper routines
1843 for converting XML-ish files to Muse format.
1845 2006-10-10 Michael Olson <mwolson@gnu.org>
1847 * NEWS: Update for 3.02.7 bugfix release.
1849 2006-10-06 Sasha Kovar <sasha@arcocene.org>
1851 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1852 using the value in the muse #date directive.
1853 (muse-blosxom-use-metadate): New option that determines whether or
1854 not to use the #postdate directive.
1855 (muse-blosxom-format-date): Convert a date string to PyBlosxom
1856 metadate plugin format.
1858 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
1860 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1863 * muse.texi: Clarify handling of implicit links by mentioning
1864 which characters can prevent Muse from recognizing something as an
1867 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
1869 * lisp/muse-mode.el (muse-next-reference)
1870 (muse-previous-reference): Fix bug #6367 by moving point to the
1871 beginning of the link.
1873 2006-09-26 Michael Olson <mwolson@gnu.org>
1875 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1876 beginning-of-line. This should fix a bug that was noticed in
1877 recent Emacs 22 builds.
1879 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1880 eval-and-compile block to avoid a compiler warning.
1882 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
1884 * lisp/muse-backlink.el (muse-backlink-split-string):
1885 Compatibility with Emacs versions < 22
1886 (muse-backlink-pending): New internal variable
1887 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1888 that backlinks are inserted at the right time.
1889 (muse-backlink-insert-hook-func): Remove unwind-protection; check
1890 for pending backlink, and that this is the targe page.
1891 (muse-backlink-handle-link): Don’t handle the link if we are
1892 already handling one. Return the link as well as the parent links.
1894 2006-09-25 Sasha Kovar <sasha@arcocene.org>
1896 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1897 #6942 - muse-blosxom-new-entry fails when using tags.
1899 2006-09-14 Michael Olson <mwolson@gnu.org>
1901 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1904 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
1906 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1907 function: Protect all wikiwords from START to END from further
1909 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1911 2006-09-13 Michael Olson <mwolson@gnu.org>
1913 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1914 adopted from Jim Ottaway's patch. It removes links from the
1915 heading, and then marks the region read-only to inhibit WikiWord
1918 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
1920 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1921 special handling for headings.
1922 (muse-texinfo-remove-links): New function that removes explicit
1923 links from the given strings, replacing them with a description.
1925 2006-09-11 Michael Olson <mwolson@gnu.org>
1927 * muse.texi (Getting Help and Reporting Bugs): Mention the
1928 muse-el-internationalization mailing list.
1930 * lisp/muse.el (muse-path-sans-extension): New function that acts
1931 like file-name-sans-extension, but guarantees to never modify the
1932 directory part of the path. Thanks to Evan Monroig for
1935 * lisp/muse-book.el (muse-book-publish-project): Use
1936 muse-path-sans-extension instead of file-name-sans-extension.
1938 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1941 2006-08-30 Michael Olson <mwolson@gnu.org>
1943 * muse.texi (Blosxom Requirements): Fix typo.
1945 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1946 directories for bzr and darcs.
1948 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1949 contrib/pyblosxom/getstamps.py: Update version and headers.
1951 2006-08-27 Michael Olson <mwolson@gnu.org>
1953 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1954 nil values before they get to mapconcat. This fixes a lockup when
1955 muse-wiki-match-all-project-files is nil.
1957 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1958 (muse-wiki-ignore-implicit-links-to-current-page)
1959 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1960 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1961 (muse-wiki-publish-small-title-words)
1962 (muse-wiki-publish-pretty-title): Docfix.
1963 (muse-wiki-update-local-wikiword-regexp): Rename from
1964 muse-wiki-update-local-wikiword-regexp. Set
1965 muse-wiki-project-file-regexp instead of
1966 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
1967 take muse-wiki-use-wikiword into account, since this is a
1968 different concept now.
1969 (muse-wiki-update-wikiword-regexp): Remove.
1970 (muse-wiki-wikiword-regexp): In-line the :set function.
1971 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
1973 2006-08-26 Michael Olson <mwolson@gnu.org>
1975 * lisp/muse-publish.el (muse-publish-surround-text): When looking
1976 for indented list items, ignore blank lines.
1978 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
1979 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
1980 mapconcat. This should hopefully fix a problem with large amounts
1981 of files with spaces in their name. Thanks to Greg Detre for the
1984 2006-08-24 Michael Olson <mwolson@gnu.org>
1986 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
1987 numbers from the argument to format-time-string. This fixes an
1988 XEmacs bug. Thanks to Michael Welle for the report and analysis.
1990 2006-08-18 Michael Olson <mwolson@gnu.org>
1992 * lisp/muse-project.el (muse-project-file-entries): Since we are
1993 given a full path, match against the filename as well. This fixes
1994 an issue where backup files were being added to the file alist.
1996 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
1999 2006-08-12 Michael Olson <mwolson@gnu.org>
2001 * Makefile (.PHONY): Don't use line continuations.
2002 (realclean fullclean): Call realclean in subdirs, not distclean.
2003 (distclean): Don't call realclean, since this would wipe out our
2005 (dist): Use correct path to autoloads file.
2007 * NEWS: Catch up with the latest changes.
2009 * experimental/Makefile (.PHONY): Wrap long line.
2011 * lisp/Makefile (distclean): Do the same thing as "clean", not
2014 * lisp/muse-project.el (muse-project-get-applicable-style):
2016 (muse-project-ignore-regexp, muse-project-recurse-directory):
2018 (muse-project-of-file): Try the ignored files regexp against the
2019 base filename as well as the entire path.
2021 * lisp/muse-publish.el (muse-publish-this-file): Display message
2022 if the buffer is not associated with any file, so that we avoid
2024 (muse-publish-url-desc): New function taken from muse-publish-url
2025 that causes a URL description to be transformed.
2026 (muse-publish-url): Call muse-publish-url-desc on either the
2027 description or the original URL if it will be used as a
2028 description. Accept the original URL as an argument, in case it
2029 was transformed earlier.
2030 (muse-publish-insert-url): Pass original URL as an argument.
2031 (muse-publish-markup-link): Make this somewhat easier to follow.
2032 Pass original URL as argument.
2033 (muse-publish-get-style): If the same style is used to publish to
2034 two different directories, prompt the user for which directory to
2036 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
2038 (muse-publish-markup-url): Pass original URL as an argument. This
2039 fixes the "nil" description for bare URLs that was in 3.02.91.
2040 Nothing like finding a bug just after completing the announcement
2043 * lisp/muse.el: Use defalias whenever convenient.
2044 (muse-version): Set version to 3.02.92 (3.03 RC2).
2046 2006-08-10 Michael Olson <mwolson@gnu.org>
2048 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
2049 style does not derive from any other class, return `t' here.
2050 This, along with the corresponding change to muse-publish.el,
2051 fixes a problem with the table of contents getting inserted
2052 multiple times for custom html-based styles.
2053 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
2054 smarter method for table centering that works with XHTML.
2056 * lisp/muse-latex2png.el Rename all functions to have a
2057 "muse-latex2png" prefix. Turn all variables into customizable
2058 options in the muse-latex2png group.
2059 (muse-latex2png-img-dest): New option specifying where to place
2061 (muse-latex2png-template): New option containing the template to
2062 use for the surrounding LaTeX code.
2063 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
2065 (muse-latex2png-move2pubdir): Avoid multiple redundant error
2066 messages when something else goes wrong. Create the image
2067 subdirectory if it doesn't exist already -- thanks to Christian
2068 Straßer for the report. Expand the filename properly.
2069 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
2070 and filename expansion.
2071 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
2072 the default directory properly.
2074 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
2075 do not run the same function twice.
2077 2006-08-08 Michael Olson <mwolson@gnu.org>
2079 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
2080 introduced wrong-type-argument error.
2082 * lisp/muse-html.el (muse-html-markup-strings)
2083 (muse-xhtml-markup-string): Cause table definition that contains
2084 image to be center-aligned. This should fix an issue with images
2085 not being centered when captions are very long.
2087 * lisp/muse-publish.el (muse-publish-table-fields): Trim
2088 whitespace from fields once we have split them up.
2090 * lisp/muse.el (muse-trim-whitespace): New function that strips
2091 leading and trailing whitespace from a string.
2093 2006-08-07 Michael Olson <mwolson@gnu.org>
2095 * NEWS: Update through patch-95.
2097 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
2099 (muse-colors-explicit-link): Show images in link descriptions if
2100 inlined images are enabled.
2102 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
2103 definitions for 'image-with-desc, 'image, and 'image-link.
2104 (muse-docbook-markup-paragraph): If an inlined image begins a
2105 paragraph, insert <para> before it.
2106 (muse-docbook-fixup-images): New function that upper-cases the
2107 "format" attribute of the <imagedata> tag.
2108 (muse-docbook-finalize-buffer): Call it.
2110 * lisp/muse-html.el (muse-html-markup-strings): Publish images
2111 with descriptions as centered tables, with a centered caption
2112 underneath. The resulting look is consistent with the way that
2113 they are published in the LaTeX style. Thanks to Jody Klymak for
2115 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
2116 valid way to center a table.
2117 (muse-html-markup-paragraph): Use class="image" instead of
2118 "image-link" for paragraphs that start with an embedded image.
2120 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
2121 \textbackslash{} for "\". Thanks to Jim Ottaway for the
2123 (muse-latex-markup-specials-image): New option that enables
2124 escaping of specials in images. This was split from the URL
2126 (muse-latex-decide-specials): Handle 'image context.
2127 (muse-latex-fixup-dquotes): Go to beginning of document, instead
2128 of relying on caller to do this for us.
2130 * lisp/muse-publish.el (muse-publish-escape-specials): Document
2132 (muse-publish-url): Use 'image context for images. Use 'image
2133 instead of 'image-link and 'image-link in place of
2134 'url-with-image. Separate the image file from its extension so
2135 that docbook and texinfo can publish images correctly.
2136 (muse-publish-markup-link): Don't force a description if one is
2137 not given. This fixes a bug where images without descriptions
2138 were being published as 'image-with-desc instead of 'image.
2140 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
2141 images the same as URLs.
2142 (muse-texinfo-markup-strings): Improve image markup to achieve an
2143 effect similar to that of the LaTeX publishing style. Simplify
2146 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
2148 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
2149 when we have to use the custom version of this function.
2151 * muse.texi (Images): Explain how to toggle inlining of images and
2152 give better examples. Mention captions and that captioned images
2153 should not be used inside of text paragraphs.
2154 (Markup Strings): Bring up-to-date with the changes made since
2157 2006-08-06 Michael Olson <mwolson@gnu.org>
2159 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
2160 in the Emacs source tree.
2162 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
2163 in the Emacs source tree.
2165 * ChangeLog.3: New file created from the old ChangeLog.
2167 * Makefile.defs (VERSION): Set to 3.02.91.
2169 * NEWS: Update through patch-84.
2171 * lisp/muse.el (muse-version): Set to 3.02.91.
2173 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
2175 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
2176 delimiter are instead of hard-coding it.
2178 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
2179 (muse-mode): Make filling definition lists work better. This
2182 * lisp/muse-publish.el (muse-style-run-hooks): Use
2183 `muse-style-element' instead of `muse-get-keyword' here. This
2186 * muse.texi: Set version to 3.02.91 (3.02 RC2).
2188 See ChangeLog.3 for earlier changes.