1 2007-07-29 Michael Olson <mwolson@gnu.org>
3 * Makefile.defs.default: Rename from Makefile.defs. This allows
4 people to copy this file to Makefile.defs and make changes,
5 without having the changes be accidentally committed. If
6 Makefile.defs does not exist, this file is read instead, in order
7 to minimize inconvenience to the casual user.
9 * Makefile, contrib/Makefile, examples/Makefile,
10 experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
11 Makefile.defs.default or Makefile.defs.
13 2007-07-29 Jean Magnan de Bornier <jean@bornier.net>
15 * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
16 command which did not work correctly
18 * lisp/muse-context.el (muse-context-markup-strings): Change rule
19 command which did not work correctly; defined verse commands
20 (muse-context-markup-specials-literal): Eliminate all unuseful entries
22 2007-07-29 Michael Olson <mwolson@gnu.org>
24 * contrib/httpd.el (httpd-send-file): Use
25 insert-file-contents-literally instead of insert-file-contents.
27 * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
28 Use insert-file-contents-literally instead of
31 * experimental/muse-split.el (muse-publish-file)
32 (muse-publish-presplit-publish, muse-publish-no-split-function)
33 (muse-journal-split-by-entry, muse-journal-split-by-month): Use
34 insert-file-contents-literally instead of insert-file-contents.
36 * lisp/muse-book.el (muse-book-publish-chapter)
37 (muse-book-get-directives): Use insert-file-contents-literally
38 instead of insert-file-contents.
40 * lisp/muse-http.el (muse-http-render-page): Use
41 insert-file-contents-literally instead of insert-file-contents.
43 * lisp/muse-import-latex.el (muse-import-latex): Set marker to
44 nowhere when done, since they can slow things down.
46 * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
47 marker to nowhere when done, since they can slow things down.
49 * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
50 when done, since they can slow things down. Use
51 insert-file-contents-literally instead of insert-file-contents.
53 * lisp/muse-publish.el (muse-publish-markup-tag)
54 (muse-publish-markup-word, muse-publish-markup-footnote)
55 (muse-publish-call-tag-on-buffer): Set markers to nowhere when
56 done, since they can slow things down.
57 (muse-insert-file-or-string, muse-publish-file)
58 (muse-publish-include-tag, muse-published-contents): Use
59 insert-file-contents-literally instead of insert-file-contents.
60 (muse-publish-surround-dl): Remove unused variable. Track whether
61 a term has been found, and handle that case well.
62 (muse-publish-ensure-blank-line): Use a marker, so that we don't
63 lose our place when adding a newline. This really fixes the
64 definition list item bug.
65 (muse-publish-markup-list): Since people do seem to want
66 definition lists with no terms, allow this.
67 (muse-batch-publish-files): Set muse-current-output-style.
69 * lisp/muse.el (muse-with-temp-buffer): Mention
70 `insert-file-contents-literally'.
72 2007-07-28 Michael Olson <mwolson@gnu.org>
74 * lisp/muse-mode.el (muse-browse-result): Set
75 muse-current-output-style.
76 (muse-mode): Don't duplicate the paragraph-start regexp
78 (muse-list-edit-minor-mode-map): New variable containing the
79 keymap for Muse list edit minor mode.
80 (muse-l-e-m-m-list-item-regexp): New variable that matches list
81 items for Muse list edit minor mode.
82 (muse-l-e-m-m-insert-list-item,
83 muse-l-e-m-m-i-list-item-indentation)
84 (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
85 item functions that change the list item regexp before calling the
87 (muse-l-e-m-m-data): New variable that keeps track of the fill
88 data that we overwrite when activating Muse list edit minor mode,
89 so that we can restore it if the minor mode is toggled off.
90 (muse-list-edit-minor-mode): New minor mode that is useful for
91 editing lists in other major modes.
92 (turn-on-muse-list-edit-minor-mode)
93 (turn-off-muse-list-edit-minor-mode): New interactive functions
94 that turn Muse list edit minor mode on and off, respectively.
95 (muse-on-blank-line, muse-get-paragraph-start): Simplify some
98 * lisp/muse-project.el (muse-project-publish-this-file): Set
99 muse-current-output-style. This fixes a bug when publishing to a
100 style that is not first in the list of styles. Thanks to Jean
101 Magnan de Bornier for the report.
103 * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
104 function that ensures that a blank line exists in the line before
106 (muse-publish-markup-list): Use it, rather than
107 `muse-publish-ensure-block'. This fixes a bug with definition
108 list publishing. Thanks to meandtheshell for reporting this.
110 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
111 project argument is nil, default to the current project instead of
112 the first project entry in muse-project-alist. This seems much
115 * lisp/muse.el (muse-forward-list-item): Only check the 'face
116 property if we are in Muse mode or one of its derivatives. This
117 allows movement on nested lists to work in other modes, and fixes
118 an issue with altering list indentation in
119 muse-list-edit-minor-mode.
121 2007-07-27 Michael Olson <mwolson@gnu.org>
123 * AUTHORS: Add new authors.
125 * README: Permit Muse to be called "Emacs-Muse".
127 * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
129 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
130 involving list items that have an extra blank line in front.
132 * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
133 and Emacs-Muse are the same thing.
135 2007-07-27 Jean Magnan de Bornier <jean@bornier.net>
137 * lisp/muse-context.el (muse-context-header): Put
138 starttext after the modules who must be in preamble.
139 (muse-context-markup-strings): Fixed mistake in begin-example and
142 * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
143 math environment in ConTeXt when centered: "$$ $$" has to be
144 "\startformula \stopformula".
146 2007-07-26 Michael Olson <mwolson@gnu.org>
148 * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
151 2007-07-24 Michael Olson <mwolson@gnu.org>
153 * examples/QuickStart.muse (Images): Fix typo where some text
154 existed in the output but not in the example region.
155 (Source Code): Fix another typo. Explain that publishing from
156 console or X can make a difference.
158 * lisp/muse-context.el (muse-context-pdf-program): New option that
159 determines the program to use for generating PDF files for
161 (muse-context-pdf-cruft): New option that specifies the extensions
162 of files to remove after generating PDF output successfully.
163 (muse-context-slides-header): Docfix.
164 (muse-context-pdf-generate): Use new options.
166 * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
167 save-restriction call. This was causing a world of hurt when
168 using <lisp> inside of <include>.
170 * texi/muse.texi (ConTeXt): New section that documents how to use
171 the ConTeXt publishing styles.
173 2007-07-23 Michael Olson <mwolson@gnu.org>
175 * lisp/muse-context.el: New file that provides support for
176 publishing documents to the ConTeXt format. Thanks to Jean Magnan
177 de Bornier for his work on this.
179 * lisp/muse-docbook.el (muse-docbook-entities)
180 (muse-docbook-bibliography): Remove unneeded save-restriction use.
182 * lisp/muse-latex2png.el (muse-publish-latex-tag):
185 * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
186 (muse-latex-bibliography): Remove call to `widen', since it is not
187 needed anymore. Remove unneeded save-restriction use.
188 ("slides", "slides-pdf"): Indent elements uniformly.
190 2007-07-22 Michael Olson <mwolson@gnu.org>
192 * lisp/muse-blosxom.el (muse-blosxom-new-entry):
193 * lisp/muse-mode.el (muse-insert-tag):
194 * lisp/muse-project.el (muse-read-project)
195 (muse-read-project-file):
196 * lisp/muse-publish.el (muse-publish-get-style): Use
197 muse-completing-read-function.
199 * lisp/muse-latex2png.el (muse-publish-latex-tag)
200 (muse-publish-math-tag): Allow the contex style -- which I plan to
201 include soon -- to work with these tags.
203 * lisp/muse.el (muse-completing-read-function): New option that
204 determines which function to call when doing a completing-read.
206 2007-07-15 Michael Olson <mwolson@gnu.org>
208 * lisp/muse-journal.el (muse-journal-html-entry-template)
209 (muse-journal-rdf-entry-template)
210 (muse-journal-rss-entry-template): Mention that this can be text
212 (muse-journal-rdf-entry-template, muse-journal-rss-header)
213 (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
214 newlines to make the output look nicer.
215 (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
216 Use muse-insert-file-or-string for the entry templates, rather
217 than muse-insert-markup. This allows <lisp> and <markup> tags to
218 be acted on. Thanks to Scott Hyde for the report.
219 (muse-journal-html-munge-buffer): Escape quote of the day using
220 entire-document specials before snarfing it. Mark entire template
221 as read-only -- this fixes an incorrect escaping bug. Remove
222 read-only properties before replacing template matches so that
223 they can still be escaped with entire-document specials later on.
224 (muse-journal-rss-munge-buffer): Make sure that title is escaped
226 (muse-journal-markup-tags): Rename from
227 muse-journal-latex-markup-tags, because we will use it for
228 journal-rss-entry as well.
229 (muse-journal-qotd-tag): Move higher. Use begin-quote-item and
231 (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
233 ("journal-latex", "journal-pdf", "journal-book-latex")
234 ("journal-book-pdf"): Use muse-journal-markup-tags rather than
235 muse-journal-latex-markup-tags.
236 ("journal-rss-entry"): New style that is used by journal-rss and
237 journal-rdf to mark up individual entries. It is needed so that
238 we can do something meaningful with the qotd tag.
239 (muse-journal-rdf-summarize-entries): Set this to nil by default,
240 because it is annoying. Update docs to mention this.
241 (muse-journal-rss-summarize-entries): Docfix.
243 * lisp/muse-publish.el (muse-insert-file-or-string): Use
244 muse-publish-markup-header-footer-tags. I'm not quite sure how
245 this change got reverted.
246 (muse-markup-tag-info): Make into a function. Move common code
247 here, rather than duplicating it in two places. Deal with case
248 where muse-publish-use-header-footer-tags is non-nil.
249 (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
250 (muse-inhibit-style-tags): Move higher to avoid byte-compiler
252 (muse-publish-use-header-footer-tags): New variable that indicates
253 whether we should use just the header and footer tags, rather than
255 (muse-insert-file-or-string): Bind
256 muse-publish-use-header-footer-tags to t.
257 (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
258 Simplify call to muse-markup-tag-info.
259 (muse-publish-mark-up-tag): Bind
260 muse-publish-use-header-footer-tags to nil.
262 * texi/muse.texi (Journal): Update for recent changes.
264 2007-07-14 Michael Olson <mwolson@gnu.org>
266 * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
267 delete the remainder of the buffer, since this causes the
268 resulting RDF to have invalid syntax. Thanks to Phillip Lord for
269 the report and the suggested fix.
271 * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
272 beginning of table-el regexp. This fixes a bug where Muse stalls
273 when trying to publish a malformed table. Thanks to Ye Wenbin for
274 the report and the suggested fix.
276 2007-07-12 Michael Olson <mwolson@gnu.org>
278 * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
279 default, rather than the empty string. This really fixes the bug
280 that occurred when using Muse with muse-project-alist set to nil.
281 Thanks to Jonathan Underwood for the report.
282 (muse-wiki-update-interwiki-regexp): Set
283 muse-wiki-interwiki-regexp to nil if muse-project-alist is not
285 (muse-wiki-handle-implicit-interwiki)
286 (muse-wiki-handle-explicit-interwiki): Handle case where
287 muse-wiki-interwiki-regexp is nil.
289 2007-07-10 Michael Olson <mwolson@gnu.org>
291 * lisp/muse-mode.el (muse-grep): Abort search if the current
292 project contains no directories.
294 * lisp/muse-project.el (muse-project-file-alist): If
295 muse-project-alist is not defined, or project is nil, return nil
296 right away. This ought to fix a bug that occurred when using Muse
297 with muse-project-alist set to nil.
298 (muse-project-of-file): Make sure muse-project-alist is not nil.
299 (muse-project-save-buffers): Make sure project is not nil.
301 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
302 case where muse-project-alist is nil.
304 * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
305 for XEmacs, since color-theme.el is poorly behaved, and defines
306 its own replace-in-string. Bad color-theme.el -- no cookie for
309 2007-07-01 Michael Olson <mwolson@gnu.org>
311 * Makefile (.PHONY): Update for new debian package rules.
313 * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
315 * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
316 Use save-restriction properly.
317 (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
319 * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
320 (muse-latex-fixup-citations): Re-indent. Use save-restriction
322 (muse-latex-bibliography): Re-indent.
324 * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
325 higher. This fixes an error at startup with some versions of
327 (muse-publish-cite-tag): Re-indent.
329 * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
330 to the end of the link part, so as to exclude the description from
331 the match. This fixes a bug with three-part links that have
332 descriptions. Thanks to everyone who pointed it out.
334 2007-06-18 Michael Olson <mwolson@gnu.org>
336 * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
337 (muse-xhtml1.1-markup-strings): New option that specifies XHTML
338 1.1 specific markup strings.
339 (muse-html-insert-anchor): Use 'anchor string, rather than
340 hard-coding it. Thanks to Chris Corsair for the suggestion.
341 ("xhtml1.0"): New style that is an alias for the xhtml style.
342 ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
344 2007-06-17 Michael Olson <mwolson@gnu.org>
346 * examples/QuickStart.muse: Make images local so that the Info
347 version of this document works. Add <example> for the Literal
348 paragraphs chapter, so that it is clear what is happening.
350 * Makefile: Add elpa target, which is used for building an ELPA
353 * Makefile.defs (ELPADIR, ELPADESC): New variables used for
354 building ELPA packages.
356 * examples/Makefile (%.html, %.pdf, %.info): Add message to
357 indicate what we are publishing.
358 (realclean distclean fullclean): Remove all TeX crud.
360 * examples/emacs-muse.png, examples/muse-made-with.png: Include so
361 that the Info version of QuickStart can publish correctly.
363 * lisp/muse-latex.el (muse-latex-slides-header)
364 (muse-latex-lecture-notes-header): Docfix.
366 * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
367 the list of things to ignore.
369 * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
372 * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
373 default to nil, since texinfmt.el is a serious nuisance.
374 (muse-texinfo-markup-strings): Add newlines to begin-example and
376 (muse-texinfo-decide-specials): Also escape URL-type specials in a
377 whole slew of other contexts.
379 * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
382 * lisp/muse-xml.el (muse-xml-footer): Docfix.
384 * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
386 2007-06-16 Michael Olson <mwolson@gnu.org>
388 * etc/IDEAS.muse: Add some ideas from David D. Smith.
390 * examples/QuickStart.muse: Overhaul.
392 * lisp/muse-project.el (muse-project): Call the last part of a
393 muse-project-alist entry "Output styles" rather than "styles".
395 * lisp/muse-publish.el (muse-publish-table-fields): Handle case
396 where we have a pipe character at the beginning of line.
398 * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
399 causing tables to not be sorted at all.
401 * texi/muse.texi: Overhaul. It would be too time-consuming to
402 list all of the changes here. The "Getting Started" and
403 "Projects" chapters, in particular, were heavily revised.
405 2007-06-15 Michael Olson <mwolson@gnu.org>
409 * examples/QuickStart.muse: Mention new features.
411 * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
412 Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
413 terminal, and C-c TAB is more important. Most people will not
414 want to toggle images on and off that often.
416 * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
417 C-i as well, so that it works in the terminal.
419 * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
420 look a bit tidier when removing the region.
422 * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
423 list regexp part before other parts.
424 (muse-ol-item-regexp): New regexp that specifies how to match an
426 (muse-ul-item-regexp): New regexp that specifies how to match an
428 (muse-table-field-regexp): New regexp that specifies how to match
429 a definition list entry.
431 * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
432 lack of support for @headitem in texinfmt.el.
434 * lisp/muse.el: Wrap muse-line-beginning-position and
435 muse-line-end-position in `eval-and-compile', since they are now
437 (muse-list-item-type): Use a simpler algorithm for detecting which
438 kind of list item we have. This fixes a bug where a number in a
439 definition list term was being detected incorrectly as an ordered
440 list item. Fixes bug #6250.
441 (muse-forward-list-item): Get the entire line with the list item.
442 For some reason, Emacs 21 was not populating match 2 correctly,
443 unlike Emacs 22, so this workaround was needed.
445 * texi/muse.texi: (Keystroke Summary): Remove C-c
446 C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
447 alternative keybinding to the C-c TAB stuff. Mention
448 muse-colors-toggle-inline-images.
450 2007-06-14 Michael Olson <mwolson@gnu.org>
452 * README: Mention that RelaxNG schema is in etc/ directory.
454 * etc/emacs-wiki-migration.txt: New document that explains how to
455 migrate from emacs-wiki to Muse.
457 * etc/muse.rnc: Increment version number to 1.0. Fix several
458 nested emphasis and nested lists edge cases. Move here from
461 * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
462 same thing as C-c C-S-t, since the former works better in the
463 console. Thanks to Leo for the suggestion.
465 * lisp/muse-publish.el (muse-publish-markup-table)
466 (muse-publish-markup-table-el): Include a newline in the return
467 string, so that paragraph detection does not get confused.
469 * lisp/muse.el (muse-with-temp-buffer): Docfix.
471 * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
474 2007-06-13 Michael Olson <mwolson@gnu.org>
476 * etc/IDEAS.muse: Mark three-part-links item as done.
478 * experimental/muse-message.el: Remove guard for muse-define-style
481 * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
482 markup rules were being interpreted in reverse order. This should
483 make implicit interwiki links work properly again.
484 (muse-link-face): Strip anchor from end of a path, so that this
485 works with anchors in interwiki links.
486 (muse-colors-insert-image): Catch error that occurs in Emacs 21
487 when an image does not exist.
489 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
491 (muse-wiki-handle-implicit-interwiki): Docfix. Make anchors in
492 interwiki links work. Thanks to Jim Ottaway for the initial
494 (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
497 * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
499 (muse-handle-explicit-link): Docfix: this does not modify the
501 (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
502 that has the regexp in its car.
504 2007-06-12 Michael Olson <mwolson@gnu.org>
506 * README: Document new etc/ directory.
508 * etc/IDEAS.muse: Install things from new contributors just after
509 the 3.03 release, since I won't have time to review the code
510 before the release. Move to new etc/ directory. Slides
511 publishing has been installed.
513 * lisp/muse-latex.el (muse-latex-slides-header): New option that
514 determines the header to use for publishing slides.
515 (muse-latex-lecture-notes-header): New option that determines the
516 header to use for publishing lecture notes.
517 (muse-latex-slides-markup-tags): New option containing tags to use
518 when publishing slides.
519 (muse-latex-permit-contents-tag): Move higher in file.
520 (muse-latex-slide-tag): New function to publish the <slide> tag.
521 ("slides", "slides-pdf"): New publishing styles that create slides
523 ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
524 create lecture notes using Beamer.
526 * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
527 since otherwise Planner is not happy when `plan' is called during
528 init. Remove stray quote from autoload snippet.
530 2007-06-11 Michael Olson <mwolson@gnu.org>
532 * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
533 autoload, rather than having it exist at top-level. Thanks to Leo
535 (muse-update-file-extension): Docfix.
537 2007-06-10 Michael Olson <mwolson@gnu.org>
539 * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
540 URLs were being removed during publishing. Thanks to everyone who
543 2007-06-09 Markus Hoenicka <markus.hoenicka@mhoenicka.de>
546 * lisp/muse-docbook.el
548 * lisp/muse-publish.el: added support for <cite> element which
549 denotes in-text citations
553 * lisp/muse-texinfo.el
554 * lisp/muse-xml.el: added support for <cite> element (stub)
556 2007-06-06 Michael Olson <mwolson@gnu.org>
558 * lisp/muse-regexps.el (muse-table-line-regexp)
559 (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
560 regexps so that they work with XEmacs 21. Thanks to Adrian
561 Tritschler for the report.
563 * texi/muse.texi: Update copyright years.
564 (HTML): Document muse-xhtml-style-sheet. Thanks
565 to thorne for noticing.
566 (Development): Change archive year to 2006. Thanks to Adrian
567 Tritschler for noticing. So *that's* why some people had the 2005
570 2007-06-05 Michael Olson <mwolson@gnu.org>
572 * Makefile (install-info): Remove $(MANUAL).info part, since this
573 is taken care of already by texi/Makefile. Thanks to Leo for the
576 * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
577 read-only properties to qotd contents, so that they don't get
578 double-escaped. Thanks to Leo for the report.
580 2007-06-04 Michael Olson <mwolson@gnu.org>
582 * lisp/muse-colors.el (muse-link-face): If the link is to a remote
583 -- that is, Tramp or ange-ftp -- file, then do not call
584 file-exists-p on it. Thanks to Jim Ottaway for the suggestion.
587 * lisp/muse-html.el (muse-html-insert-contents): Add
588 documentation. Handle case where heading is read-only, but has
589 muse-contents property. Remove the muse-contents property for any
590 heading we come across so as to avoid double-including an item in
591 an outer table of contents.
592 (muse-html-denote-headings): New function that denotes whether a
593 heading is not read-only by adding the muse-contents property to
595 (muse-html-munge-buffer): If we are not to generate contents,
596 still denote headings, in case some outer layer wants to generate
597 contents for our headings. This should fix a bug with table of
598 contents and the <include> tag. Thanks to thorne for the report.
600 * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
601 muse-publish-generate-contents and set it to nil. This should
602 do the right thing when using <include> tags.
604 2007-06-02 Michael Olson <mwolson@gnu.org>
606 * NEWS: Update for non-inlined image change and support for
607 table.el style tables.
609 * examples/Makefile (clean): Clean backup files.
611 * examples/QuickStart.muse (Images): New section that describes
612 how to inline and not inline images.
614 * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
615 touch images that have "URL:" in front of them.
617 * lisp/muse-protocols.el (muse-url-protocols): Add handler for
618 "URL:". Use the identity function to resolve, since we don't want
619 to rip "URL:" out while publishing, due to some magic that depends
621 (muse-browse-url-url): New function that browses URLs that have
622 "URL:" in front of them, by removing the "URL:" part and
623 reprocessing the remainder.
625 * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
626 (muse-publish-url): Recognize images in the description before
627 images in the link. Fixes bug #5112. Thanks to Thomas Kappler
628 for the suggested workaround.
629 (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
631 (muse-publish-classify-url): If target begins with "URL:" return
633 (muse-publish-strip-URL): New function that strips "URL:" from the
634 beginning of a string. This is used to remove URL: from the link
635 description. * texi/muse.texi (Markup Strings): Clarify the
636 meanings of image-link, link, and link-and-anchor.
637 (muse-publish-markup-regexps): Move normal table rule to 2350.
638 Rule 2300 is now a regexp that matches table.el-style tables.
639 (muse-publish-markup-functions): Add table-el entry.
640 (muse-publish-table-el-table): New function that given a variant,
641 publishes a table.el-style table using the table in the matched
643 (muse-publish-markup-table-el): New function that determines
644 whether the table.el-style table can be published, and what
647 * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
648 the borders of table.el-style tables.
650 * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
651 the table has sufficient whitespace in front of it.
653 * texi/muse.texi (Images): Update for new non-inlined image
654 ability and provide example.
656 2007-05-31 Michael Olson <mwolson@gnu.org>
658 * NEWS: Add example for setting `muse-html-table-attributes'.
660 * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
661 Publish multiple tbody tags if there is a horizontal separator
662 after the heading, because that is valid HTML after all.
664 2007-05-30 Michael Olson <mwolson@gnu.org>
668 * lisp/muse-latex.el (muse-latex-markup-table): Deal with
669 horizontal separators in tables.
671 * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
672 horizontal separators in tables.
673 (muse-publish-trim-table): New function to remove initial and
674 final blank columns from a table.
675 (muse-publish-table-fields): Call `muse-publish-trim-table'. Deal
676 with horizontal separators, aka "hlines".
678 * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
679 defines the syntax of a horizontal separator in a table.
681 * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
682 horizontal separators. Publish header lines correctly.
684 * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
685 where we have nonnumbers as a row type. This ignores sorting for
687 (muse-xml-markup-table): Deal with horizontal separators. If the
688 markup supports table groups, make hlines separate table groups.
689 Otherwise, ignore them, since they cannot be marked up. Together,
690 these changes allow us to support orgtbl-mode tables. Thanks to
691 Carsten Dominik for the suggestion.
693 2007-05-26 Michael Olson <mwolson@gnu.org>
695 * lisp/muse-project.el (muse-project-alist-styles): Allow for
696 other things to be added to each generated style as well. For
697 example, this permits me to add
698 :base-url "http://blog.mwolson.org/"
701 2007-05-25 Michael Olson <mwolson@gnu.org>
703 * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
704 way of building Debian packages that preserves the original
705 release tarball and is more modular.
706 (debrevision, debrelease): Remove.
707 (dist): No need to remove the debian/ directory, since it is now
709 (debprepare): Copy over debian/ directory properly.
713 * examples/Makefile (clean): Remove QuickStart.texi, in case
714 something went wrong during the build.
715 (%.pdf): Publish the example using the normal pdf style, rather
718 * examples/QuickStart.muse: Add myself to the authors list.
720 * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
721 sufficient blank lines before the tag.
723 * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
724 we have sufficient blank lines before the tag.
726 * lisp/muse-latex.el (muse-latex-pdf-program): New option that
727 specifies the program to call in order to generate PDF content
729 (muse-latex-pdf-cruft): New option that specifies the extensions
730 of files to remove after generating PDF output successfully.
731 (muse-latex-pdf-generate): Use these new options. Work around the
732 annoying edge case where a tilde character exists in the filename
733 or directory path -- now this can only error out when the relative
734 path from the output file to the source file contains a tilde,
735 which is far less likely.
737 * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
738 muse-publish-ensure-block here after all, because <lisp> et al may
739 occur inline as part of other things.
741 * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
742 occur after full-document escaping, rather than before. This
743 prevents automatically-inserted Texinfo code from being escaped.
744 (muse-texinfo-pdf-generate): Rewrite to call
745 `muse-latex-pdf-generate' with pdftex as the generating binary,
746 because texi2pdf suffers irredeemably from the tilde edge case
749 2007-05-24 Michael Olson <mwolson@gnu.org>
751 * NEWS: Drop vague entries and position interesting entries closer
752 to the top of each section. Update for new changes.
754 * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
755 and bzr metadata directories to the list of things to ignore.
757 * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
758 `muse-publish-ensure-block-tag', since we will use it for more
760 (muse-publish-markup-list, muse-publish-verse-tag)
761 (muse-publish-quote-tag, muse-publish-example-tag)
762 (muse-publish-markup-attribute): Use it. This fixes a bug that
763 can occur when these types of markup occur immediately after a
764 paragraph. It's good to have defined behavior!
766 * texi/muse.texi (Markup Strings): Mention new argument for
769 2007-05-19 Michael Olson <mwolson@gnu.org>
771 * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
772 published footnotes and footnote references. Thanks to Scott
773 Jaderholm for the idea.
775 * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
776 link-and-anchor, on the recommendation of the original submitter.
778 2007-05-14 Michael Olson <mwolson@gnu.org>
780 * lisp/muse-latex.el (muse-latex-markup-strings): Use better
781 link-and-anchor markup. Thanks to Jean Magnan de Bornier for the
784 * lisp/muse-publish.el (muse-publish-url): Pass the url without a
785 file extension as the fourth argument.
787 * README, texi/muse.texi (Getting Help and Reporting Bugs):
788 Mention the new muse-el-logs mailing list.
790 2007-05-13 Michael Olson <mwolson@gnu.org>
792 * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
793 "\`" here. This fixes a problem with publishing custom URLs.
795 2007-05-12 Michael Olson <mwolson@gnu.org>
797 * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
798 update the list if the current buffer is associated with a file.
799 This fixes a bug with M-x muse-publish-region in a temporary
802 2007-05-01 Michael Olson <mwolson@gnu.org>
804 * lisp/muse-publish.el (muse-publish-region): Remove read-only
805 properties from the published buffer, so that the results can be
808 2007-04-23 Michael Olson <mwolson@gnu.org>
810 * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
811 find the footnote that goes with a reference, leave the reference
812 as-is. This fixes an error where control characters could be
813 placed in a published document.
815 2007-04-22 Michael Olson <mwolson@gnu.org>
817 * IDEAS.muse: Add muse-slides.el to list of things to include
820 * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
822 (muse-protocol-find): Find protocols correctly. Rewrite to use
824 (muse-browse-url): Don't concatenate "\`" here. Together, this
825 fixes a bug with browsing woman:// links.
827 * lisp/muse-project.el (muse-project-alist-styles): Deal with case
828 where entry-dir has a trailing backslash.
829 (muse-project-publish-file): If a style is malformed, skip it and
830 display a warning message. This should help people figure out
831 where the problem is.
833 2007-04-21 Michael Olson <mwolson@gnu.org>
835 * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
836 yet-to-be-included "contex" publishing style, use "$$" rather
837 than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
840 2007-04-20 Michael Olson <mwolson@gnu.org>
842 * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
843 variable that causes the :before and :before-end hooks to be
844 ignored when non-nil.
845 (muse-publish-markup-region): Use it. Also, guarantee that point
846 is at end of region after publishing.
847 (muse-publish-mark-up-tag): Simplify, taking advantage of the new
850 2007-04-19 Michael Olson <mwolson@gnu.org>
852 * IDEAS.muse: New file containing a list of ideas we have for new
853 features, or patches that have yet to be applied.
855 * README: Call it "Emacs Muse", not "the Emacs Muse". No need to
858 * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
861 * lisp/muse-publish.el (muse-publish-markup-tags): Handle
862 <literal> tags with muse-publish-literal-tag, rather than
863 muse-publish-mark-read-only.
864 (muse-publish-literal-tag): New function that publishes the
865 <literal> tag. It adds the ability to add the optional "style"
866 and "exact" elements, which cause text to only be included if the
867 current publishing style matches some criteria. The text will be
868 removed otherwise. Thanks to Jim Ottaway for the implementation.
869 (muse-publish-mark-up-tag): Let the <markup> tag take the
870 additional optional elements "style" and "exact", with much the
871 same effect as the <literal> improvements, but after calling
872 "function" or publishing the region first. Make it possible to
873 put <content> tags in <markup> regions in HTML publishing.
875 2007-04-12 Michael Olson <mwolson@gnu.org>
877 * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
878 that a blank line always exists after a heading. This fixes a bug
879 in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
882 * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
883 detection regexp to that which is used in Docbook and HTML
886 2007-04-02 Michael Olson <mwolson@gnu.org>
888 * README (muse-el-announce): Make a listing of mailing lists,
889 rather than pointing to the old EmacsWikiMailingList page. Thanks
890 to Andreas Roehler for noticing.
892 2007-04-01 Michael Olson <mwolson@gnu.org>
894 * lisp/muse-publish.el (muse-publish-date-format): Add
895 ` customization type and group.
896 (muse-publish-region): New interactive function that publishes a
897 region to a new buffer.
899 * texi/muse.texi: Use "document" rather than "manual".
901 2007-03-31 Michael Olson <mwolson@gnu.org>
903 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
904 expression (muse-style-derived-p "latex" (muse-style "latex"))
905 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
908 2007-02-25 Michael Olson <mwolson@gnu.org>
910 * lisp/muse-publish.el (muse-publish-date-format): New option that
911 specifies how to format the date when publishing Muse pages.
912 Thanks to Thomas Gehrlein for the suggestion.
913 (muse-publish-markup-buffer): Use it.
915 2007-02-23 Michael Olson <mwolson@gnu.org>
917 * README: Add Prerequisites section to mention which versions of
918 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
919 the suggestion. Update link destination for Muse's page on
922 2007-02-15 Michael Olson <mwolson@gnu.org>
924 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
925 be not just at beginning of line. This fixes an error with the
926 <class> tag. Thanks to Jim Pivarski for the report.
928 2007-02-14 Michael Olson <mwolson@gnu.org>
930 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
931 whether something is an image before checking to see if it is a
932 URL. Thanks to ITSUMI ken-ichi for the report.
934 2007-02-13 Michael Olson <mwolson@gnu.org>
936 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
937 comments that have no text better. Thanks to fang.lungang for the
939 (muse-publish-markup-comment): Deal with case where no comment
942 2007-01-23 Michael Olson <mwolson@gnu.org>
944 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
945 that ensures that at least one blank line exists at the given
946 position. This is used to avoid paragraph detection problems when
947 block-level tags like <example> immediately follow a paragraph.
948 Thanks to Hans Ekbrand for the report.
949 (muse-publish-example-tag): Use it.
951 2007-01-19 Michael Olson <mwolson@gnu.org>
953 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
954 previous blank line if we are publishing in Latex. Otherwise,
955 that wouldn't be the right thing, so leave it be.
957 2007-01-17 Michael Olson <mwolson@gnu.org>
959 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
960 multiple centered math lines on the same line; keep them on
961 different lines. Use \[ math-text \] instead of $$math-text$$,
962 since the latter seems to be deprecated. Thanks to Jody Klymak
965 2007-01-15 Michael Olson <mwolson@gnu.org>
967 * lisp/muse-latex2png.el (muse-publish-latex-tag)
968 (muse-publish-math-tag): Publish region read-only when current
969 style is Latex-derived, so that Muse does not escape it.
970 (muse-publish-math-tag): If 6 or more spaces come before the tag,
971 surround the region with "$$" rather than "$". This is the Muse
972 syntax for something centered, so it should be a good fit.
974 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
976 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
978 (muse-browse-url-man): Change man page URL format. The code is
979 simpler when the section is left inside parentheses.
980 (muse-browse-url-woman): New function.
982 2007-01-14 Michael Olson <mwolson@gnu.org>
984 * AUTHORS: Bookkeeping.
986 * lisp/muse-latex2png.el: Associate <math> tag with
987 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
988 Klymak for the report.
989 (muse-publish-math-tag): Use muse-insert-markup for the "$"
990 characters, so they don't get escaped.
992 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
993 make muse-style-derived-p easier to implement.
994 (muse-style-derived-p): If the style is not provided, fetch it and
995 check to see if the car is a string. This should fix the other
996 problem that was reported.
998 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
999 explains a case where setting muse-file-extension to nil can cause
1000 unexpected behavior.
1002 2007-01-09 Michael Olson <mwolson@gnu.org>
1004 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1005 comments higher priority than tags. Thanks to Stefan van der Walt
1008 2007-01-08 Michael Olson <mwolson@gnu.org>
1010 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1011 argument rather than calling match-string. Thanks to Stefan van
1012 der Walt for the report. This should fix a bug with publishing
1013 <include file="..." markup="example">.
1015 2007-01-06 Michael Olson <mwolson@gnu.org>
1017 * Makefile (debclean): New rule split from debrevision and
1019 (debbuild): Take distributor into account.
1021 * Makefile.defs (DISTRIBUTOR): New field that tracks what
1022 vendor/distributor we are building for.
1024 2007-01-04 Michael Olson <mwolson@gnu.org>
1026 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1029 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1030 point to muse-publish-src-tag by default, since <src> and
1031 <example> have different parameters.
1032 (muse-publish-src-tag): New barebones publishing function for
1033 <src>, which is superseded when publishing in an HTML-based style.
1035 2007-01-03 Michael Olson <mwolson@gnu.org>
1037 * lisp/muse-html.el (muse-html-src-tag): Document.
1039 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1040 command that calls a given tag on the current buffer. Attributes
1042 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1044 (muse-publish-srcify-buffer): New function that allows
1045 markup="src" in the <include> tag.
1046 (muse-publish-get-and-delete-attr): New macro that gets an
1047 attribute from a list and removes the first instance of that
1048 attribute from said list.
1049 (muse-publish-markup-attribute): Handle markup="src".
1050 (muse-publish-command-tag, muse-publish-include-tag): Use
1051 muse-publish-get-and-delete-attr. This allows the remaining
1052 attributes to be passed.
1054 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1055 as changes to <command> and <include>.
1057 2006-12-30 Michael Olson <mwolson@gnu.org>
1061 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1062 from muse-publish-math-tag to avoid conflict with
1065 2006-12-23 Michael Olson <mwolson@gnu.org>
1067 * lisp/muse-latex2png.el: Update header, since this has been
1068 rewritten sufficiently to not need an assignment from the original
1070 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1071 (muse-latex2png): Use two underscores to separate prefix and hash.
1072 (muse-latex2png-region): New function split from
1073 muse-publish-latex-tag that can be used easily by other code.
1074 Detect whether we are using an HTML-based publishing style, and
1075 insert a simpler markup if we are not. If we are using a
1076 Latex-based publishing style, do not generate an image, and leave
1077 the region alone. Return the path of the generated image, in case
1078 other functions want to use this programmatically.
1079 (muse-publish-latex-tag): Set a default prefix based on the name
1080 of the current file.
1081 (muse-publish-math-tag): New tag that surrounds the region with
1082 "$" characters, so that it becomes a Latex math region, and then
1085 * lisp/muse-publish.el (muse-style-derived-p): New function that
1086 returns non-nil if a given style, or the current style if omitted,
1087 is equal to or derived from the given base style. This is useful
1088 in <lisp> tags, because it allows the user to specify markup that
1089 is only to be inserted for one particular style.
1091 2006-12-22 Michael Olson <mwolson@gnu.org>
1093 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1094 (muse-html-src-tag): New function which publishes the <src> tag.
1095 Thanks to Clinton Ebadi and Charles Wang for the initial
1098 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1100 2006-12-21 Michael Olson <mwolson@gnu.org>
1102 * examples/johnw/muse-johnw.el: Update for preferred
1103 muse-derive-style usage. Rename to muse-init.el.
1105 * examples/mwolson/muse-init.el: Update.
1107 * lisp/muse-book.el (muse-book-publish): New function split from
1108 muse-book-publish-project. This is used in the definitions for
1109 the book-latex and book-pdf styles.
1110 (muse-book-publish-p): New function split from muse-book-publish.
1111 (muse-book-get-directives): New function that retrieves the
1112 publishing directives from the given file.
1113 (muse-book-publish): Use muse-book-get-directives to set the title
1114 if no title was specified.
1116 * lisp/muse-project.el (muse-project): Add :publish-project entry
1118 (muse-read-project, muse-project-find-file): Message fix.
1119 (muse-project-publish-file-default): New function split from
1120 muse-project-publish-file.
1121 (muse-project-publish-file): Allow file-level publishing function
1122 to be specified by the :publish element. The default is
1123 muse-project-publish-file-default.
1124 (muse-project-publish-default): New function split from
1125 muse-project-publish.
1126 (muse-project-publish): Allow project-level publishing function to
1127 be specified by :publish-project element. The default is
1128 muse-project-publish-default.
1130 * lisp/muse-publish.el (muse-publish-file): Message fix.
1132 * texi/muse.texi (Book): Mention new way to publish books and
1133 provide an example, since the process may be non-obvious.
1135 2006-12-20 Michael Olson <mwolson@gnu.org>
1137 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1138 content-modifying code from the rest of
1139 muse-docbook-finalize-buffer.
1141 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1142 muse-groff-finalize-buffer, since it adds content to the buffer.
1144 * lisp/muse-html.el (muse-html-munge-buffer): Split out
1145 content-modifying code from the rest of muse-html-finalize-buffer.
1146 This fixes a bug when using <include> with <content> tags.
1148 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1149 (muse-journal-latex-munge-buffer)
1150 (muse-journal-rss-munge-buffer): Rename, since they add content to
1153 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1154 muse-latex-finalize-buffer, since it adds content to the buffer.
1156 * lisp/muse-mode.el:
1157 * lisp/muse-project.el:
1158 * lisp/muse-publish.el:
1159 * lisp/muse.el: Fix recursive load error.
1161 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1162 muse-texinfo-finalize-buffer, since it adds content to the buffer.
1164 * lisp/muse-wiki.el: Comment cleanup.
1166 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1168 2006-12-17 Michael Olson <mwolson@gnu.org>
1170 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1171 Remove the definition of \comment, since Latex already has comment
1173 (muse-latex-markup-strings): Use the Latex comment syntax, rather
1174 than our own. Thanks to Ryan Stutsman for pointing this out.
1176 2006-12-02 Michael Olson <mwolson@gnu.org>
1178 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1179 that this can generate a proper table of contents for Planner HTML
1182 2006-12-01 Michael Olson <mwolson@gnu.org>
1184 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1185 using a very old Emacs, avoid an infinite loop that could occur
1186 when the regexp is an empty string.
1188 2006-11-26 Michael Olson <mwolson@gnu.org>
1190 * NEWS: Bring up to date.
1192 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1193 list issues and multiple-stanza verse issues. This takes care of
1194 all of the markup issues I was worried about.
1196 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1197 (muse-project-publish-private-files): New option that indicates
1198 whether files with private filesystem permissions should be
1199 published. The default is to publish them, since it avoids
1200 confusion in new users.
1201 (muse-project-private-p): Use it.
1203 2006-11-19 Michael Olson <mwolson@gnu.org>
1205 * lisp/muse-project.el (muse-project-resolve-link): If no remote
1206 style is found, which means that the link is not a Muse page, do
1207 not add a suffix or prefix to it. This should fix the
1208 "[[thing.owl]]" bug that Phillip Lord reported.
1210 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1211 removing unused 2nd argument.
1213 2006-11-17 Michael Olson <mwolson@gnu.org>
1215 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1216 latex publishing where nested enumerated lists would be squashed
1217 together at the end.
1219 2006-11-16 Michael Olson <mwolson@gnu.org>
1221 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1222 list embedded in a definition list look right. This also allows
1223 for definitions to be separated from their terms, much like the
1224 way HTML does it by default, if the user puts a blank line or a
1225 line break between the term and the definition. If the term and
1226 definition are on the same line, they will be that way in the
1229 2006-11-11 Michael Olson <mwolson@gnu.org>
1231 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
1233 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1235 2006-11-07 Michael Olson <mwolson@gnu.org>
1237 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1238 release candidate for Muse 3.03, available.
1242 2006-11-06 Michael Olson <mwolson@gnu.org>
1244 * lisp/muse-project.el (muse-project-find-file): Fix bug when
1245 following a relative link worked even when the path was incorrect.
1247 2006-11-04 John Sullivan <john@wjsullivan.net>
1249 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1250 muse-follow-name-at-point to reduce collisions with other
1253 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1255 2006-11-04 Michael Olson <mwolson@gnu.org>
1257 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1258 optional, and make interwiki delimiter a regular rather than shy
1260 (muse-wiki-handle-implicit-interwiki): Rename from
1261 muse-wiki-handle-interwiki. Use match group 3 to get the page.
1262 (muse-wiki-handle-explicit-interwiki): New function that is
1263 smarter about where an explicit link ends in a buffer. This
1264 allows you to refer to page names with invalid Wiki characters,
1265 such as underscores and dashes, merely by enclosing them in double
1266 brackets. Also, a bug with recognizing project names too loosely
1269 2006-11-03 Michael Olson <mwolson@gnu.org>
1271 * lisp/muse-project.el (muse-project-page-file): Make relative
1272 links work as expected, hopefully.
1274 * lisp/muse-publish.el (muse-publish-this-file): Set the current
1275 output style manually, since it will differ from anything in the
1276 publishing style list.
1278 2006-10-30 Michael Olson <mwolson@gnu.org>
1280 * lisp/muse-colors.el (muse-colors-markup): Remove note about
1281 grouping elements, since that no longer applies.
1282 (muse-colors-custom-tags): Explicitly match against
1283 muse-tag-regexp to get the match-data set the way we want. This
1284 really fixes the <example> highlighting bug that Stefan reported.
1285 (muse-configure-highlighting): Set the original value to the
1286 symbol, not the modified value. Re-use modified rules properly.
1288 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1289 introduced yesterday.
1291 2006-10-29 Michael Olson <mwolson@gnu.org>
1293 * examples/mwolson: Update my example configuration.
1297 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1298 without a regexp in the first position before iterating through
1299 them to build muse-colors-vector. This fixes a bug with the
1300 display of <example> tags. Thanks to Stefan Reichör for the
1303 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1304 files in projects to be linked to.
1306 * lisp/muse-publish.el (muse-publish-url): Allow the original link
1307 to serve as a description for a URL, as long as it differs from
1308 the destination URL. This fixes the description of WikPage links
1310 (muse-publish-link-file): Check to see whether the given link
1311 points at a valid file. If so, return it. Otherwise, apply other
1312 transforms like prefix and link suffix.
1314 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1315 "/", it is a file or directory, not a Muse page. Thanks to
1316 Phillip Lord for the suggestion.
1318 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1319 of the current page as the local path, instead of duplicating the
1320 remote file's path. This probably fixes at least one reported
1321 bug. since it's quite major.
1322 (muse-wiki-update-project-file-regexp)
1323 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1324 passed to regexp-opt, since that can cause Emacs 21 to throw an
1325 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
1326 DOT edu for the report.
1327 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1329 2006-10-28 Michael Olson <mwolson@gnu.org>
1331 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1332 (muse-project-resolve-link): If the given style does not have a
1333 link-suffix, default to suffix. This fixes a bug I was noticing
1334 when linking to a file that was published in both PDF and HTML
1337 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1338 function that is used as a callback to determine the initial
1339 amount of indentation that the current dl item has.
1340 (muse-publish-surround-dl): Use it. Pass the initial indent value
1341 and the post-indent value, instead of trying to determine them
1343 (muse-publish-strip-list-indentation): New function stripped from
1344 `muse-publish-surround-text' for readability.
1345 (muse-publish-surround-text): Instead of taking a determine-indent
1346 value, take a determine-indent-func function, which is called just
1347 after finding the next list item. If we are asked to determine
1348 the amount of indentation, concatenate indent and post-indent the
1349 first time around. This effectively fixes all known definition
1352 2006-10-16 Michael Olson <mwolson@gnu.org>
1354 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1355 other software -- namely, Planner -- can detect whether they are
1356 using a version of Muse that supports nested tags.
1357 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1358 muse-publish-goto-tag-end.
1360 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1361 Adapt for nested tags.
1363 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1364 <class> tag is nestable. Thanks to Phillip Lord for noticing
1367 * lisp/muse-publish.el (muse-publish-markup-tag)
1368 (muse-publish-quote-tag): Use muse-goto-tag-end.
1370 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1372 2006-10-15 Michael Olson <mwolson@gnu.org>
1374 * AUTHORS: Bookkeeping.
1376 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1379 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1382 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1384 * lisp/muse-import-docbook.el (muse-import-docbook)
1385 (muse-import-docbook-files): Docfix.
1386 (muse-import-docbook-get-title): Remove cl.el-ism.
1388 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1390 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1392 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1394 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1395 (muse-next-reference, muse-previous-reference): Minor whitespace
1397 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
1400 * lisp/muse-poem.el (muse-poem-tag): Ditto.
1402 * lisp/muse-publish.el (muse-publish-markup-tags)
1403 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1404 element and make 4th element determine whether tags are nestable.
1405 (muse-publish-goto-tag-end): New function that moves to the end of
1406 a tag. Handle nested tags when NESTED is non-nil.
1407 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
1408 5th element for function.
1409 (muse-publish-quote-tag): Handle nested quote tags. I've tested
1410 this on several scenarios, and it seems to work.
1411 (muse-publish-surround-text): Accept new optional argument
1412 LIST-ITEM which determines the regexp to use for list items. The
1413 default is to use muse-list-item-regexp.
1415 * muse.texi (Markup Tags): Mention nestable tags.
1417 * NEWS: Mention new files.
1419 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
1421 * lisp/muse-import-docbook.el: New file that converts Docbook XML
1424 * lisp/muse-import-xml.el: New file that provides helper routines
1425 for converting XML-ish files to Muse format.
1427 2006-10-10 Michael Olson <mwolson@gnu.org>
1429 * NEWS: Update for 3.02.7 bugfix release.
1431 2006-10-06 Sasha Kovar <sasha@arcocene.org>
1433 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1434 using the value in the muse #date directive.
1435 (muse-blosxom-use-metadate): New option that determines whether or
1436 not to use the #postdate directive.
1437 (muse-blosxom-format-date): Convert a date string to PyBlosxom
1438 metadate plugin format.
1440 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
1442 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1445 * muse.texi: Clarify handling of implicit links by mentioning
1446 which characters can prevent Muse from recognizing something as an
1449 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
1451 * lisp/muse-mode.el (muse-next-reference)
1452 (muse-previous-reference): Fix bug #6367 by moving point to the
1453 beginning of the link.
1455 2006-09-26 Michael Olson <mwolson@gnu.org>
1457 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1458 beginning-of-line. This should fix a bug that was noticed in
1459 recent Emacs 22 builds.
1461 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1462 eval-and-compile block to avoid a compiler warning.
1464 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
1466 * lisp/muse-backlink.el (muse-backlink-split-string):
1467 Compatibility with Emacs versions < 22
1468 (muse-backlink-pending): New internal variable
1469 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1470 that backlinks are inserted at the right time.
1471 (muse-backlink-insert-hook-func): Remove unwind-protection; check
1472 for pending backlink, and that this is the targe page.
1473 (muse-backlink-handle-link): Don’t handle the link if we are
1474 already handling one. Return the link as well as the parent links.
1476 2006-09-25 Sasha Kovar <sasha@arcocene.org>
1478 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1479 #6942 - muse-blosxom-new-entry fails when using tags.
1481 2006-09-14 Michael Olson <mwolson@gnu.org>
1483 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1486 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
1488 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1489 function: Protect all wikiwords from START to END from further
1491 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1493 2006-09-13 Michael Olson <mwolson@gnu.org>
1495 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1496 adopted from Jim Ottaway's patch. It removes links from the
1497 heading, and then marks the region read-only to inhibit WikiWord
1500 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
1502 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1503 special handling for headings.
1504 (muse-texinfo-remove-links): New function that removes explicit
1505 links from the given strings, replacing them with a description.
1507 2006-09-11 Michael Olson <mwolson@gnu.org>
1509 * muse.texi (Getting Help and Reporting Bugs): Mention the
1510 muse-el-internationalization mailing list.
1512 * lisp/muse.el (muse-path-sans-extension): New function that acts
1513 like file-name-sans-extension, but guarantees to never modify the
1514 directory part of the path. Thanks to Evan Monroig for
1517 * lisp/muse-book.el (muse-book-publish-project): Use
1518 muse-path-sans-extension instead of file-name-sans-extension.
1520 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1523 2006-08-30 Michael Olson <mwolson@gnu.org>
1525 * muse.texi (Blosxom Requirements): Fix typo.
1527 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1528 directories for bzr and darcs.
1530 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1531 contrib/pyblosxom/getstamps.py: Update version and headers.
1533 2006-08-27 Michael Olson <mwolson@gnu.org>
1535 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1536 nil values before they get to mapconcat. This fixes a lockup when
1537 muse-wiki-match-all-project-files is nil.
1539 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1540 (muse-wiki-ignore-implicit-links-to-current-page)
1541 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1542 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1543 (muse-wiki-publish-small-title-words)
1544 (muse-wiki-publish-pretty-title): Docfix.
1545 (muse-wiki-update-local-wikiword-regexp): Rename from
1546 muse-wiki-update-local-wikiword-regexp. Set
1547 muse-wiki-project-file-regexp instead of
1548 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
1549 take muse-wiki-use-wikiword into account, since this is a
1550 different concept now.
1551 (muse-wiki-update-wikiword-regexp): Remove.
1552 (muse-wiki-wikiword-regexp): In-line the :set function.
1553 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
1555 2006-08-26 Michael Olson <mwolson@gnu.org>
1557 * lisp/muse-publish.el (muse-publish-surround-text): When looking
1558 for indented list items, ignore blank lines.
1560 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
1561 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
1562 mapconcat. This should hopefully fix a problem with large amounts
1563 of files with spaces in their name. Thanks to Greg Detre for the
1566 2006-08-24 Michael Olson <mwolson@gnu.org>
1568 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
1569 numbers from the argument to format-time-string. This fixes an
1570 XEmacs bug. Thanks to Michael Welle for the report and analysis.
1572 2006-08-18 Michael Olson <mwolson@gnu.org>
1574 * lisp/muse-project.el (muse-project-file-entries): Since we are
1575 given a full path, match against the filename as well. This fixes
1576 an issue where backup files were being added to the file alist.
1578 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
1581 2006-08-12 Michael Olson <mwolson@gnu.org>
1583 * Makefile (.PHONY): Don't use line continuations.
1584 (realclean fullclean): Call realclean in subdirs, not distclean.
1585 (distclean): Don't call realclean, since this would wipe out our
1587 (dist): Use correct path to autoloads file.
1589 * NEWS: Catch up with the latest changes.
1591 * experimental/Makefile (.PHONY): Wrap long line.
1593 * lisp/Makefile (distclean): Do the same thing as "clean", not
1596 * lisp/muse-project.el (muse-project-get-applicable-style):
1598 (muse-project-ignore-regexp, muse-project-recurse-directory):
1600 (muse-project-of-file): Try the ignored files regexp against the
1601 base filename as well as the entire path.
1603 * lisp/muse-publish.el (muse-publish-this-file): Display message
1604 if the buffer is not associated with any file, so that we avoid
1606 (muse-publish-url-desc): New function taken from muse-publish-url
1607 that causes a URL description to be transformed.
1608 (muse-publish-url): Call muse-publish-url-desc on either the
1609 description or the original URL if it will be used as a
1610 description. Accept the original URL as an argument, in case it
1611 was transformed earlier.
1612 (muse-publish-insert-url): Pass original URL as an argument.
1613 (muse-publish-markup-link): Make this somewhat easier to follow.
1614 Pass original URL as argument.
1615 (muse-publish-get-style): If the same style is used to publish to
1616 two different directories, prompt the user for which directory to
1618 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
1620 (muse-publish-markup-url): Pass original URL as an argument. This
1621 fixes the "nil" description for bare URLs that was in 3.02.91.
1622 Nothing like finding a bug just after completing the announcement
1625 * lisp/muse.el: Use defalias whenever convenient.
1626 (muse-version): Set version to 3.02.92 (3.03 RC2).
1628 2006-08-10 Michael Olson <mwolson@gnu.org>
1630 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
1631 style does not derive from any other class, return `t' here.
1632 This, along with the corresponding change to muse-publish.el,
1633 fixes a problem with the table of contents getting inserted
1634 multiple times for custom html-based styles.
1635 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
1636 smarter method for table centering that works with XHTML.
1638 * lisp/muse-latex2png.el Rename all functions to have a
1639 "muse-latex2png" prefix. Turn all variables into customizable
1640 options in the muse-latex2png group.
1641 (muse-latex2png-img-dest): New option specifying where to place
1643 (muse-latex2png-template): New option containing the template to
1644 use for the surrounding LaTeX code.
1645 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
1647 (muse-latex2png-move2pubdir): Avoid multiple redundant error
1648 messages when something else goes wrong. Create the image
1649 subdirectory if it doesn't exist already -- thanks to Christian
1650 Straßer for the report. Expand the filename properly.
1651 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
1652 and filename expansion.
1653 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
1654 the default directory properly.
1656 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
1657 do not run the same function twice.
1659 2006-08-08 Michael Olson <mwolson@gnu.org>
1661 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
1662 introduced wrong-type-argument error.
1664 * lisp/muse-html.el (muse-html-markup-strings)
1665 (muse-xhtml-markup-string): Cause table definition that contains
1666 image to be center-aligned. This should fix an issue with images
1667 not being centered when captions are very long.
1669 * lisp/muse-publish.el (muse-publish-table-fields): Trim
1670 whitespace from fields once we have split them up.
1672 * lisp/muse.el (muse-trim-whitespace): New function that strips
1673 leading and trailing whitespace from a string.
1675 2006-08-07 Michael Olson <mwolson@gnu.org>
1677 * NEWS: Update through patch-95.
1679 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
1681 (muse-colors-explicit-link): Show images in link descriptions if
1682 inlined images are enabled.
1684 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
1685 definitions for 'image-with-desc, 'image, and 'image-link.
1686 (muse-docbook-markup-paragraph): If an inlined image begins a
1687 paragraph, insert <para> before it.
1688 (muse-docbook-fixup-images): New function that upper-cases the
1689 "format" attribute of the <imagedata> tag.
1690 (muse-docbook-finalize-buffer): Call it.
1692 * lisp/muse-html.el (muse-html-markup-strings): Publish images
1693 with descriptions as centered tables, with a centered caption
1694 underneath. The resulting look is consistent with the way that
1695 they are published in the LaTeX style. Thanks to Jody Klymak for
1697 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
1698 valid way to center a table.
1699 (muse-html-markup-paragraph): Use class="image" instead of
1700 "image-link" for paragraphs that start with an embedded image.
1702 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
1703 \textbackslash{} for "\". Thanks to Jim Ottaway for the
1705 (muse-latex-markup-specials-image): New option that enables
1706 escaping of specials in images. This was split from the URL
1708 (muse-latex-decide-specials): Handle 'image context.
1709 (muse-latex-fixup-dquotes): Go to beginning of document, instead
1710 of relying on caller to do this for us.
1712 * lisp/muse-publish.el (muse-publish-escape-specials): Document
1714 (muse-publish-url): Use 'image context for images. Use 'image
1715 instead of 'image-link and 'image-link in place of
1716 'url-with-image. Separate the image file from its extension so
1717 that docbook and texinfo can publish images correctly.
1718 (muse-publish-markup-link): Don't force a description if one is
1719 not given. This fixes a bug where images without descriptions
1720 were being published as 'image-with-desc instead of 'image.
1722 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
1723 images the same as URLs.
1724 (muse-texinfo-markup-strings): Improve image markup to achieve an
1725 effect similar to that of the LaTeX publishing style. Simplify
1728 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
1730 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
1731 when we have to use the custom version of this function.
1733 * muse.texi (Images): Explain how to toggle inlining of images and
1734 give better examples. Mention captions and that captioned images
1735 should not be used inside of text paragraphs.
1736 (Markup Strings): Bring up-to-date with the changes made since
1739 2006-08-06 Michael Olson <mwolson@gnu.org>
1741 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
1742 in the Emacs source tree.
1744 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
1745 in the Emacs source tree.
1747 * ChangeLog.3: New file created from the old ChangeLog.
1749 * Makefile.defs (VERSION): Set to 3.02.91.
1751 * NEWS: Update through patch-84.
1753 * lisp/muse.el (muse-version): Set to 3.02.91.
1755 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
1757 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
1758 delimiter are instead of hard-coding it.
1760 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
1761 (muse-mode): Make filling definition lists work better. This
1764 * lisp/muse-publish.el (muse-style-run-hooks): Use
1765 `muse-style-element' instead of `muse-get-keyword' here. This
1768 * muse.texi: Set version to 3.02.91 (3.02 RC2).
1770 See ChangeLog.3 for earlier changes.