1 2007-08-20 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-journal.el (muse-journal-anchorize-title): Revamp to
4 escape characters rather than discard them. Use muse-regexp-alnum
5 rather than listing out the characters and numbers. Thanks to
6 Shunsuke OKANO for the report.
7 (muse-journal-rss-munge-buffer): Make sure that <![CDATA[ stuff is
8 used when generating a summary.
10 2007-08-19 Michael Olson <mwolson@gnu.org>
12 * examples/mwolson: Update my example settings.
14 * lisp/muse-colors.el (muse-colors-region): Bind
15 muse-colors-region-end to the end of the last line. This avoids a
16 bug where lines that had emphasis would suddenly become
17 unhighlighted when moving around the buffer.
19 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug
20 involving paragraphs after literallayout markup, which is used in
21 <verse> tags. Thanks to Shunsuke OKANO for the report.
23 * lisp/muse-html.el (muse-html-src-tag): Use
24 muse-delete-and-extract-region.
26 * lisp/muse-import-xml.el: Add require statement.
27 (muse-import-xml-parse-node): Use muse-replace-regexp-in-string.
29 * lisp/muse-protocols.el (muse-browse-url-man): Add require
31 (muse-browse-url-woman): Add require statement.
33 * lisp/muse-publish.el (muse-publish-surround-text): Fix serious
34 bug in definition list publishing. We were skipping past the
35 initial indented line, and that was causing an erroneous
36 blockquote to be inserted. This alone merits a new release.
38 * lisp/muse-texinfo.el (muse-texinfo-info-generate): Fix bug with
39 XEmacs' return value for shell-command.
41 * lisp/muse.el (muse-delete-and-extract-region): New compatibility
42 function to deal with XEmacs' lack of the
43 delete-and-extract-region function.
45 2007-08-18 Michael Olson <mwolson@gnu.org>
49 * lisp/muse-publish.el (muse-publish-include-tag): Switch from
50 copy-tree to copy-alist, since Emacs21 does not have the former,
51 and the latter does what we want.
53 * lisp/muse.el: Force-require 'derived, since Emacs21 does not
54 have derived-mode-p in subr.el like Emacs22 does.
56 2007-08-17 Michael Olson <mwolson@gnu.org>
58 * etc/muse.rnc: Add the <cite> tag.
60 * lisp/muse-context.el (muse-context-slides-header): Clarify what
63 * lisp/muse-xml.el (muse-xml-markup-strings): Mark up citations as
64 <cite type="something">. We'll leave it to the post processing
65 tools to interpret that.
67 * texi/muse.texi (Directives, Blosxom Entries): Use @code{} for
69 (Citations): New section that explains further how to use the
70 <cite> tag. The text was taken from Marcus Hoenicka's
71 documentation at http://refdb.sourceforge.net/muse.html and
73 (Tag Summary): Link to the Citations section in the entry for
75 (ConTeXt): Update the documentation for
76 muse-context-slides-header.
78 2007-08-17 Jean Magnan de Bornier <jean@bornier.net>
80 * lisp/muse-context.el (muse-context-slides-header): Use #module
81 directive, if it is provided.
82 (muse-context-slides-header): Mention how to use #module.
84 2007-08-16 Michael Olson <mwolson@gnu.org>
86 * Release Emacs Muse 3.10.
88 * Makefile (dist, debprepare): Pass HEAD argument to git-archive.
89 (upload): Don't depend on release rule.
91 * NEWS: Document remaining changes.
93 2007-08-15 Michael Olson <mwolson@gnu.org>
95 * NEWS: Document items through 2007-08-12.
97 * lisp/muse-colors.el: Split the muse-directive-or-comment
98 property into two separate properties that are muse-directive and
100 (muse-colors-region-end): Make buffer-local.
101 (muse-colors-delayed-commands): New variable that contains a list
102 of commands to run immediately after highlighting. This is meant
103 to allow highlighting functions to delay code until later.
104 (muse-colors-region): Apply commands in
105 muse-colors-delayed-commands.
106 (muse-colors-inhibit-tags-in-directives): New variable that
107 determines whether tags are allowed in directives.
108 (muse-colors-custom-tags): Take
109 muse-colors-inhibit-tags-in-directives into account.
110 (muse-unhighlight-region): Remove muse-directive and muse-comment
112 (muse-colors-title): Modify muse-colors-delayed-commands.
113 (muse-colors-title-lisp): New command that gets called after
114 highlighting other things. This interprets <lisp> tags, and is
115 passed arguments specifying the beginning and end of the region.
116 Thanks to Junichi Uekawa for the report. The reason we want to do
117 things this way is because this is the behavior we get already
118 when publishing the page.
120 * lisp/muse.el (muse-goto-tag-end): Change to use muse-comment
121 property rather than muse-directive-or-comment.
123 2007-08-14 Michael Olson <mwolson@gnu.org>
125 * lisp/muse-colors.el: Document all functions and variables.
126 (muse-colors-emphasized, muse-colors-underlined)
127 (muse-colors-verbatim, muse-colors-custom-tags)
128 (muse-colors-explicit-link, muse-colors-implicit-link): Don't trod
129 on comments or the #title directive.
130 (muse-colors-markup): Add comment rule.
131 (muse-colors-implicit-link): Only remove flyspell overlay after we
132 decide whether this is an implicit link, rather than before.
133 (muse-colors-title): Add the muse-directive-or-comment property.
134 (muse-colors-comment): New function that colorizes comments using
135 font-lock-comment-face.
136 (muse-colors-region-end): New variable indicating the end of the
137 region that is currently being font-locked. This removes the need
138 for an ugly "defvar end" hack.
139 (muse-colors-emphasized, muse-colors-underlined)
140 (muse-colors-verbatim): Use it.
141 (muse-colors-region): Let-bind it.
143 * lisp/muse-mode.el (muse-list-edit-minor-mode): Grammar fix in
146 * lisp/muse-publish.el (muse-publish-markup-heading): Escape
147 specials in heading now, rather than waiting on the whole-document
148 pass later on. This lets <contents> generation work without
149 validation errors. Thanks to Reid van Melle for the report.
151 * texi/muse.texi (Tag Summary): Document <cite> tag.
152 (Miscellaneous): New chapter containing "Muse List Edit Minor
154 (Muse List Edit Minor Mode): New section that documents
155 muse-list-edit-minor-mode.
156 (Development): Mention the MuseDevlopment page on emacswiki.org.
158 * lisp/muse.el (muse-goto-tag-end): Deal with case where we are
159 font-locking and the end or beginning of a tag is in a comment or
162 2007-08-12 Michael Olson <mwolson@gnu.org>
164 * lisp/muse-html.el (muse-html-strip-links): New function that
165 strips HTML links from a string.
166 (muse-html-insert-contents): Use it, instead of
167 muse-publish-strip-tags. This fixes a bug reported by Xin Shi
168 involving the use of <sup> in section titles.
170 * lisp/muse-project.el (muse-project-resolve-directory): New
171 function that figures out the directory part of the path that
172 provides a link to a page.
173 (muse-project-resolve-link): Expand docstring. Use the new
174 function. Don't call muse-publish-link-file, because that does
175 the wrong thing when we have muse-file-extension set to nil.
176 Thanks to Sebastian Obermanns for the report.
177 (muse-project-publish-this-file): Let-bind muse-current-project.
178 Also, if the file is not associated with a project, fall back to
179 muse-publish-this-file.
180 (muse-project-set-variables): Add this to
181 muse-before-publish-hook, so that it gets called. This fixes a
182 bug where project-specific variables were being used in Muse mode,
183 but ignored when publishing.
185 * lisp/muse-publish.el (muse-publish-link-name)
186 (muse-publish-link-file, muse-publish-link-page): Add docstrings
187 so that I can remember what each of these things do.
188 (muse-publish-strip-tags): Remove, since it is no longer used.
189 (muse-publish-cite-tag): Don't let-bind
190 muse-publishing-directives, because there is no need to do so.
191 Fix code indentation.
192 (muse-publish-markup-attribute): Avoid multiple evaluation of
193 attrs argument, in case it is list value instead of a symbol. Use
194 sexp instead of form in the edebug-form-spec.
195 (muse-publish-include-tag): Make a full copy of
196 muse-publishing-directives, since it can be modified with setcdr.
197 This fixes a bug where #title and some other directives were
198 leaking out of an included region.
199 (muse-publish-mark-up-tag): Don't let-bind
200 muse-publishing-directives, because there is no need to do so.
202 * lisp/muse.el (muse-page-name): Improve docstring.
204 * texi/muse.texi (Development): Mention the http method for
205 anonymous git access to the shared repo.
207 2007-08-10 Michael Olson <mwolson@gnu.org>
209 * Makefile (dist, debprepare): Use git instead of tla.
211 * contrib/httpd.el (httpd-send-file): Use insert-file-contents.
213 * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
214 Use muse-insert-file-contents.
216 * experimental/muse-split.el (muse-publish-file)
217 (muse-publish-presplit-publish, muse-publish-no-split-function)
218 (muse-journal-split-by-entry, muse-journal-split-by-month): Use
219 muse-insert-file-contents.
221 * lisp/muse-book.el (muse-book-publish-chapter)
222 (muse-book-get-directives): Use muse-insert-file-contents.
224 * lisp/muse-http.el (muse-http-render-page): Use
225 muse-insert-file-contents.
227 * lisp/muse-poem.el (muse-poem-markup-tag): Use
228 muse-insert-file-contents.
230 * lisp/muse-publish.el (muse-insert-file-or-string)
231 (muse-publish-file, muse-publish-include-tag)
232 (muse-published-contents): Use muse-insert-file-contents.
234 * lisp/muse.el (muse-insert-file-contents): New function that
235 inserts a file with character code conversion, but none of the
236 other frivolities. Since insert-file-contents-literally does not
237 do character code conversion, it is not suitable for us.
238 (muse-with-temp-buffer): Mention muse-insert-file-contents rather
239 than insert-file-contents-literally.
241 2007-08-09 Michael Olson <mwolson@gnu.org>
243 * lisp/muse.el (muse-write-file): Pay attention to
244 coding-system-for-write and save-buffer-coding-system. This
245 should fix a recently-introduced bug with writing Muse pages in
246 different coding systems.
248 2007-08-08 Michael Olson <mwolson@gnu.org>
250 * README (Prerequisites): Fix typo.
251 (Compilation, Installation): Update.
252 (Documentation, Further Documentation): Update URLs.
253 (Further Documentation): Add quick blurb on how to participate in
254 Muse development or track changes.
256 * texi/muse.texi (Releases): Use gna.org URL for downloading the
257 latest release, rather than my website.
258 (Development): Change instructions to use git instead of
259 Arch. Mention where to get a Windows binary for git. Improve the
260 look of the listing. Add section with instructions for Becoming a
262 (Installation): Update instructions for Makefile.defs.default and
263 XEmacs. Add index entries. Add section for ELPA, since Muse
264 ought to be distributed in ELPA after the 3.10 release. Fix typo
267 2007-08-06 Michael Olson <mwolson@gnu.org>
269 * texi/muse.texi: Make sure that attributes are marked up with
270 @option{} rather than @code{} or @samp{} for consistency.
271 (Journal): Add "muse-project-alist-considerations" subheading,
272 along with a mention of :base-url.
274 2007-08-05 Michael Olson <mwolson@gnu.org>
276 * .gitignore: Add texi/muse.html and the DVC log edit file.
278 * Makefile.defs.default (install_info): Rename from INSTALLINFO.
279 Turn this into something that can be called like a command, due to
280 needing to deal with XEmacs, which has different argument order.
281 Thanks to Terrence Brannon for the report.
283 * lisp/muse-project.el (muse-project-of-file): Simplify by using
284 catch, throw, and dolist. Look for exact matches before
285 considering any subdirectories. If no exact matches are found,
286 then pick the longest match.
288 * lisp/muse.el (muse-sort-by-rating): Mention default test in
291 * scripts/muse-build.el: Avoid interference from VC.el in the
294 * texi/Makefile (install): Call install_info.
296 2007-08-03 Michael Olson <mwolson@gnu.org>
298 * lisp/muse-project.el (muse-project-applicable-styles): Remove
299 useless argument ignore-regexp. Use saner logic. This fixes a
300 bug where a file could potentially not exist but still appear in
301 the used-styles list. Thanks to John Wiegley for the fix.
302 (muse-project-publish-file): Don't take ignore-reegxp argument.
304 2007-08-02 Michael Olson <mwolson@gnu.org>
306 * lisp/muse-publish.el (muse-batch-publish-files): Don't activate
307 VC when publishing files in batch. This avoids some annoying
308 messages when building QuickStart in the examples directory.
310 * lisp/muse-mode.el (muse-mode): Don't try to indent line before
313 2007-07-31 Michael Olson <mwolson@gnu.org>
315 * lisp/Makefile: Add dependencies between Emacs Lisp files, so
316 that Muse can be recompiled without running "make clean" after an
319 * lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
320 delete forward one character, since we are guaranteed to be on a
321 blank line. Don't delete all initial whitespace of the first
322 line. This fixes an issue where the output from the verse tag did
323 not match the output from Muse's verse syntax.
325 2007-07-29 Michael Olson <mwolson@gnu.org>
327 * Relicense to GPLv3.
329 * Makefile.defs.default: Rename from Makefile.defs. This allows
330 people to copy this file to Makefile.defs and make changes,
331 without having the changes be accidentally committed. If
332 Makefile.defs does not exist, this file is read instead, in order
333 to minimize inconvenience to the casual user.
335 * Makefile, contrib/Makefile, examples/Makefile,
336 experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
337 Makefile.defs.default or Makefile.defs.
339 * lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
341 (muse-l-e-m-m-insert-list-item): Add real documentation.
342 (muse-l-e-m-m-increase-list-item-indent)
343 (muse-l-e-m-m-decrease-list-item-indent): Rename for clarity. Add
345 (muse-list-edit-minor-mode): Improve documentation.
347 * texi/doclicense.texi (GNU Free Documentation License): Use
348 pristine copy from Emacs source tree.
350 * texi/muse.texi (Contributors): Move node and appendix indicators
351 here, rather than doclicense.texi.
353 2007-07-29 Jean Magnan de Bornier <jean@bornier.net>
355 * lisp/muse-latex.el (muse-latex-markup-strings): Change rule
356 command which did not work correctly
358 * lisp/muse-context.el (muse-context-markup-strings): Change rule
359 command which did not work correctly; defined verse commands
360 (muse-context-markup-specials-literal): Eliminate all unuseful entries
362 2007-07-29 Michael Olson <mwolson@gnu.org>
364 * contrib/httpd.el (httpd-send-file): Use
365 insert-file-contents-literally instead of insert-file-contents.
367 * examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
368 Use insert-file-contents-literally instead of
369 insert-file-contents.
371 * experimental/muse-split.el (muse-publish-file)
372 (muse-publish-presplit-publish, muse-publish-no-split-function)
373 (muse-journal-split-by-entry, muse-journal-split-by-month): Use
374 insert-file-contents-literally instead of insert-file-contents.
376 * lisp/muse-book.el (muse-book-publish-chapter)
377 (muse-book-get-directives): Use insert-file-contents-literally
378 instead of insert-file-contents.
380 * lisp/muse-http.el (muse-http-render-page): Use
381 insert-file-contents-literally instead of insert-file-contents.
383 * lisp/muse-import-latex.el (muse-import-latex): Set marker to
384 nowhere when done, since they can slow things down.
386 * lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
387 marker to nowhere when done, since they can slow things down.
389 * lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
390 when done, since they can slow things down. Use
391 insert-file-contents-literally instead of insert-file-contents.
393 * lisp/muse-publish.el (muse-publish-markup-tag)
394 (muse-publish-markup-word, muse-publish-markup-footnote)
395 (muse-publish-call-tag-on-buffer): Set markers to nowhere when
396 done, since they can slow things down.
397 (muse-insert-file-or-string, muse-publish-file)
398 (muse-publish-include-tag, muse-published-contents): Use
399 insert-file-contents-literally instead of insert-file-contents.
400 (muse-publish-surround-dl): Remove unused variable. Track whether
401 a term has been found, and handle that case well.
402 (muse-publish-ensure-blank-line): Use a marker, so that we don't
403 lose our place when adding a newline. This really fixes the
404 definition list item bug.
405 (muse-publish-markup-list): Since people do seem to want
406 definition lists with no terms, allow this.
407 (muse-batch-publish-files): Set muse-current-output-style.
409 * lisp/muse.el (muse-with-temp-buffer): Mention
410 `insert-file-contents-literally'.
412 2007-07-28 Michael Olson <mwolson@gnu.org>
414 * lisp/muse-mode.el (muse-browse-result): Set
415 muse-current-output-style.
416 (muse-mode): Don't duplicate the paragraph-start regexp
418 (muse-list-edit-minor-mode-map): New variable containing the
419 keymap for Muse list edit minor mode.
420 (muse-l-e-m-m-list-item-regexp): New variable that matches list
421 items for Muse list edit minor mode.
422 (muse-l-e-m-m-insert-list-item,
423 muse-l-e-m-m-i-list-item-indentation)
424 (muse-l-e-m-m-d-list-item-indentation): Variants of existing list
425 item functions that change the list item regexp before calling the
427 (muse-l-e-m-m-data): New variable that keeps track of the fill
428 data that we overwrite when activating Muse list edit minor mode,
429 so that we can restore it if the minor mode is toggled off.
430 (muse-list-edit-minor-mode): New minor mode that is useful for
431 editing lists in other major modes.
432 (turn-on-muse-list-edit-minor-mode)
433 (turn-off-muse-list-edit-minor-mode): New interactive functions
434 that turn Muse list edit minor mode on and off, respectively.
435 (muse-on-blank-line, muse-get-paragraph-start): Simplify some
438 * lisp/muse-project.el (muse-project-publish-this-file): Set
439 muse-current-output-style. This fixes a bug when publishing to a
440 style that is not first in the list of styles. Thanks to Jean
441 Magnan de Bornier for the report.
443 * lisp/muse-publish.el (muse-publish-ensure-blank-line): New
444 function that ensures that a blank line exists in the line before
446 (muse-publish-markup-list): Use it, rather than
447 `muse-publish-ensure-block'. This fixes a bug with definition
448 list publishing. Thanks to meandtheshell for reporting this.
450 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
451 project argument is nil, default to the current project instead of
452 the first project entry in muse-project-alist. This seems much
455 * lisp/muse.el (muse-forward-list-item): Only check the 'face
456 property if we are in Muse mode or one of its derivatives. This
457 allows movement on nested lists to work in other modes, and fixes
458 an issue with altering list indentation in
459 muse-list-edit-minor-mode.
461 2007-07-27 Michael Olson <mwolson@gnu.org>
463 * AUTHORS: Add new authors.
465 * README: Permit Muse to be called "Emacs-Muse".
467 * etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
469 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug
470 involving list items that have an extra blank line in front.
472 * texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
473 and Emacs-Muse are the same thing.
475 2007-07-27 Jean Magnan de Bornier <jean@bornier.net>
477 * lisp/muse-context.el (muse-context-header): Put
478 starttext after the modules who must be in preamble.
479 (muse-context-markup-strings): Fixed mistake in begin-example and
482 * lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
483 math environment in ConTeXt when centered: "$$ $$" has to be
484 "\startformula \stopformula".
486 2007-07-26 Michael Olson <mwolson@gnu.org>
488 * lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
491 2007-07-24 Michael Olson <mwolson@gnu.org>
493 * examples/QuickStart.muse (Images): Fix typo where some text
494 existed in the output but not in the example region.
495 (Source Code): Fix another typo. Explain that publishing from
496 console or X can make a difference.
498 * lisp/muse-context.el (muse-context-pdf-program): New option that
499 determines the program to use for generating PDF files for
501 (muse-context-pdf-cruft): New option that specifies the extensions
502 of files to remove after generating PDF output successfully.
503 (muse-context-slides-header): Docfix.
504 (muse-context-pdf-generate): Use new options.
506 * lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
507 save-restriction call. This was causing a world of hurt when
508 using <lisp> inside of <include>.
510 * texi/muse.texi (ConTeXt): New section that documents how to use
511 the ConTeXt publishing styles.
513 2007-07-23 Michael Olson <mwolson@gnu.org>
515 * lisp/muse-context.el: New file that provides support for
516 publishing documents to the ConTeXt format. Thanks to Jean Magnan
517 de Bornier for his work on this.
519 * lisp/muse-docbook.el (muse-docbook-entities)
520 (muse-docbook-bibliography): Remove unneeded save-restriction use.
522 * lisp/muse-latex2png.el (muse-publish-latex-tag):
525 * lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
526 (muse-latex-bibliography): Remove call to `widen', since it is not
527 needed anymore. Remove unneeded save-restriction use.
528 ("slides", "slides-pdf"): Indent elements uniformly.
530 2007-07-22 Michael Olson <mwolson@gnu.org>
532 * lisp/muse-blosxom.el (muse-blosxom-new-entry):
533 * lisp/muse-mode.el (muse-insert-tag):
534 * lisp/muse-project.el (muse-read-project)
535 (muse-read-project-file):
536 * lisp/muse-publish.el (muse-publish-get-style): Use
537 muse-completing-read-function.
539 * lisp/muse-latex2png.el (muse-publish-latex-tag)
540 (muse-publish-math-tag): Allow the context style -- which I plan
541 to include soon -- to work with these tags.
543 * lisp/muse.el (muse-completing-read-function): New option that
544 determines which function to call when doing a completing-read.
546 2007-07-15 Michael Olson <mwolson@gnu.org>
548 * lisp/muse-journal.el (muse-journal-html-entry-template)
549 (muse-journal-rdf-entry-template)
550 (muse-journal-rss-entry-template): Mention that this can be text
552 (muse-journal-rdf-entry-template, muse-journal-rss-header)
553 (muse-journal-rss-footer, muse-journal-rss-entry-template): Add
554 newlines to make the output look nicer.
555 (muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
556 Use muse-insert-file-or-string for the entry templates, rather
557 than muse-insert-markup. This allows <lisp> and <markup> tags to
558 be acted on. Thanks to Scott Hyde for the report.
559 (muse-journal-html-munge-buffer): Escape quote of the day using
560 entire-document specials before snarfing it. Mark entire template
561 as read-only -- this fixes an incorrect escaping bug. Remove
562 read-only properties before replacing template matches so that
563 they can still be escaped with entire-document specials later on.
564 (muse-journal-rss-munge-buffer): Make sure that title is escaped
566 (muse-journal-markup-tags): Rename from
567 muse-journal-latex-markup-tags, because we will use it for
568 journal-rss-entry as well.
569 (muse-journal-qotd-tag): Move higher. Use begin-quote-item and
571 (muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
573 ("journal-latex", "journal-pdf", "journal-book-latex")
574 ("journal-book-pdf"): Use muse-journal-markup-tags rather than
575 muse-journal-latex-markup-tags.
576 ("journal-rss-entry"): New style that is used by journal-rss and
577 journal-rdf to mark up individual entries. It is needed so that
578 we can do something meaningful with the qotd tag.
579 (muse-journal-rdf-summarize-entries): Set this to nil by default,
580 because it is annoying. Update docs to mention this.
581 (muse-journal-rss-summarize-entries): Docfix.
583 * lisp/muse-publish.el (muse-insert-file-or-string): Use
584 muse-publish-markup-header-footer-tags. I'm not quite sure how
585 this change got reverted.
586 (muse-markup-tag-info): Make into a function. Move common code
587 here, rather than duplicating it in two places. Deal with case
588 where muse-publish-use-header-footer-tags is non-nil.
589 (muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
590 (muse-inhibit-style-tags): Move higher to avoid byte-compiler
592 (muse-publish-use-header-footer-tags): New variable that indicates
593 whether we should use just the header and footer tags, rather than
595 (muse-insert-file-or-string): Bind
596 muse-publish-use-header-footer-tags to t.
597 (muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
598 Simplify call to muse-markup-tag-info.
599 (muse-publish-mark-up-tag): Bind
600 muse-publish-use-header-footer-tags to nil.
602 * texi/muse.texi (Journal): Update for recent changes.
604 2007-07-14 Michael Olson <mwolson@gnu.org>
606 * lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
607 delete the remainder of the buffer, since this causes the
608 resulting RDF to have invalid syntax. Thanks to Phillip Lord for
609 the report and the suggested fix.
611 * lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
612 beginning of table-el regexp. This fixes a bug where Muse stalls
613 when trying to publish a malformed table. Thanks to Ye Wenbin for
614 the report and the suggested fix.
616 2007-07-12 Michael Olson <mwolson@gnu.org>
618 * lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
619 default, rather than the empty string. This really fixes the bug
620 that occurred when using Muse with muse-project-alist set to nil.
621 Thanks to Jonathan Underwood for the report.
622 (muse-wiki-update-interwiki-regexp): Set
623 muse-wiki-interwiki-regexp to nil if muse-project-alist is not
625 (muse-wiki-handle-implicit-interwiki)
626 (muse-wiki-handle-explicit-interwiki): Handle case where
627 muse-wiki-interwiki-regexp is nil.
629 2007-07-10 Michael Olson <mwolson@gnu.org>
631 * lisp/muse-mode.el (muse-grep): Abort search if the current
632 project contains no directories.
634 * lisp/muse-project.el (muse-project-file-alist): If
635 muse-project-alist is not defined, or project is nil, return nil
636 right away. This ought to fix a bug that occurred when using Muse
637 with muse-project-alist set to nil.
638 (muse-project-of-file): Make sure muse-project-alist is not nil.
639 (muse-project-save-buffers): Make sure project is not nil.
641 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
642 case where muse-project-alist is nil.
644 * lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
645 for XEmacs, since color-theme.el is poorly behaved, and defines
646 its own replace-in-string. Bad color-theme.el -- no cookie for
649 2007-07-01 Michael Olson <mwolson@gnu.org>
651 * Makefile (.PHONY): Update for new debian package rules.
653 * lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
655 * lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
656 Use save-restriction properly.
657 (muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
659 * lisp/muse-latex.el (muse-latex-footer): Wrap long line.
660 (muse-latex-fixup-citations): Re-indent. Use save-restriction
662 (muse-latex-bibliography): Re-indent.
664 * lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
665 higher. This fixes an error at startup with some versions of
667 (muse-publish-cite-tag): Re-indent.
669 * lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
670 to the end of the link part, so as to exclude the description from
671 the match. This fixes a bug with three-part links that have
672 descriptions. Thanks to everyone who pointed it out.
674 2007-06-18 Michael Olson <mwolson@gnu.org>
676 * lisp/muse-html.el (muse-html-markup-strings): Add anchor.
677 (muse-xhtml1.1-markup-strings): New option that specifies XHTML
678 1.1 specific markup strings.
679 (muse-html-insert-anchor): Use 'anchor string, rather than
680 hard-coding it. Thanks to Chris Corsair for the suggestion.
681 ("xhtml1.0"): New style that is an alias for the xhtml style.
682 ("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
684 2007-06-17 Michael Olson <mwolson@gnu.org>
686 * examples/QuickStart.muse: Make images local so that the Info
687 version of this document works. Add <example> for the Literal
688 paragraphs chapter, so that it is clear what is happening.
690 * Makefile: Add elpa target, which is used for building an ELPA
693 * Makefile.defs (ELPADIR, ELPADESC): New variables used for
694 building ELPA packages.
696 * examples/Makefile (%.html, %.pdf, %.info): Add message to
697 indicate what we are publishing.
698 (realclean distclean fullclean): Remove all TeX crud.
700 * examples/emacs-muse.png, examples/muse-made-with.png: Include so
701 that the Info version of QuickStart can publish correctly.
703 * lisp/muse-latex.el (muse-latex-slides-header)
704 (muse-latex-lecture-notes-header): Docfix.
706 * lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
707 the list of things to ignore.
709 * lisp/muse-publish.el (muse-publish-markup-list): Remove unused
712 * lisp/muse-texinfo.el (muse-texinfo-process-natively): Set
713 default to nil, since texinfmt.el is a serious nuisance.
714 (muse-texinfo-markup-strings): Add newlines to begin-example and
716 (muse-texinfo-decide-specials): Also escape URL-type specials in a
717 whole slew of other contexts.
719 * lisp/muse-xml-common.el (muse-xml-encoding-map): Change group to
722 * lisp/muse-xml.el (muse-xml-footer): Docfix.
724 * lisp/muse.el (muse-version): Release Emacs Muse version 3.03.
726 2007-06-16 Michael Olson <mwolson@gnu.org>
728 * etc/IDEAS.muse: Add some ideas from David D. Smith.
730 * examples/QuickStart.muse: Overhaul.
732 * lisp/muse-project.el (muse-project): Call the last part of a
733 muse-project-alist entry "Output styles" rather than "styles".
735 * lisp/muse-publish.el (muse-publish-table-fields): Handle case
736 where we have a pipe character at the beginning of line.
738 * lisp/muse-xml-common.el (muse-xml-sort-table): Fix typo that was
739 causing tables to not be sorted at all.
741 * texi/muse.texi: Overhaul. It would be too time-consuming to
742 list all of the changes here. The "Getting Started" and
743 "Projects" chapters, in particular, were heavily revised.
745 2007-06-15 Michael Olson <mwolson@gnu.org>
749 * examples/QuickStart.muse: Mention new features.
751 * lisp/muse-colors.el (muse-colors-toggle-inline-images): Docfix.
752 Remove C-c C-i keybinding, since it conflicts with C-c TAB in the
753 terminal, and C-c TAB is more important. Most people will not
754 want to toggle images on and off that often.
756 * lisp/muse-mode.el (muse-mode-map): Bind muse-insert-thing to C-c
757 C-i as well, so that it works in the terminal.
759 * lisp/muse-publish.el (muse-publish-literal-tag): Make the output
760 look a bit tidier when removing the region.
762 * lisp/muse-regexps.el (muse-list-item-regexp): Put definition
763 list regexp part before other parts.
764 (muse-ol-item-regexp): New regexp that specifies how to match an
766 (muse-ul-item-regexp): New regexp that specifies how to match an
768 (muse-table-field-regexp): New regexp that specifies how to match
769 a definition list entry.
771 * lisp/muse-texinfo.el (muse-texinfo-info-generate): Work around
772 lack of support for @headitem in texinfmt.el.
774 * lisp/muse.el: Wrap muse-line-beginning-position and
775 muse-line-end-position in `eval-and-compile', since they are now
777 (muse-list-item-type): Use a simpler algorithm for detecting which
778 kind of list item we have. This fixes a bug where a number in a
779 definition list term was being detected incorrectly as an ordered
780 list item. Fixes bug #6250.
781 (muse-forward-list-item): Get the entire line with the list item.
782 For some reason, Emacs 21 was not populating match 2 correctly,
783 unlike Emacs 22, so this workaround was needed.
785 * texi/muse.texi: (Keystroke Summary): Remove C-c
786 C-i (`muse-insert-tag') documentation, and mention C-c C-i as an
787 alternative keybinding to the C-c TAB stuff. Mention
788 muse-colors-toggle-inline-images.
790 2007-06-14 Michael Olson <mwolson@gnu.org>
792 * README: Mention that RelaxNG schema is in etc/ directory.
794 * etc/emacs-wiki-migration.txt: New document that explains how to
795 migrate from emacs-wiki to Muse.
797 * etc/muse.rnc: Increment version number to 1.0. Fix several
798 nested emphasis and nested lists edge cases. Move here from
801 * lisp/muse-mode.el (muse-mode-map): Permit C-c C-M-t to do the
802 same thing as C-c C-S-t, since the former works better in the
803 console. Thanks to Leo for the suggestion.
805 * lisp/muse-publish.el (muse-publish-markup-table)
806 (muse-publish-markup-table-el): Include a newline in the return
807 string, so that paragraph detection does not get confused.
809 * lisp/muse.el (muse-with-temp-buffer): Docfix.
811 * texi/muse.texi (Keystroke Summary): Document the C-c C-M-t
814 2007-06-13 Michael Olson <mwolson@gnu.org>
816 * etc/IDEAS.muse: Mark three-part-links item as done.
818 * experimental/muse-message.el: Remove guard for muse-define-style
821 * lisp/muse-colors.el (muse-configure-highlighting): Fix bug where
822 markup rules were being interpreted in reverse order. This should
823 make implicit interwiki links work properly again.
824 (muse-link-face): Strip anchor from end of a path, so that this
825 works with anchors in interwiki links.
826 (muse-colors-insert-image): Catch error that occurs in Emacs 21
827 when an image does not exist.
829 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Permit
831 (muse-wiki-handle-implicit-interwiki): Docfix. Make anchors in
832 interwiki links work. Thanks to Jim Ottaway for the initial
834 (muse-wiki-handle-explicit-interwiki): Make anchors in interwiki
837 * lisp/muse.el (muse-handle-implicit-link): Docfix: only care
839 (muse-handle-explicit-link): Docfix: this does not modify the
841 (muse-file-remote-p): In Emacs 21, ange-ftp-name-format is a list
842 that has the regexp in its car.
844 2007-06-12 Michael Olson <mwolson@gnu.org>
846 * README: Document new etc/ directory.
848 * etc/IDEAS.muse: Install things from new contributors just after
849 the 3.03 release, since I won't have time to review the code
850 before the release. Move to new etc/ directory. Slides
851 publishing has been installed.
853 * lisp/muse-latex.el (muse-latex-slides-header): New option that
854 determines the header to use for publishing slides.
855 (muse-latex-lecture-notes-header): New option that determines the
856 header to use for publishing lecture notes.
857 (muse-latex-slides-markup-tags): New option containing tags to use
858 when publishing slides.
859 (muse-latex-permit-contents-tag): Move higher in file.
860 (muse-latex-slide-tag): New function to publish the <slide> tag.
861 ("slides", "slides-pdf"): New publishing styles that create slides
863 ("lecture-notes", "lecture-notes-pdf"): New publishing styles that
864 create lecture notes using Beamer.
866 * lisp/muse.el: Re-add the auto-mode-alist part to top-level,
867 since otherwise Planner is not happy when `plan' is called during
868 init. Remove stray quote from autoload snippet.
870 2007-06-11 Michael Olson <mwolson@gnu.org>
872 * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an
873 autoload, rather than having it exist at top-level. Thanks to Leo
875 (muse-update-file-extension): Docfix.
877 2007-06-10 Michael Olson <mwolson@gnu.org>
879 * lisp/muse-publish.el (muse-publish-strip-URL): Fix bug where
880 URLs were being removed during publishing. Thanks to everyone who
883 2007-06-09 Markus Hoenicka <markus.hoenicka@mhoenicka.de>
886 * lisp/muse-docbook.el
888 * lisp/muse-publish.el: added support for <cite> element which
889 denotes in-text citations
893 * lisp/muse-texinfo.el
894 * lisp/muse-xml.el: added support for <cite> element (stub)
896 2007-06-06 Michael Olson <mwolson@gnu.org>
898 * lisp/muse-regexps.el (muse-table-line-regexp)
899 (muse-table-hline-regexp, muse-table-el-border-regexp): Fix
900 regexps so that they work with XEmacs 21. Thanks to Adrian
901 Tritschler for the report.
903 * texi/muse.texi: Update copyright years.
904 (HTML): Document muse-xhtml-style-sheet. Thanks
905 to thorne for noticing.
906 (Development): Change archive year to 2006. Thanks to Adrian
907 Tritschler for noticing. So *that's* why some people had the 2005
910 2007-06-05 Michael Olson <mwolson@gnu.org>
912 * Makefile (install-info): Remove $(MANUAL).info part, since this
913 is taken care of already by texi/Makefile. Thanks to Leo for the
916 * lisp/muse-journal.el (muse-journal-html-munge-buffer): Add
917 read-only properties to qotd contents, so that they don't get
918 double-escaped. Thanks to Leo for the report.
920 2007-06-04 Michael Olson <mwolson@gnu.org>
922 * lisp/muse-colors.el (muse-link-face): If the link is to a remote
923 -- that is, Tramp or ange-ftp -- file, then do not call
924 file-exists-p on it. Thanks to Jim Ottaway for the suggestion.
927 * lisp/muse-html.el (muse-html-insert-contents): Add
928 documentation. Handle case where heading is read-only, but has
929 muse-contents property. Remove the muse-contents property for any
930 heading we come across so as to avoid double-including an item in
931 an outer table of contents.
932 (muse-html-denote-headings): New function that denotes whether a
933 heading is not read-only by adding the muse-contents property to
935 (muse-html-munge-buffer): If we are not to generate contents,
936 still denote headings, in case some outer layer wants to generate
937 contents for our headings. This should fix a bug with table of
938 contents and the <include> tag. Thanks to thorne for the report.
940 * lisp/muse-publish.el (muse-publish-markup-region): Let-bind
941 muse-publish-generate-contents and set it to nil. This should
942 do the right thing when using <include> tags.
944 2007-06-02 Michael Olson <mwolson@gnu.org>
946 * NEWS: Update for non-inlined image change and support for
947 table.el style tables.
949 * examples/Makefile (clean): Clean backup files.
951 * examples/QuickStart.muse (Images): New section that describes
952 how to inline and not inline images.
954 * lisp/muse-colors.el (muse-colors-resolve-image-file): Don't
955 touch images that have "URL:" in front of them.
957 * lisp/muse-protocols.el (muse-url-protocols): Add handler for
958 "URL:". Use the identity function to resolve, since we don't want
959 to rip "URL:" out while publishing, due to some magic that depends
961 (muse-browse-url-url): New function that browses URLs that have
962 "URL:" in front of them, by removing the "URL:" part and
963 reprocessing the remainder.
965 * lisp/muse-publish.el (muse-publish-classify-url): Docfix.
966 (muse-publish-url): Recognize images in the description before
967 images in the link. Fixes bug #5112. Thanks to Thomas Kappler
968 for the suggested workaround.
969 (muse-publish-desc-transforms): Add `muse-publish-strip-URL' as a
971 (muse-publish-classify-url): If target begins with "URL:" return
973 (muse-publish-strip-URL): New function that strips "URL:" from the
974 beginning of a string. This is used to remove URL: from the link
975 description. * texi/muse.texi (Markup Strings): Clarify the
976 meanings of image-link, link, and link-and-anchor.
977 (muse-publish-markup-regexps): Move normal table rule to 2350.
978 Rule 2300 is now a regexp that matches table.el-style tables.
979 (muse-publish-markup-functions): Add table-el entry.
980 (muse-publish-table-el-table): New function that given a variant,
981 publishes a table.el-style table using the table in the matched
983 (muse-publish-markup-table-el): New function that determines
984 whether the table.el-style table can be published, and what
987 * lisp/muse-regexps.el (muse-tag-regexp): New regexp that matches
988 the borders of table.el-style tables.
990 * lisp/muse-xml-common.el (muse-xml-markup-table): Make sure that
991 the table has sufficient whitespace in front of it.
993 * texi/muse.texi (Images): Update for new non-inlined image
994 ability and provide example.
996 2007-05-31 Michael Olson <mwolson@gnu.org>
998 * NEWS: Add example for setting `muse-html-table-attributes'.
1000 * lisp/muse-xml-common.el (muse-xml-markup-table): Add docstring.
1001 Publish multiple tbody tags if there is a horizontal separator
1002 after the heading, because that is valid HTML after all.
1004 2007-05-30 Michael Olson <mwolson@gnu.org>
1008 * lisp/muse-latex.el (muse-latex-markup-table): Deal with
1009 horizontal separators in tables.
1011 * lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
1012 horizontal separators in tables.
1013 (muse-publish-trim-table): New function to remove initial and
1014 final blank columns from a table.
1015 (muse-publish-table-fields): Call `muse-publish-trim-table'. Deal
1016 with horizontal separators, aka "hlines".
1018 * lisp/muse-regexps.el (muse-table-hline-regexp): New regexp that
1019 defines the syntax of a horizontal separator in a table.
1021 * lisp/muse-texinfo.el (muse-texinfo-markup-table): Deal with
1022 horizontal separators. Publish header lines correctly.
1024 * lisp/muse-xml-common.el (muse-xml-sort-table): Deal with case
1025 where we have nonnumbers as a row type. This ignores sorting for
1027 (muse-xml-markup-table): Deal with horizontal separators. If the
1028 markup supports table groups, make hlines separate table groups.
1029 Otherwise, ignore them, since they cannot be marked up. Together,
1030 these changes allow us to support orgtbl-mode tables. Thanks to
1031 Carsten Dominik for the suggestion.
1033 2007-05-26 Michael Olson <mwolson@gnu.org>
1035 * lisp/muse-project.el (muse-project-alist-styles): Allow for
1036 other things to be added to each generated style as well. For
1037 example, this permits me to add
1038 :base-url "http://blog.mwolson.org/"
1041 2007-05-25 Michael Olson <mwolson@gnu.org>
1043 * Makefile (debclean, debprepare, debbuild, debinstall, deb): New
1044 way of building Debian packages that preserves the original
1045 release tarball and is more modular.
1046 (debrevision, debrelease): Remove.
1047 (dist): No need to remove the debian/ directory, since it is now
1049 (debprepare): Copy over debian/ directory properly.
1053 * examples/Makefile (clean): Remove QuickStart.texi, in case
1054 something went wrong during the build.
1055 (%.pdf): Publish the example using the normal pdf style, rather
1058 * examples/QuickStart.muse: Add myself to the authors list.
1060 * lisp/muse-html.el (muse-html-src-tag): Ensure that we have
1061 sufficient blank lines before the tag.
1063 * lisp/muse-journal.el (muse-journal-latex-qotd-tag): Ensure that
1064 we have sufficient blank lines before the tag.
1066 * lisp/muse-latex.el (muse-latex-pdf-program): New option that
1067 specifies the program to call in order to generate PDF content
1069 (muse-latex-pdf-cruft): New option that specifies the extensions
1070 of files to remove after generating PDF output successfully.
1071 (muse-latex-pdf-generate): Use these new options. Work around the
1072 annoying edge case where a tilde character exists in the filename
1073 or directory path -- now this can only error out when the relative
1074 path from the output file to the source file contains a tilde,
1075 which is far less likely.
1077 * lisp/muse-publish.el (muse-publish-markup-attribute): Don't use
1078 muse-publish-ensure-block here after all, because <lisp> et al may
1079 occur inline as part of other things.
1081 * lisp/muse-texinfo.el ("texi"): Make muse-texinfo-munge-buffer
1082 occur after full-document escaping, rather than before. This
1083 prevents automatically-inserted Texinfo code from being escaped.
1084 (muse-texinfo-pdf-generate): Rewrite to call
1085 `muse-latex-pdf-generate' with pdftex as the generating binary,
1086 because texi2pdf suffers irredeemably from the tilde edge case
1089 2007-05-24 Michael Olson <mwolson@gnu.org>
1091 * NEWS: Drop vague entries and position interesting entries closer
1092 to the top of each section. Update for new changes.
1094 * lisp/muse-project.el (muse-project-ignore-regexp): Add Mercurial
1095 and bzr metadata directories to the list of things to ignore.
1097 * lisp/muse-publish.el (muse-publish-ensure-block): Rename from
1098 `muse-publish-ensure-block-tag', since we will use it for more
1100 (muse-publish-markup-list, muse-publish-verse-tag)
1101 (muse-publish-quote-tag, muse-publish-example-tag)
1102 (muse-publish-markup-attribute): Use it. This fixes a bug that
1103 can occur when these types of markup occur immediately after a
1104 paragraph. It's good to have defined behavior!
1106 * texi/muse.texi (Markup Strings): Mention new argument for
1109 2007-05-19 Michael Olson <mwolson@gnu.org>
1111 * lisp/muse-html.el (muse-html-markup-footnote): Add class tags to
1112 published footnotes and footnote references. Thanks to Scott
1113 Jaderholm for the idea.
1115 * lisp/muse-latex.el (muse-latex-markup-strings): Revert change to
1116 link-and-anchor, on the recommendation of the original submitter.
1118 2007-05-14 Michael Olson <mwolson@gnu.org>
1120 * lisp/muse-latex.el (muse-latex-markup-strings): Use better
1121 link-and-anchor markup. Thanks to Jean Magnan de Bornier for the
1124 * lisp/muse-publish.el (muse-publish-url): Pass the url without a
1125 file extension as the fourth argument.
1127 * README, texi/muse.texi (Getting Help and Reporting Bugs):
1128 Mention the new muse-el-logs mailing list.
1130 2007-05-13 Michael Olson <mwolson@gnu.org>
1132 * lisp/muse-protocols.el (muse-resolve-url): Don't concatenate
1133 "\`" here. This fixes a problem with publishing custom URLs.
1135 2007-05-12 Michael Olson <mwolson@gnu.org>
1137 * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Only
1138 update the list if the current buffer is associated with a file.
1139 This fixes a bug with M-x muse-publish-region in a temporary
1142 2007-05-01 Michael Olson <mwolson@gnu.org>
1144 * lisp/muse-publish.el (muse-publish-region): Remove read-only
1145 properties from the published buffer, so that the results can be
1148 2007-04-23 Michael Olson <mwolson@gnu.org>
1150 * lisp/muse-publish.el (muse-publish-markup-footnote): If we can't
1151 find the footnote that goes with a reference, leave the reference
1152 as-is. This fixes an error where control characters could be
1153 placed in a published document.
1155 2007-04-22 Michael Olson <mwolson@gnu.org>
1157 * IDEAS.muse: Add muse-slides.el to list of things to include
1160 * lisp/muse-protocols.el (muse-url-protocols): Remove stray quote
1162 (muse-protocol-find): Find protocols correctly. Rewrite to use
1164 (muse-browse-url): Don't concatenate "\`" here. Together, this
1165 fixes a bug with browsing woman:// links.
1167 * lisp/muse-project.el (muse-project-alist-styles): Deal with case
1168 where entry-dir has a trailing backslash.
1169 (muse-project-publish-file): If a style is malformed, skip it and
1170 display a warning message. This should help people figure out
1171 where the problem is.
1173 2007-04-21 Michael Olson <mwolson@gnu.org>
1175 * lisp/muse-latex2png.el (muse-publish-math-tag): If using the
1176 yet-to-be-included "contex" publishing style, use "$$" rather
1177 than "\[" and "\]". Thanks to Jean Magnan de Bornier for pointing
1180 2007-04-20 Michael Olson <mwolson@gnu.org>
1182 * lisp/muse-publish.el (muse-publish-inhibit-style-hooks): New
1183 variable that causes the :before and :before-end hooks to be
1184 ignored when non-nil.
1185 (muse-publish-markup-region): Use it. Also, guarantee that point
1186 is at end of region after publishing.
1187 (muse-publish-mark-up-tag): Simplify, taking advantage of the new
1190 2007-04-19 Michael Olson <mwolson@gnu.org>
1192 * IDEAS.muse: New file containing a list of ideas we have for new
1193 features, or patches that have yet to be applied.
1195 * README: Call it "Emacs Muse", not "the Emacs Muse". No need to
1198 * lisp/muse-html.el (muse-html-table-attributes): Fix typo in
1201 * lisp/muse-publish.el (muse-publish-markup-tags): Handle
1202 <literal> tags with muse-publish-literal-tag, rather than
1203 muse-publish-mark-read-only.
1204 (muse-publish-literal-tag): New function that publishes the
1205 <literal> tag. It adds the ability to add the optional "style"
1206 and "exact" elements, which cause text to only be included if the
1207 current publishing style matches some criteria. The text will be
1208 removed otherwise. Thanks to Jim Ottaway for the implementation.
1209 (muse-publish-mark-up-tag): Let the <markup> tag take the
1210 additional optional elements "style" and "exact", with much the
1211 same effect as the <literal> improvements, but after calling
1212 "function" or publishing the region first. Make it possible to
1213 put <content> tags in <markup> regions in HTML publishing.
1215 2007-04-12 Michael Olson <mwolson@gnu.org>
1217 * lisp/muse-publish.el (muse-publish-markup-heading): Make sure
1218 that a blank line always exists after a heading. This fixes a bug
1219 in Docbook paragraph detection. Thanks to Jean Magnan de Bornier
1222 * lisp/muse-xml.el (muse-xml-markup-regexps): Update paragraph
1223 detection regexp to that which is used in Docbook and HTML
1226 2007-04-02 Michael Olson <mwolson@gnu.org>
1228 * README (muse-el-announce): Make a listing of mailing lists,
1229 rather than pointing to the old EmacsWikiMailingList page. Thanks
1230 to Andreas Roehler for noticing.
1232 2007-04-01 Michael Olson <mwolson@gnu.org>
1234 * lisp/muse-publish.el (muse-publish-date-format): Add
1235 ` customization type and group.
1236 (muse-publish-region): New interactive function that publishes a
1237 region to a new buffer.
1239 * texi/muse.texi: Use "document" rather than "manual".
1241 2007-03-31 Michael Olson <mwolson@gnu.org>
1243 * lisp/muse-publish.el (muse-style-derived-p): Fix bug where the
1244 expression (muse-style-derived-p "latex" (muse-style "latex"))
1245 yielded nil. It now yields t, as expected. Thanks to Jim Ottaway
1248 2007-02-25 Michael Olson <mwolson@gnu.org>
1250 * lisp/muse-publish.el (muse-publish-date-format): New option that
1251 specifies how to format the date when publishing Muse pages.
1252 Thanks to Thomas Gehrlein for the suggestion.
1253 (muse-publish-markup-buffer): Use it.
1255 2007-02-23 Michael Olson <mwolson@gnu.org>
1257 * README: Add Prerequisites section to mention which versions of
1258 Emacs work with Muse. Thanks to Exal de Jesus Garcia Carrillo for
1259 the suggestion. Update link destination for Muse's page on
1262 2007-02-15 Michael Olson <mwolson@gnu.org>
1264 * lisp/muse.el (muse-goto-tag-end): Modify regexp to allow tags to
1265 be not just at beginning of line. This fixes an error with the
1266 <class> tag. Thanks to Jim Pivarski for the report.
1268 2007-02-14 Michael Olson <mwolson@gnu.org>
1270 * lisp/muse-publish.el (muse-publish-classify-url): Check to see
1271 whether something is an image before checking to see if it is a
1272 URL. Thanks to ITSUMI ken-ichi for the report.
1274 2007-02-13 Michael Olson <mwolson@gnu.org>
1276 * lisp/muse-publish.el (muse-publish-markup-regexps): Handle
1277 comments that have no text better. Thanks to fang.lungang for the
1279 (muse-publish-markup-comment): Deal with case where no comment
1282 2007-01-23 Michael Olson <mwolson@gnu.org>
1284 * lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
1285 that ensures that at least one blank line exists at the given
1286 position. This is used to avoid paragraph detection problems when
1287 block-level tags like <example> immediately follow a paragraph.
1288 Thanks to Hans Ekbrand for the report.
1289 (muse-publish-example-tag): Use it.
1291 2007-01-19 Michael Olson <mwolson@gnu.org>
1293 * lisp/muse-latex2png.el (muse-publish-math-tag): Only remove the
1294 previous blank line if we are publishing in Latex. Otherwise,
1295 that wouldn't be the right thing, so leave it be.
1297 2007-01-17 Michael Olson <mwolson@gnu.org>
1299 * lisp/muse-latex2png.el (muse-publish-math-tag): Don't put
1300 multiple centered math lines on the same line; keep them on
1301 different lines. Use \[ math-text \] instead of $$math-text$$,
1302 since the latter seems to be deprecated. Thanks to Jody Klymak
1305 2007-01-15 Michael Olson <mwolson@gnu.org>
1307 * lisp/muse-latex2png.el (muse-publish-latex-tag)
1308 (muse-publish-math-tag): Publish region read-only when current
1309 style is Latex-derived, so that Muse does not escape it.
1310 (muse-publish-math-tag): If 6 or more spaces come before the tag,
1311 surround the region with "$$" rather than "$". This is the Muse
1312 syntax for something centered, so it should be a good fit.
1314 2007-01-15 Valery V. Vorotyntsev <valery.vv@gmail.com>
1316 * lisp/muse-protocols.el (muse-url-protocols): Add "woman://"
1318 (muse-browse-url-man): Change man page URL format. The code is
1319 simpler when the section is left inside parentheses.
1320 (muse-browse-url-woman): New function.
1322 2007-01-14 Michael Olson <mwolson@gnu.org>
1324 * AUTHORS: Bookkeeping.
1326 * lisp/muse-latex2png.el: Associate <math> tag with
1327 muse-publish-math-tag, not muse-publish-latex-tag. Thanks to Jody
1328 Klymak for the report.
1329 (muse-publish-math-tag): Use muse-insert-markup for the "$"
1330 characters, so they don't get escaped.
1332 * lisp/muse-publish.el (muse-style-derived-p-1): New function to
1333 make muse-style-derived-p easier to implement.
1334 (muse-style-derived-p): If the style is not provided, fetch it and
1335 check to see if the car is a string. This should fix the other
1336 problem that was reported.
1338 * texi/muse.texi (Projects): Apply patch from Bradley M. Kuhn that
1339 explains a case where setting muse-file-extension to nil can cause
1340 unexpected behavior.
1342 2007-01-09 Michael Olson <mwolson@gnu.org>
1344 * lisp/muse-publish.el (muse-publish-markup-regexps): Make
1345 comments higher priority than tags. Thanks to Stefan van der Walt
1348 2007-01-08 Michael Olson <mwolson@gnu.org>
1350 * lisp/muse-publish.el (muse-markup-tag-info): Use the given
1351 argument rather than calling match-string. Thanks to Stefan van
1352 der Walt for the report. This should fix a bug with publishing
1353 <include file="..." markup="example">.
1355 2007-01-06 Michael Olson <mwolson@gnu.org>
1357 * Makefile (debclean): New rule split from debrevision and
1359 (debbuild): Take distributor into account.
1361 * Makefile.defs (DISTRIBUTOR): New field that tracks what
1362 vendor/distributor we are building for.
1364 2007-01-04 Michael Olson <mwolson@gnu.org>
1366 * lisp/muse-html.el (muse-html-src-tag): Remove initial blank
1369 * lisp/muse-publish.el (muse-publish-markup-tags): Make "src"
1370 point to muse-publish-src-tag by default, since <src> and
1371 <example> have different parameters.
1372 (muse-publish-src-tag): New barebones publishing function for
1373 <src>, which is superseded when publishing in an HTML-based style.
1375 2007-01-03 Michael Olson <mwolson@gnu.org>
1377 * lisp/muse-html.el (muse-html-src-tag): Document.
1379 * lisp/muse-publish.el (muse-publish-call-tag-on-buffer): New
1380 command that calls a given tag on the current buffer. Attributes
1382 (muse-publish-examplify-buffer, muse-publish-versify-buffer): Use
1384 (muse-publish-srcify-buffer): New function that allows
1385 markup="src" in the <include> tag.
1386 (muse-publish-get-and-delete-attr): New macro that gets an
1387 attribute from a list and removes the first instance of that
1388 attribute from said list.
1389 (muse-publish-markup-attribute): Handle markup="src".
1390 (muse-publish-command-tag, muse-publish-include-tag): Use
1391 muse-publish-get-and-delete-attr. This allows the remaining
1392 attributes to be passed.
1394 * texi/muse.texi (Tag Summary): Update for new <src> tag as well
1395 as changes to <command> and <include>.
1397 2006-12-30 Michael Olson <mwolson@gnu.org>
1401 * experimental/muse-mathml.el (muse-publish-mathml-tag): Rename
1402 from muse-publish-math-tag to avoid conflict with
1405 2006-12-23 Michael Olson <mwolson@gnu.org>
1407 * lisp/muse-latex2png.el: Update header, since this has been
1408 rewritten sufficiently to not need an assignment from the original
1410 (muse-latex2png-use-xhtml): Remove, since we now autodetect this.
1411 (muse-latex2png): Use two underscores to separate prefix and hash.
1412 (muse-latex2png-region): New function split from
1413 muse-publish-latex-tag that can be used easily by other code.
1414 Detect whether we are using an HTML-based publishing style, and
1415 insert a simpler markup if we are not. If we are using a
1416 Latex-based publishing style, do not generate an image, and leave
1417 the region alone. Return the path of the generated image, in case
1418 other functions want to use this programmatically.
1419 (muse-publish-latex-tag): Set a default prefix based on the name
1420 of the current file.
1421 (muse-publish-math-tag): New tag that surrounds the region with
1422 "$" characters, so that it becomes a Latex math region, and then
1425 * lisp/muse-publish.el (muse-style-derived-p): New function that
1426 returns non-nil if a given style, or the current style if omitted,
1427 is equal to or derived from the given base style. This is useful
1428 in <lisp> tags, because it allows the user to specify markup that
1429 is only to be inserted for one particular style.
1431 2006-12-22 Michael Olson <mwolson@gnu.org>
1433 * lisp/muse-html.el (muse-html-markup-tags): Add <src> tag.
1434 (muse-html-src-tag): New function which publishes the <src> tag.
1435 Thanks to Clinton Ebadi and Charles Wang for the initial
1438 * lisp/muse-publish.el (muse-publish-markup-tags): Add <src> tag.
1440 2006-12-21 Michael Olson <mwolson@gnu.org>
1442 * examples/johnw/muse-johnw.el: Update for preferred
1443 muse-derive-style usage. Rename to muse-init.el.
1445 * examples/mwolson/muse-init.el: Update.
1447 * lisp/muse-book.el (muse-book-publish): New function split from
1448 muse-book-publish-project. This is used in the definitions for
1449 the book-latex and book-pdf styles.
1450 (muse-book-publish-p): New function split from muse-book-publish.
1451 (muse-book-get-directives): New function that retrieves the
1452 publishing directives from the given file.
1453 (muse-book-publish): Use muse-book-get-directives to set the title
1454 if no title was specified.
1456 * lisp/muse-project.el (muse-project): Add :publish-project entry
1458 (muse-read-project, muse-project-find-file): Message fix.
1459 (muse-project-publish-file-default): New function split from
1460 muse-project-publish-file.
1461 (muse-project-publish-file): Allow file-level publishing function
1462 to be specified by the :publish element. The default is
1463 muse-project-publish-file-default.
1464 (muse-project-publish-default): New function split from
1465 muse-project-publish.
1466 (muse-project-publish): Allow project-level publishing function to
1467 be specified by :publish-project element. The default is
1468 muse-project-publish-default.
1470 * lisp/muse-publish.el (muse-publish-file): Message fix.
1472 * texi/muse.texi (Book): Mention new way to publish books and
1473 provide an example, since the process may be non-obvious.
1475 2006-12-20 Michael Olson <mwolson@gnu.org>
1477 * lisp/muse-docbook.el (muse-docbook-munge-buffer): Split out
1478 content-modifying code from the rest of
1479 muse-docbook-finalize-buffer.
1481 * lisp/muse-groff.el (muse-groff-munge-buffer): Rename from
1482 muse-groff-finalize-buffer, since it adds content to the buffer.
1484 * lisp/muse-html.el (muse-html-munge-buffer): Split out
1485 content-modifying code from the rest of muse-html-finalize-buffer.
1486 This fixes a bug when using <include> with <content> tags.
1488 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
1489 (muse-journal-latex-munge-buffer)
1490 (muse-journal-rss-munge-buffer): Rename, since they add content to
1493 * lisp/muse-latex.el (muse-latex-munge-buffer): Rename from
1494 muse-latex-finalize-buffer, since it adds content to the buffer.
1496 * lisp/muse-mode.el:
1497 * lisp/muse-project.el:
1498 * lisp/muse-publish.el:
1499 * lisp/muse.el: Fix recursive load error.
1501 * lisp/muse-texinfo.el (muse-texinfo-munge-buffer): Rename from
1502 muse-texinfo-finalize-buffer, since it adds content to the buffer.
1504 * lisp/muse-wiki.el: Comment cleanup.
1506 * lisp/muse-xml.el (muse-xml-charset-default): Docfix.
1508 2006-12-17 Michael Olson <mwolson@gnu.org>
1510 * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header):
1511 Remove the definition of \comment, since Latex already has comment
1513 (muse-latex-markup-strings): Use the Latex comment syntax, rather
1514 than our own. Thanks to Ryan Stutsman for pointing this out.
1516 2006-12-02 Michael Olson <mwolson@gnu.org>
1518 * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so
1519 that this can generate a proper table of contents for Planner HTML
1522 2006-12-01 Michael Olson <mwolson@gnu.org>
1524 * lisp/muse.el (muse-replace-regexp-in-string): In case someone is
1525 using a very old Emacs, avoid an infinite loop that could occur
1526 when the regexp is an empty string.
1528 2006-11-26 Michael Olson <mwolson@gnu.org>
1530 * NEWS: Bring up to date.
1532 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix nested
1533 list issues and multiple-stanza verse issues. This takes care of
1534 all of the markup issues I was worried about.
1536 * lisp/muse-project.el (muse-project-ignore-regexp): Minor docfix.
1537 (muse-project-publish-private-files): New option that indicates
1538 whether files with private filesystem permissions should be
1539 published. The default is to publish them, since it avoids
1540 confusion in new users.
1541 (muse-project-private-p): Use it.
1543 2006-11-19 Michael Olson <mwolson@gnu.org>
1545 * lisp/muse-project.el (muse-project-resolve-link): If no remote
1546 style is found, which means that the link is not a Muse page, do
1547 not add a suffix or prefix to it. This should fix the
1548 "[[thing.owl]]" bug that Phillip Lord reported.
1550 * lisp/muse-publish.el (muse-publish-link-file): Simplify by
1551 removing unused 2nd argument.
1553 2006-11-17 Michael Olson <mwolson@gnu.org>
1555 * lisp/muse-publish.el (muse-publish-surround-text): Fix bug in
1556 latex publishing where nested enumerated lists would be squashed
1557 together at the end.
1559 2006-11-16 Michael Olson <mwolson@gnu.org>
1561 * lisp/muse-latex.el (muse-latex-markup-strings): Make an ordered
1562 list embedded in a definition list look right. This also allows
1563 for definitions to be separated from their terms, much like the
1564 way HTML does it by default, if the user puts a blank line or a
1565 line break between the term and the definition. If the term and
1566 definition are on the same line, they will be that way in the
1569 2006-11-11 Michael Olson <mwolson@gnu.org>
1571 * muse.texi (Markup Strings): Fix typo. Thanks to Haiyong Zheng
1573 (Getting Help and Reporting Bugs): Fix emacswiki.org page URL.
1575 2006-11-07 Michael Olson <mwolson@gnu.org>
1577 * lisp/muse.el (muse-version): Make Emacs Muse 3.02.93, the third
1578 release candidate for Muse 3.03, available.
1582 2006-11-06 Michael Olson <mwolson@gnu.org>
1584 * lisp/muse-project.el (muse-project-find-file): Fix bug when
1585 following a relative link worked even when the path was incorrect.
1587 2006-11-04 John Sullivan <john@wjsullivan.net>
1589 * lisp/muse-mode.el (muse-mode-map): Remove C-c C-c binding for
1590 muse-follow-name-at-point to reduce collisions with other
1593 * muse.texi (Keystroke Summary): Remove C-c C-c binding.
1595 2006-11-04 Michael Olson <mwolson@gnu.org>
1597 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Make page
1598 optional, and make interwiki delimiter a regular rather than shy
1600 (muse-wiki-handle-implicit-interwiki): Rename from
1601 muse-wiki-handle-interwiki. Use match group 3 to get the page.
1602 (muse-wiki-handle-explicit-interwiki): New function that is
1603 smarter about where an explicit link ends in a buffer. This
1604 allows you to refer to page names with invalid Wiki characters,
1605 such as underscores and dashes, merely by enclosing them in double
1606 brackets. Also, a bug with recognizing project names too loosely
1609 2006-11-03 Michael Olson <mwolson@gnu.org>
1611 * lisp/muse-project.el (muse-project-page-file): Make relative
1612 links work as expected, hopefully.
1614 * lisp/muse-publish.el (muse-publish-this-file): Set the current
1615 output style manually, since it will differ from anything in the
1616 publishing style list.
1618 2006-10-30 Michael Olson <mwolson@gnu.org>
1620 * lisp/muse-colors.el (muse-colors-markup): Remove note about
1621 grouping elements, since that no longer applies.
1622 (muse-colors-custom-tags): Explicitly match against
1623 muse-tag-regexp to get the match-data set the way we want. This
1624 really fixes the <example> highlighting bug that Stefan reported.
1625 (muse-configure-highlighting): Set the original value to the
1626 symbol, not the modified value. Re-use modified rules properly.
1628 * lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Fix bug
1629 introduced yesterday.
1631 2006-10-29 Michael Olson <mwolson@gnu.org>
1633 * examples/mwolson: Update my example configuration.
1637 * lisp/muse-colors.el (muse-configure-highlighting): Remove rules
1638 without a regexp in the first position before iterating through
1639 them to build muse-colors-vector. This fixes a bug with the
1640 display of <example> tags. Thanks to Stefan Reichör for the
1643 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
1644 files in projects to be linked to.
1646 * lisp/muse-publish.el (muse-publish-url): Allow the original link
1647 to serve as a description for a URL, as long as it differs from
1648 the destination URL. This fixes the description of WikPage links
1650 (muse-publish-link-file): Check to see whether the given link
1651 points at a valid file. If so, return it. Otherwise, apply other
1652 transforms like prefix and link suffix.
1654 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
1655 "/", it is a file or directory, not a Muse page. Thanks to
1656 Phillip Lord for the suggestion.
1658 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
1659 of the current page as the local path, instead of duplicating the
1660 remote file's path. This probably fixes at least one reported
1661 bug. since it's quite major.
1662 (muse-wiki-update-project-file-regexp)
1663 (muse-wiki-update-interwiki-regexp): Ensure that nil is never
1664 passed to regexp-opt, since that can cause Emacs 21 to throw an
1665 "maximum binding depth exceeded" error. Thanks to xs32 AT cornell
1666 DOT edu for the report.
1667 (muse-wiki-handle-wikiword): Avoid a potential stringp error.
1669 2006-10-28 Michael Olson <mwolson@gnu.org>
1671 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
1672 (muse-project-resolve-link): If the given style does not have a
1673 link-suffix, default to suffix. This fixes a bug I was noticing
1674 when linking to a file that was published in both PDF and HTML
1677 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
1678 function that is used as a callback to determine the initial
1679 amount of indentation that the current dl item has.
1680 (muse-publish-surround-dl): Use it. Pass the initial indent value
1681 and the post-indent value, instead of trying to determine them
1683 (muse-publish-strip-list-indentation): New function stripped from
1684 `muse-publish-surround-text' for readability.
1685 (muse-publish-surround-text): Instead of taking a determine-indent
1686 value, take a determine-indent-func function, which is called just
1687 after finding the next list item. If we are asked to determine
1688 the amount of indentation, concatenate indent and post-indent the
1689 first time around. This effectively fixes all known definition
1692 2006-10-16 Michael Olson <mwolson@gnu.org>
1694 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
1695 other software -- namely, Planner -- can detect whether they are
1696 using a version of Muse that supports nested tags.
1697 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
1698 muse-publish-goto-tag-end.
1700 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
1701 Adapt for nested tags.
1703 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
1704 <class> tag is nestable. Thanks to Phillip Lord for noticing
1707 * lisp/muse-publish.el (muse-publish-markup-tag)
1708 (muse-publish-quote-tag): Use muse-goto-tag-end.
1710 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
1712 2006-10-15 Michael Olson <mwolson@gnu.org>
1714 * AUTHORS: Bookkeeping.
1716 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
1719 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
1722 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
1724 * lisp/muse-import-docbook.el (muse-import-docbook)
1725 (muse-import-docbook-files): Docfix.
1726 (muse-import-docbook-get-title): Remove cl.el-ism.
1728 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
1730 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
1732 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
1734 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
1735 (muse-next-reference, muse-previous-reference): Minor whitespace
1737 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
1740 * lisp/muse-poem.el (muse-poem-tag): Ditto.
1742 * lisp/muse-publish.el (muse-publish-markup-tags)
1743 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
1744 element and make 4th element determine whether tags are nestable.
1745 (muse-publish-goto-tag-end): New function that moves to the end of
1746 a tag. Handle nested tags when NESTED is non-nil.
1747 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
1748 5th element for function.
1749 (muse-publish-quote-tag): Handle nested quote tags. I've tested
1750 this on several scenarios, and it seems to work.
1751 (muse-publish-surround-text): Accept new optional argument
1752 LIST-ITEM which determines the regexp to use for list items. The
1753 default is to use muse-list-item-regexp.
1755 * muse.texi (Markup Tags): Mention nestable tags.
1757 * NEWS: Mention new files.
1759 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
1761 * lisp/muse-import-docbook.el: New file that converts Docbook XML
1764 * lisp/muse-import-xml.el: New file that provides helper routines
1765 for converting XML-ish files to Muse format.
1767 2006-10-10 Michael Olson <mwolson@gnu.org>
1769 * NEWS: Update for 3.02.7 bugfix release.
1771 2006-10-06 Sasha Kovar <sasha@arcocene.org>
1773 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
1774 using the value in the muse #date directive.
1775 (muse-blosxom-use-metadate): New option that determines whether or
1776 not to use the #postdate directive.
1777 (muse-blosxom-format-date): Convert a date string to PyBlosxom
1778 metadate plugin format.
1780 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
1782 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
1785 * muse.texi: Clarify handling of implicit links by mentioning
1786 which characters can prevent Muse from recognizing something as an
1789 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
1791 * lisp/muse-mode.el (muse-next-reference)
1792 (muse-previous-reference): Fix bug #6367 by moving point to the
1793 beginning of the link.
1795 2006-09-26 Michael Olson <mwolson@gnu.org>
1797 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
1798 beginning-of-line. This should fix a bug that was noticed in
1799 recent Emacs 22 builds.
1801 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
1802 eval-and-compile block to avoid a compiler warning.
1804 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
1806 * lisp/muse-backlink.el (muse-backlink-split-string):
1807 Compatibility with Emacs versions < 22
1808 (muse-backlink-pending): New internal variable
1809 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
1810 that backlinks are inserted at the right time.
1811 (muse-backlink-insert-hook-func): Remove unwind-protection; check
1812 for pending backlink, and that this is the targe page.
1813 (muse-backlink-handle-link): Don’t handle the link if we are
1814 already handling one. Return the link as well as the parent links.
1816 2006-09-25 Sasha Kovar <sasha@arcocene.org>
1818 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
1819 #6942 - muse-blosxom-new-entry fails when using tags.
1821 2006-09-14 Michael Olson <mwolson@gnu.org>
1823 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
1826 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
1828 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
1829 function: Protect all wikiwords from START to END from further
1831 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
1833 2006-09-13 Michael Olson <mwolson@gnu.org>
1835 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
1836 adopted from Jim Ottaway's patch. It removes links from the
1837 heading, and then marks the region read-only to inhibit WikiWord
1840 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
1842 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
1843 special handling for headings.
1844 (muse-texinfo-remove-links): New function that removes explicit
1845 links from the given strings, replacing them with a description.
1847 2006-09-11 Michael Olson <mwolson@gnu.org>
1849 * muse.texi (Getting Help and Reporting Bugs): Mention the
1850 muse-el-internationalization mailing list.
1852 * lisp/muse.el (muse-path-sans-extension): New function that acts
1853 like file-name-sans-extension, but guarantees to never modify the
1854 directory part of the path. Thanks to Evan Monroig for
1857 * lisp/muse-book.el (muse-book-publish-project): Use
1858 muse-path-sans-extension instead of file-name-sans-extension.
1860 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
1863 2006-08-30 Michael Olson <mwolson@gnu.org>
1865 * muse.texi (Blosxom Requirements): Fix typo.
1867 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
1868 directories for bzr and darcs.
1870 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
1871 contrib/pyblosxom/getstamps.py: Update version and headers.
1873 2006-08-27 Michael Olson <mwolson@gnu.org>
1875 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
1876 nil values before they get to mapconcat. This fixes a lockup when
1877 muse-wiki-match-all-project-files is nil.
1879 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
1880 (muse-wiki-ignore-implicit-links-to-current-page)
1881 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
1882 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
1883 (muse-wiki-publish-small-title-words)
1884 (muse-wiki-publish-pretty-title): Docfix.
1885 (muse-wiki-update-local-wikiword-regexp): Rename from
1886 muse-wiki-update-local-wikiword-regexp. Set
1887 muse-wiki-project-file-regexp instead of
1888 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
1889 take muse-wiki-use-wikiword into account, since this is a
1890 different concept now.
1891 (muse-wiki-update-wikiword-regexp): Remove.
1892 (muse-wiki-wikiword-regexp): In-line the :set function.
1893 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
1895 2006-08-26 Michael Olson <mwolson@gnu.org>
1897 * lisp/muse-publish.el (muse-publish-surround-text): When looking
1898 for indented list items, ignore blank lines.
1900 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
1901 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
1902 mapconcat. This should hopefully fix a problem with large amounts
1903 of files with spaces in their name. Thanks to Greg Detre for the
1906 2006-08-24 Michael Olson <mwolson@gnu.org>
1908 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
1909 numbers from the argument to format-time-string. This fixes an
1910 XEmacs bug. Thanks to Michael Welle for the report and analysis.
1912 2006-08-18 Michael Olson <mwolson@gnu.org>
1914 * lisp/muse-project.el (muse-project-file-entries): Since we are
1915 given a full path, match against the filename as well. This fixes
1916 an issue where backup files were being added to the file alist.
1918 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
1921 2006-08-12 Michael Olson <mwolson@gnu.org>
1923 * Makefile (.PHONY): Don't use line continuations.
1924 (realclean fullclean): Call realclean in subdirs, not distclean.
1925 (distclean): Don't call realclean, since this would wipe out our
1927 (dist): Use correct path to autoloads file.
1929 * NEWS: Catch up with the latest changes.
1931 * experimental/Makefile (.PHONY): Wrap long line.
1933 * lisp/Makefile (distclean): Do the same thing as "clean", not
1936 * lisp/muse-project.el (muse-project-get-applicable-style):
1938 (muse-project-ignore-regexp, muse-project-recurse-directory):
1940 (muse-project-of-file): Try the ignored files regexp against the
1941 base filename as well as the entire path.
1943 * lisp/muse-publish.el (muse-publish-this-file): Display message
1944 if the buffer is not associated with any file, so that we avoid
1946 (muse-publish-url-desc): New function taken from muse-publish-url
1947 that causes a URL description to be transformed.
1948 (muse-publish-url): Call muse-publish-url-desc on either the
1949 description or the original URL if it will be used as a
1950 description. Accept the original URL as an argument, in case it
1951 was transformed earlier.
1952 (muse-publish-insert-url): Pass original URL as an argument.
1953 (muse-publish-markup-link): Make this somewhat easier to follow.
1954 Pass original URL as argument.
1955 (muse-publish-get-style): If the same style is used to publish to
1956 two different directories, prompt the user for which directory to
1958 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
1960 (muse-publish-markup-url): Pass original URL as an argument. This
1961 fixes the "nil" description for bare URLs that was in 3.02.91.
1962 Nothing like finding a bug just after completing the announcement
1965 * lisp/muse.el: Use defalias whenever convenient.
1966 (muse-version): Set version to 3.02.92 (3.03 RC2).
1968 2006-08-10 Michael Olson <mwolson@gnu.org>
1970 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
1971 style does not derive from any other class, return `t' here.
1972 This, along with the corresponding change to muse-publish.el,
1973 fixes a problem with the table of contents getting inserted
1974 multiple times for custom html-based styles.
1975 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
1976 smarter method for table centering that works with XHTML.
1978 * lisp/muse-latex2png.el Rename all functions to have a
1979 "muse-latex2png" prefix. Turn all variables into customizable
1980 options in the muse-latex2png group.
1981 (muse-latex2png-img-dest): New option specifying where to place
1983 (muse-latex2png-template): New option containing the template to
1984 use for the surrounding LaTeX code.
1985 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
1987 (muse-latex2png-move2pubdir): Avoid multiple redundant error
1988 messages when something else goes wrong. Create the image
1989 subdirectory if it doesn't exist already -- thanks to Christian
1990 Straßer for the report. Expand the filename properly.
1991 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
1992 and filename expansion.
1993 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
1994 the default directory properly.
1996 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
1997 do not run the same function twice.
1999 2006-08-08 Michael Olson <mwolson@gnu.org>
2001 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
2002 introduced wrong-type-argument error.
2004 * lisp/muse-html.el (muse-html-markup-strings)
2005 (muse-xhtml-markup-string): Cause table definition that contains
2006 image to be center-aligned. This should fix an issue with images
2007 not being centered when captions are very long.
2009 * lisp/muse-publish.el (muse-publish-table-fields): Trim
2010 whitespace from fields once we have split them up.
2012 * lisp/muse.el (muse-trim-whitespace): New function that strips
2013 leading and trailing whitespace from a string.
2015 2006-08-07 Michael Olson <mwolson@gnu.org>
2017 * NEWS: Update through patch-95.
2019 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
2021 (muse-colors-explicit-link): Show images in link descriptions if
2022 inlined images are enabled.
2024 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
2025 definitions for 'image-with-desc, 'image, and 'image-link.
2026 (muse-docbook-markup-paragraph): If an inlined image begins a
2027 paragraph, insert <para> before it.
2028 (muse-docbook-fixup-images): New function that upper-cases the
2029 "format" attribute of the <imagedata> tag.
2030 (muse-docbook-finalize-buffer): Call it.
2032 * lisp/muse-html.el (muse-html-markup-strings): Publish images
2033 with descriptions as centered tables, with a centered caption
2034 underneath. The resulting look is consistent with the way that
2035 they are published in the LaTeX style. Thanks to Jody Klymak for
2037 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
2038 valid way to center a table.
2039 (muse-html-markup-paragraph): Use class="image" instead of
2040 "image-link" for paragraphs that start with an embedded image.
2042 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
2043 \textbackslash{} for "\". Thanks to Jim Ottaway for the
2045 (muse-latex-markup-specials-image): New option that enables
2046 escaping of specials in images. This was split from the URL
2048 (muse-latex-decide-specials): Handle 'image context.
2049 (muse-latex-fixup-dquotes): Go to beginning of document, instead
2050 of relying on caller to do this for us.
2052 * lisp/muse-publish.el (muse-publish-escape-specials): Document
2054 (muse-publish-url): Use 'image context for images. Use 'image
2055 instead of 'image-link and 'image-link in place of
2056 'url-with-image. Separate the image file from its extension so
2057 that docbook and texinfo can publish images correctly.
2058 (muse-publish-markup-link): Don't force a description if one is
2059 not given. This fixes a bug where images without descriptions
2060 were being published as 'image-with-desc instead of 'image.
2062 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
2063 images the same as URLs.
2064 (muse-texinfo-markup-strings): Improve image markup to achieve an
2065 effect similar to that of the LaTeX publishing style. Simplify
2068 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
2070 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
2071 when we have to use the custom version of this function.
2073 * muse.texi (Images): Explain how to toggle inlining of images and
2074 give better examples. Mention captions and that captioned images
2075 should not be used inside of text paragraphs.
2076 (Markup Strings): Bring up-to-date with the changes made since
2079 2006-08-06 Michael Olson <mwolson@gnu.org>
2081 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
2082 in the Emacs source tree.
2084 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
2085 in the Emacs source tree.
2087 * ChangeLog.3: New file created from the old ChangeLog.
2089 * Makefile.defs (VERSION): Set to 3.02.91.
2091 * NEWS: Update through patch-84.
2093 * lisp/muse.el (muse-version): Set to 3.02.91.
2095 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
2097 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
2098 delimiter are instead of hard-coding it.
2100 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
2101 (muse-mode): Make filling definition lists work better. This
2104 * lisp/muse-publish.el (muse-style-run-hooks): Use
2105 `muse-style-element' instead of `muse-get-keyword' here. This
2108 * muse.texi: Set version to 3.02.91 (3.02 RC2).
2110 See ChangeLog.3 for earlier changes.