Fix some typos in QuickStart and manual
[muse-el.git] / NEWS
blob05a92cc1127e22504a64c3edbe00682adb48ea90
1 Emacs Muse NEWS --- History of user-visible changes    -*- outline -*-
3 * Changes in Muse 3.11
5 ** Update my example settings in examples/mwolson.
7 ** Fix several bugs with setting muse-file-extension to something else.
8 If you have both muse-file-extension set to some string, and
9 muse-mode-auto-p set to non-nil, please set muse-mode-auto-p to nil
10 from now on.  This was a workaround that some people used to deal with
11 a bug that has now been fixed.
13 ** Support for serving published Muse files with Blosxom.
14 See the end of the Blosxom Requirements section of the Muse manual for
15 details.
17 ** The metadate plugin for PyBlosxom is now included with Muse
18 in contrib/pyblosxom/metadate.py.
20 ** Compatibility fixes for Emacs21 and XEmacs
22 *** Use copy-tree instead of copy-alist.
24 *** Correctly require derived.el.
26 *** Deal with the lack of a `delete-and-extract-region' function in XEmacs
27 by making `muse-delete-and-extract-region'.
29 *** Fix XEmacs and Texinfo publishing bug.
31 *** Deal with lack of autoloads for the `man' function in some Emacs variants.
33 *** Fix XEmacs compilation error in muse-import-xml.el.
35 ** Muse Mode highlighting (lisp/muse-colors.el)
37 *** Fix display bug where emphasis becomes unhighlighted when moving
38 around the buffer.
40 ** ConTeXt publishing (lisp/muse-context.el)
42 *** Add support for #module directive.
43 Consult the ConTeXt section of the Muse manual for details.
45 ** DocBook publishing (lisp/muse-docbook.el)
47 *** Fix bug with paragraphs after <verse> tags.
49 ** HTML publishing (lisp/muse-html.el)
51 *** Fix bug with links not being interpreted in titles.
52 This fix also takes care of some additional escaping issues that were
53 addressed in the previous release by a different means.
55 ** Journal (lisp/muse-journal.el)
57 *** Fix bug with title anchors and CJK.
59 *** Fix bug with summarized entries.
61 ** LaTeX publishing (lisp/muse-latex.el)
63 *** Remove footnote references from headings.
64 The reason for this is that LaTeX will throw errors during the publishing
65 process if they exist.
67 ** Publishing (lisp/muse-publish.el)
69 *** Fix serious bug in definition list publishing.
70 We were skipping past the initial indented line, and that was causing
71 an erroneous blockquote to be inserted.
73 *** Revert fix for escaping bug involving headings and the <contents> tag,
74 because it was buggy.  This is instead handled by muse-html.el now.
76 ** Texinfo publishing (lisp/muse-texinfo.el)
78 *** Make url, link, and link-and-anchor output look better in texi2html
79 output, for people who want to run that command on texi output
80 produced by Muse.
82 ** XML publishing (lisp/muse-xml.el)
84 *** Add support for <cite> tag.
86 *** Bump the version of etc/muse.rnc to 1.1 to reflect support for <cite>.
88 ** Muse Manual (texi/muse.texi)
90 *** Document support for citations in new Citations section.
92 *** Document how to use the Pyblosxom metadate plugin in the
93 Blosxom Requirements section.
95 * Changes in Muse 3.10
97 ** Relicense to GPLv3.
99 ** Muse's source code development is now being managed with git.
100 Instructions for participating in Muse development using git are
101 available in the "Development" section of the Muse manual.
103 This yields not only speed improvements, but also space efficiency
104 improvements.  One person has found that Arch took 300MB to store one
105 of Muse's branches, but git takes only 4MB.  The information to store
106 the entire Muse development history only takes up 8.6MB.
108 If you are a Muse developer, please consult
109 http://emacswiki.org/cgi-bin/wiki/MuseDevelopment for instructions on
110 using git, and how to gain access to the shared Muse repository.
112 ** Remove unused markers when we are done with them.
113 This can speed up the publishing process.
115 ** Build system
117 *** Rename Makefile.defs to Makefile.defs.default.
118 Now, there is a Makefile.defs.default file included with Muse, rather
119 than Makefile.defs.  If you want to make changes to this file, first
120 copy it to Makefile.defs, and then make your changes there.  If you do
121 not need to make any changes, there is no need to copy the file.
123 *** Indicate dependencies between Emacs Lisp files, so that Muse can be
124 recompiled without running "make clean" after an update.
126 *** Don't activate VC when publishing files.
127 This avoids some annoying messages when building QuickStart in the
128 examples directory.
130 *** Make installing info files easier for XEmacs users.
131 There is now a commented-out install-info definition in
132 Makefile.defs.default, along with commented instructions.
134 ** Quickstart guide (examples/QuickStart.muse)
136 *** Fix some typos.
138 ** Core functionality (lisp/muse.el)
140 *** Work around a bad bug in color-theme.el involving its
141 overwriting of the `replace-in-string' function.
143 *** Fix a bug where Muse would lock up if muse-project-alist is nil.
145 *** New option: muse-completing-read-function.
146 Function to call when prompting user to choose between a list of options.
147 This should take the same arguments as `completing-read'.
149 One possible value for this is 'ido-completing-read.  The default
150 value is 'completing-read.
152 *** Make inserting file contents and writing files to be faster.
153 This involves defining the functions `muse-insert-file-contents' and
154 `muse-write-file'.  Consult their documentation for details.
156 ** Muse Mode highlighting (lisp/muse-colors.el)
158 *** Comments are now colored.
160 *** Fix bug with using <lisp> tags in #title directives.
161 Now any <lisp> tags in #title directives are guaranteed to be
162 evaluated after any other <lisp> tags that are nearby.
164 ** ConTeXt publishing (lisp/muse-context.el)
166 *** New file courtesy of Jean Magnan de Bornier that publishes files in
167 the ConTeXt format.  See the ConTeXt section of the Muse manual for
168 details on its use.
170 ** Journal (lisp/muse-journal.el)
172 *** Fix bug causing RDF output to have invalid syntax.
174 *** Make RSS output look nicer by adding some newlines.
176 *** Allow <lisp> and <markup> tags to be used in entry templates.
178 *** Fix escaping bugs in entry template text, quote-of-the-day, and title.
180 *** Mark up the <qotd> tag as if it <quote> were used.
182 *** New style journal-rss-entry indicates how we are to mark up
183 individual RSS and RDF entries.
185 *** Set `muse-journal-rdf-summarize-entries' to nil by default.
187 ** HTML publishing (lisp/muse-html.el)
189 *** Add xhtml1.0 style, which is an alias for the xhtml style.
191 *** Add xhtml1.1 style for those who want XHTML 1.1 compliant output.
193 *** When publishing <contents>, only strip links from titles, rather
194 than every tag.
196 ** Muse Mode (lisp/muse-mode.el)
198 *** Add new minor mode called muse-list-edit-minor-mode.
199 See the "Muse List Edit Minor Mode" section of the manual for details.
201 *** Don't try to indent line before inserting a comment.
203 ** Publish embedded LaTeX content to a PNG file (lisp/muse-latex2png.el)
205 *** Support ConTeXt.
207 ** Project settings (lisp/muse-project.el)
209 *** Handle nested projects correctly.
210 Now it is possible to have the directories of a project be the
211 subdirectories of another project.  Previously, it depended on the
212 order that the projects were defined.
214 *** Set project-specific variables at publish time as well as display time.
215 Previously, the variable settings specified by the :set attribute in
216 muse-project-alist projects were being ignored at publish time, but
217 applied in Muse mode.  Now they are applied at both times.
219 *** Fix bug when publishing a file that has multiple styles.
221 *** Fix bug when trying to publish a file in a project with multiple
222 directories.
224 *** Fix bug where links between files did not work if muse-file-extension
225 is nil.
227 *** Ignore .git metadata directories when looking for project files.
229 ** Publishing (lisp/muse-publish.el)
231 *** Add <cite> tag.  See "Tag Summary" in the manual for details on its use.
233 *** Fix bug where Muse locks up when trying to publish a malformed table.
235 *** Fix bug where tags other than <markup> and <lisp> were being acted on
236 in headers and footers.
238 *** Fix bug involving use of <lisp> inside of an <include> file.
240 *** Fix bug with nested list items that have an extra blank in front.
241 This was causing Muse to lock up when publishing some files.
243 *** Fix bug with definition list publishing when there are empty terms.
245 *** Fix bug where output from <verse> did not match output from verse
246 syntax.
248 *** Fix bug where directives were leaking out of <include> regions.
250 *** Fix escaping bug involving headings and the <contents> tag.
252 *** [Developers] Automatically widen before evaluating <lisp> contents.
254 ** Wiki (lisp/muse-wiki.el)
256 *** Fix a bug with three-part links that have descriptions.
258 *** (muse-wiki-resolve-project-page): If the project argument is nil,
259 default to the current project instead of the first project entry in
260 muse-project-alist.
262 ** Common functionality used by XML-based styles (lisp/muse-xml-common.el)
264 *** Don't escape parentheses in URLs.
266 * Changes in Muse 3.03
268 ** An emacs-wiki migration guide is available in
269 etc/emacs-wiki-migration.txt.
271 ** Ideas for the future and planned time of implementation can be
272 found in etc/IDEAS.muse.
274 ** Core functionality (lisp/muse.el)
276 *** Fix an XEmacs beta byte-compiler issue.
278 *** Fix failure to recognize the .muse file extension.
279 Handle the case where the user customizes the file extension.
281 *** It is now easier to indicate that Muse should not use a file
282 extension.  Just do the following.
284 (setq muse-file-extension nil
285       muse-mode-auto-p t)
287 If you visit a Muse file in your .emacs, however, and do not want a
288 file extension, then you must still do the following beforehand.
290 (add-hook 'find-file-hooks 'muse-mode-maybe)
292 *** Allow tab characters in explicit links.
294 *** Escape brackets in links, and then un-escape them when displaying
295 the link in a buffer of publishing it.  This allows brackets to be
296 safely used in link descriptions and links, as long as you use `C-c
297 TAB l', `C-c TAB u', `C-c C-e', or automatic Planner annotations.
299 *** Ensure that no recursive load situation can take place.
301 ** Blosxom publishing (lisp/muse-blosxom.el)
303 *** New option: muse-blosxom-use-tags.
304 This specifies whether or not we are using tags.  Tags allow a page to
305 belong to multiple categories, but they do not rely on the directory
306 structure for categorization.
308 *** Use `find-file' as the browsing function.
310 *** New example script: contrib/pyblosxom/make-blog.
311 This shows how to invoke contrib/pyblosxom/getstamps.py.
313 ** Book publishing (lisp/muse-book.el)
315 *** It is now possible to publish a book using a muse-project-alist entry.
316 See the "Book" section of the manual for details and an example.
318 ** DocBook publishing (lisp/muse-docbook.el)
320 *** A bug with multiple-stanza verses has been fixed.
322 ** HTML publishing (lisp/muse-html.el)
324 *** Make sure spaces in URLs get escaped properly.
326 *** Make the Table of Contents CSS easier to customize.
327 For an example, see examples/mwolson/stylesheets/screen.css.
329 *** Make Table of Contents publishing work with Planner.
331 *** Fix a paragraph detection bug for paragraphs that occur after
332 verses.
334 *** New tag: <src>
335 This tag is used to colorize (using HTML) source code of any language
336 for which Emacs has a mode available.  The "lang" attribute determines
337 the mode to call on the region.  Muse will look for the LANG-mode
338 function, call it, and then call htmlize.  You will need htmlize 1.34
339 or later for this to work.
341 If a non-HTML publishing style is used, this will be published the
342 same as an <example> region.
344 ** Importing LaTeX documents (lisp/muse-import-latex.el)
346 *** Rename from muse-convert.el, since Muse can now import
347 other formats as well.
349 ** Journal (lisp/muse-journal.el)
351 *** New option: muse-journal-rss-heading-regexp.
352 Determine the regexp to use when searching for an RSS heading.
354 *** Make sure that the date is in a format that RSS readers
355 can handle.
357 ** LaTeX publishing (lisp/muse-latex.el)
359 *** New publishing styles: slides and slides-pdf.
360 This allows you to use Beamer to publish slides.
362 *** New publishing styles: lecture-notes and lecture-notes-pdf.
363 These are similar to the slides styles, but are suitable for
364 publishing lecture notes.
366 *** New option: muse-latex-pdf-program.
367 The program to call in order to generate PDF content from LaTeX
368 content.
370 *** New option: muse-latex-pdf-cruft.
371 The extensions of files to remove after generating PDF output
372 successfully.
374 *** Improve escaping of specials.
376 *** Use \label{} and \ref{} for anchors and anchor references.
378 *** Emphasize table elements.
380 *** Improve table generation.
382 *** Use \url{} to publish bare URLs.
384 *** Handle case where a Muse page begins with a quote character.
386 *** Handle case where the path to the Muse source contains a tilde
387 character in one of the parent directories.  It is still possible to
388 run into this problem if you publish outside of a directory that has a
389 tilde, but with a source file that does have one -- this was deemed to
390 be a very unlikely case.
392 *** Display footnotes when we have both a URL and description.
393 This makes the URLs show up on printed documents in a sensible
394 fashion.
396 *** Escape the "@" character in the entire document.
398 *** Make images take up 75% of the width of the page.
400 *** New option: muse-latex-permit-contents-tag.
401 This specifies whether we should take action on the <contents> tag.
403 *** Allow for definitions to be separated from their terms,
404 much like the way HTML does it by default, if the user puts a blank
405 line or a line break between the term and the definition.
407 If the term and definition are on the same line, they will be that way
408 in the output as well.
410 *** Publish comments using the "%" character, rather than a custom
411 Latex command.
413 ** Publish embedded LaTeX content to a PNG file (lisp/muse-latex2png.el)
415 *** The <latex> tag has been modified to work with styles
416 other than just HTML.  It will even leave the region alone if you are
417 publishing a Latex-based publishing style.
419 *** New tag: <math>
420 The <math> tag acts similarly to the <latex> tag, except that it
421 surrounds the region with "$" characters first, and makes the
422 resulting image inline.
424 If the first line of the <math> tag begins with 6 spaces, then
425 surround the region with "$$" (or an equivalent markup) instead.  This
426 has the effect of "centering" the output on its own line.
428 ** Muse Manual (muse.texi)
430 *** Re-license under the GFDL instead of the GPL.
431 The rationale for this is that Muse may one day be included with
432 Emacs, so it should use the same manual license that Emacs itself
433 uses.  At this point, the matter is not open to debate, unless the FSF
434 brings it up.
436 *** Use better style for subsections.
438 *** Make sure the PDF file for the manual is properly generated.
440 *** Implicit Links
442 **** Mention how to customize the WikiName recognition.
444 *** Extending Muse
446 **** Move "Common Elements" and "Deriving Styles" chapters here.
448 *** Tag Summary
450 **** Mention new tags and updated syntax for some tags.
452 ** Muse Mode (lisp/muse-mode.el)
454 *** `C-c TAB' now inserts an object, prompting the user for which type.
455 `C-c TAB l' inserts a relative link.
456 `C-c TAB t' inserts a Muse tag.
457 `C-c TAB u' inserts a URL.
459 These keybindings may be modified by editing `muse-insert-map'.  Note
460 that the prompt you get when you hit `C-c TAB' will not change.
462 *** New list-oriented keybindings:
463 `M-RET' inserts a list item.
464 `C->' increases list item indentation.
465 `C-<' decreases list item indentation.
467 *** Slightly improved speed of flyspell integration
469 *** Implement searching through Muse files.
471 **** `C-c C-s' performs a search through Muse files.
473 **** New option: muse-grep-command.
474 Customize this to specify the command used for searching.  In
475 particular, "glimpse" is handy.  Check the documentation for this
476 command for details.
478 *** Changed keybindings:
479 `C-c C-b' is now `muse-find-backlinks'
480 `C-c C-v' is now `muse-browse-result'
482 *** The `C-c C-M-t' keybinding can be used in place of `C-c C-S-t',
483 since the latter is not available on some terminals.
485 *** Remove the C-c C-c keybinding, since it conflicts with other
486 modes like Planner.
488 *** Don't require muse-publish.el, since publishing and viewing Muse
489 files are supposed to be completely separable.
491 *** Speed up searching for next and previous references.
493 *** Make filling definition lists work better.
495 *** Make editing existing links with `C-c C-e' work better.
497 *** Make browsing the resulting page with `C-c C-v' work better.
499 *** Don't throw an error if doing flyspell or following link at
500 beginning of buffer.
502 *** When publishing a file with `C-c C-t', consult muse-project-alist
503 and use its publishing styles to intelligently prompt the user as to
504 the publishing style and output directory.
506 The old behavior of allowing the file to be published anywhere and
507 with any style has been moved to `C-c C-T'.
509 *** Clicking `mouse-2' now does the right thing when
510 mouse-yank-at-point is non-nil.
512 ** Muse Mode highlighting (lisp/muse-colors.el)
514 *** New option: muse-colors-inline-images.
515 This determines whether or not to inline an image when viewing Muse
516 source.  The default is to enable this behavior.  This feature is
517 currently considered to be in a beta state, because finding the real
518 paths of images consistently has not been worked out.
520 **** New option: muse-colors-inline-image-method.
521 This determines how to find an image that we want to inline.  The
522 default is to look in the current directory.  If set to
523 'muse-colors-use-publishing-directory, it will look in the directory
524 where the current page will be published.
526 **** New function: muse-colors-toggle-inline-images.
527 This toggles whether images are inlined.
529 *** Make links blue by default, like most other Emacs modes do.
531 *** Don't cause a long delay when highlighting remote (Tramp,
532 ange-ftp) links.
534 *** Make faces conform the namespace better.
535 `muse-link-face' is renamed to `muse-link'.
536 `muse-bad-link-face' is renamed to `muse-bad-link'.
537 `muse-verbatim-face' is renamed to `muse-verbatim'.
539 *** Handle muse-emphasis faces better.
541 *** Source-level change: The regexps in `muse-colors-markup' are now
542 permitted to have non-shy groupings.
544 ** New modules
546 *** lisp/muse-backlink.el -- Provide backlink support for Muse.
548 *** lisp/muse-groff.el --  This introduces the publishing styles
549 "groff" and "groff-pdf".
551 *** lisp/muse-import-docbook.el -- Convert Docbook XML into Muse format.
553 *** lisp/muse-import-xml.el -- Helper file for muse-import-docbook.el.
555 *** lisp/muse-latex2png.el -- Publish embedded LaTeX content to a PNG file.
556 This introduces the <latex> tag.
558 *** lisp/muse-xml-common.el -- Common functionality used by XML-based
559 publishing styles, such as HTML, XML, and DocBook.
561 *** experimental/muse-mathml.el -- This introduces the "mathml"
562 publishing style and the <mathml> tag.
564 *** experimental/muse-protocol-iw.el: Implements a simpler URL-like
565 interwiki protocol that handles subdirectories.
567 *** experimental/muse-split.el -- Splits published Muse files into several
568 smaller files.
570 ** Project settings (lisp/muse-project.el)
572 *** Introduce the `with-muse-project' macro, which makes it easier
573 to switch to a given Muse project and execute some code.
575 *** Fix an error with `custom-quote'.
577 *** Ignore buffers that have no associated filename.
578 This fixes an annoyance where Muse prompts to save BBDB and ERC
579 buffers before publishing.
581 *** If we cannot find a project to publish, indicate this in an
582 error message.  This fixes an infinite loop.
584 *** Update the file-alist whenever a Muse file is saved.
586 *** Prevent infinite recursion when updating the file alist.
588 *** In addition to Arch and CVS metadata directories, also ignore
589 these for Darcs, SVN, Mercurial, and Bazaar.  Also, don't erroneously
590 ignore files with "#" in them.
592 *** Make links to subdirectories work.
593 The idea is to include as much of the path that is needed in order to
594 disambiguate the link.  For example: "web/TestPage".
596 *** New variable: muse-current-output-style.
597 This holds the output style that is currently being used to publish a
598 file.
600 *** Permit non-Muse files in projects to be linked to.
602 *** Handle relative links to other Muse pages.
603 Relative links are prefixed with "./" or "../".
605 *** New option: muse-project-publish-private-files
606 If this is non-nil (the default), files will be published even if they
607 have "o-r" permissions set (that is, if no one except the owner and
608 possibly group are allowed to read them).  To get back the old
609 behavior, set this to nil.
611 *** Publishing functions can now be customized on per-project basis
612 You can now use :publish-project and :publish to specify what function
613 to call for publishing entire projects or just a single file.
614 :publish-project is meant to be specified in the first part of a
615 project entry, along with the directories.  :publish is meant to be
616 used in a (optionally derived) publishing style: after specifying such
617 a style, use its name in the latter part of a project entry.
619 ** Publishing (lisp/muse-publish.el)
621 *** Implement escaping of specials throughout the entire document.
622 This makes it much easier to publish documents to multiple kinds of
623 formats, since you no longer have to worry about putting <verbatim>
624 around specials.
626 *** Make escaping of specials context-sensitive.
627 Muse now realizes that URLs, normal document text, <example> regions,
628 and the like have different special characters to escape.
630 *** Support nested lists.
631 Muse now determines the nested level of a list by its initial
632 whitespace.  Ordered lists, unordered lists, and definition lists can
633 all be nested.  It is even possible to force a line break in a list
634 item by inserting a blank line on the same level between the lines.
635 Blockquotes may also be nested inside of a list.
637 *** It is now possible to force images to not be inlined.
638 To accomplish this, place the text "URL:" immediately in front of the
639 link text.
641 Example: [[URL:http://example.org/image.png]]
643 *** New interactive function: muse-publish-region.
644 This command publishes the current region, prompting for the title of
645 the page (if any) and the style to use.
647 This is handy for firing off quick blog entries and pasting the result
648 into a web browser -- for this use case, it is recommended to use the
649 blosxom-html or blosxom-xhtml styles, as they omit the large header
650 and footer.
652 *** Additional arguments for <literal> tag.
653 The optional "style" and "exact" attributes may now be specified,
654 which cause text to only be included if the current publishing style
655 matches some criteria -- the text will be removed otherwise.
657 Omitting these attributes causes <literal> to behave the same as
658 usual.
660 *** Table improvements
662 **** Support orgtbl-mode style tables.
663 Here is a quick example of what they look like.  For additional
664 information, consult the Org Mode manual.
666    | Name | Phone | Age |
667    |------+-------+-----|
668    | Pete |  1234 |  25 |
669    | Sara |  4321 |  22 |
671 If you are used to the way that Org Mode publishes these tables, then
672 customize `muse-html-table-attributes' to:
674   border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"
676 in order to get a similar kind of output.
678 **** Support table.el-style tables.
679 If you have table.el somewhere in your load-path, Muse will publish
680 tables that are in the format used by table.el.
682 Currently, table.el tables can only be published for publishing styles
683 based on HTML, LaTeX, or DocBook.
685 **** Allow empty elements in tables.
687 **** Allow initial and trailing whitespace in tables, but strip it
688 out of the published result.
690 **** If the #disable-tables publishing directive exists on the current
691 Muse page, do not generate a table.
693 *** Require at least once space after "::" in definition lists, so
694 we avoid an ambiguity with interwiki link syntax.
696 *** Handle nested emphasis types better.
697 It should now publish exactly the way it looks in Muse Mode.
699 *** Preserve whitespace around emdash.
700 This allows for more flexibility, since some people seem to prefer to
701 have the emdash directly against the surrounding text, while others
702 like it to be spaced.
704 *** Fix paragraph detection when block-level markup comes immediately
705 after a paragraph.  Examples of block-level markup are: <example>,
706 verses, lists.
708 *** Allow the <lisp> tag to take the "markup" attribute.
709 see the Tag Summary section in the manual for details.
711 *** Publish image links with descriptions as captioned images.
712 This has been implemented for all Muse publishing styles.
714 The major change is that image links with descriptions will be
715 centered and the description will be displayed just below the image as
716 a "caption".  Thus, it is meant to only be used as its own paragraph,
717 not surrounded by other text.  Images without descriptions may still
718 have surrounding text.
720 *** Make comments higher priority than tags when publishing,
721 so that Muse comments within tags get stripped out.
723 *** Handle properly comments that have no text.
725 *** Distinguish links and footnotes better.
727 *** Do the right thing when a footnote reference exists but has no
728 corresponding footnote.
730 *** Simplify markup string for anchors.
732 *** Allow text like "%N%" in markup strings.
733 This makes it much easier to re-use the same text or put strings in
734 a different order.
736 *** Create parent directories when publishing for the first time.
738 *** Handle case where we are trying to publish a file that has not
739 been saved.
741 *** Fix XEmacs issue where text at beginning of buffer is read-only.
743 *** Allow publishing styles to specify a function to use for
744 escaping specials in a particular context.  This is especially handy
745 for HTML URLs, since they have a larger subset of special characters
746 than normal characters.
748 See `muse-xml-decide-specials' in muse-xml-common.el for details.
749 This functionality already exists for escaping specials in strings.
751 *** Don't give an error when trying to define or derive an existing
752 style.  Just replace it.
754 *** Get rid of a warning that occurs when batch publishing.
756 *** Ignore list items that are part of higher-priority constructs
757 like emphasis.
759 *** Don't markup emdash in a link, since otherwise it will be
760 incorrectly escaped.
762 *** Improve the published descriptions for implicit links and explicit
763 links with no provided description.
765 *** For headers and footers, use a better algorithm to detect whether
766 we have been given a filename or the real contents.
768 *** New option: muse-publish-date-format.
769 Format string of the date used when publishing files.
771 *** New option: muse-publish-markup-header-footer-tags.
772 This specifies which tags may be used when publishing headers and
773 footers.
775 *** New option: muse-publish-contents-depth.
776 This specifies the maximum depth of headings to include with
777 <contents> tags.
779 *** Allow `muse-publish-markup-buffer' to work even if the buffer
780 is not associated with a file.
782 *** Fix a compilation bug with XEmacs beta.
784 *** Source-level change: Use 'image instead of 'image-link to indicate
785 images without descriptions.  Use 'image-link instead of
786 'url-with-image to indicate URLs that have an image as their
787 description.
789 *** Self-nested tags are now supported.
790 Tags with the same name can now be nested inside one another.  This
791 only applies to the new <quote> tag and the <class> tag currently, but
792 it may be useful for custom tags as well.
794 To activate this, set the 4th element in a `muse-publish-markup-tag'
795 to non-nil.  Note that this involved a change to the structure of
796 `muse-publish-markup-tag', so be sure to change any custom tags
797 appropriately.
799 *** Fix bug with WikiName link descriptions and PDF output.
801 *** New convenience function: muse-style-derived-p
802 The new muse-style-derived-p function allows you to make custom tags
803 or inline <lisp> code that acts differently depending on whether the
804 current style is derived from (or equal to) another style.
806 For an example of its use, see `muse-publish-latex-tag' in
807 lisp/muse-latex2png.el.
809 *** New tags, see the Tag Summary section in the manual for details
811 **** <comment> -- Designate entire regions as comments.
813 **** <include> -- Insert the given file at publish time.
815 **** <markup> -- Mark up the text between the initial and ending tags.
817 **** <perl> -- Evaluate perl code.
819 **** <python> -- Evaluate python code.
821 **** <quote> -- Publish the region as a blockquote.
823 **** <ruby> -- Evaluate ruby code.
825 ** Texinfo publishing (lisp/muse-texinfo.el)
827 *** Escape commas in URLs.
829 *** Make it so that links to other info or PDF documents use the proper
830 suffix.
832 *** Publish table headings properly.
834 *** Handle case where the path to the Muse source contains a tilde
835 character in one of the parent directories.  It is still possible to
836 run into this problem if you publish outside of a directory that has a
837 tilde, but with a source file that does have one -- this was deemed to
838 be a very unlikely case.
840 ** URL protocols (lisp/muse-protocols.el)
842 *** Add support for DOI's.
843 DOI's (digitial object identifiers) are a standard identifier used in
844 the publishing industry.
846 *** Add support for "dict:" URLs.
847 This is used to look up terms on the Wikipedia website.
849 **** New option: muse-wikipedia-country.
850 This specified the country code to use for Wikipedia.
852 *** Add support for "woman:" URLs.
853 "woman" links are opened with Emacs' internal manpage viewer.
855 ** Wiki (lisp/muse-wiki.el)
857 *** Three-part links (example: Project::File#anchor) now work.
859 *** New option: muse-wiki-wikiword-match-project-files.
860 Whether to extend WikiName functionality to also match
861 existing filenames, regardless of whether they are named in
862 WikiWord format.
864 If non-nil, Muse will color and publish implicit links to any
865 file in your project.  The default is nil.
867 *** New option: muse-wiki-ignore-implicit-links-to-current-page.
868 Whether to ignore implicit links to the current page.
870 If non-nil, Muse will not recognize implicit links to the current
871 page, both when formatting and publishing.
873 *** For interwiki links, prefer files that have the same file extension
874 as the current file.
876 *** Check the entire explicit link for a project name or complete
877 interwiki link, not just part of it.  This allows page names with
878 invalid WikiName characters to be referred to by using an explicit
879 link.
881 *** If the document does not have a valid title string, use the
882 empty string.
884 *** Take the value of `muse-wiki-hide-nop-tag' into account.
886 *** Match filenames in the project before the general WikiWord
887 regexp.
889 *** Fix some bugs.
891 ** XML publishing (lisp/muse-xml.el)
893 *** The Muse XML schema has been moved from examples/muse.rnc
894 to etc/muse.rnc.
896 *** Update muse.rnc to handle nested list items.
898 *** Fix table generation when some attributes are not given.
900 * Changes in Muse 3.02.8
902 ** Building Muse
904 *** Compile the contents of the contrib directory.
906 *** The debian/ directory has been moved into its own branch.
907 It is now available at mwolson@gnu.org--2006/muse--debian--0.
909 *** Further parametrize the build system, so that it can be easily
910 used by other Emacs Lisp projects.
912 *** Include autoloads file (lisp/muse-autoloads.el) with releases.
914 ** CGI library (contrib/cgi.el)
916 *** Make this not depend on cl.el at runtime.
918 *** Re-add the example calendar application.
920 ** HTTP daemon (contrib/httpd.el)
922 *** Update this to work with newer versions of Emacs.
924 * Changes in Muse 3.02.7
926 ** Muse Mode highlighting (lisp/muse-colors.el)
928 *** Fix bug that caused Muse not to work with recent builds of Emacs 22.
930 * Changes in Muse 3.02.6
932 ** Building Muse
934 *** Autoloads for Muse are now generated in the muse-autoloads.el
935 file at build time.
937 ** HTML publishing (lisp/muse-html.el)
939 *** Don't escape "%" and "+" in URLs.
941 ** Muse Mode (lisp/muse-mode.el)
943 *** <lisp> tags are now evaluated at display time.
944 The actual contents of the buffer will not change, just the displayed
945 text.  To toggle this behavior, set `muse-colors-evaluate-lisp-tags'.
947 ** Publishing (lisp/muse-publish.el)
949 *** When errors happen during publishing, a more explanatory message
950 is displayed.
952 *** It is now possible to specify non-breaking-space with "~~"
953 (two tildes).  This helps prevent proper names from being split up in
954 the output.
956 *** Escape specials in all forms of emphasis.
958 *** Escape "[" and "]" in links that are entered using muse-make-link.
960 *** Errors from invalid lisp code in a <lisp> tag will be published
961 as a comment.  If you have `muse-publish-comments-p' set to nil, the
962 effect is to remove the error message.
964 *** Fix several publishing issues involving comments and numbered lists.
966 ** Wiki (lisp/muse-wiki.el)
968 *** Interwiki links in extended links that have special characters are
969 now handled properly.
971 ** XML publishing (lisp/muse-xml.el)
973 *** The XML publishing style is now considered stable.
974 Its schema is available in `examples/muse.rnc'.
976 * Changes in Muse 3.02.5
978 ** LaTeX publishing (lisp/muse-latex.el)
980 *** Use a better algorithm for determining how many times we need to
981 call pdflatex for publishing.  Anything with a Table of Contents needs
982 2 passes.
984 ** Muse Mode (lisp/muse-mode.el)
986 *** The 3 levels of emphasis now have corresponding muse-emphasis-N faces.
987 This permits the user to customize them, which may be useful if a font
988 does not have italic and/or bold versions.
990 *** Visiting pages with anchors works better.
992 *** Fix fill bug with semicolons in the middle of paragraphs.
994 *** Fix a bug with editing the link at point.
996 *** Fix a display bug with text like =<verbatim><example></verbatim>=.
998 ** Project settings (lisp/muse-project.el)
1000 *** Fix an edge case that yielded a stringp: nil error.
1002 *** Prevent auto-save files from being recognized as Muse files.
1004 ** Wiki (lisp/muse-wiki.el)
1006 *** By default, WikiWords can have consecutive capital letters.
1008 *** Fix an error that occurs when muse-colors is not loaded.
1010 *** It is now possible to specify a suffix for WikiWord links.
1011 For example: WikiName''''s.  The WikiName part will be displayed and
1012 colored as a link, but the "s" will be left alone.
1014 * Changes in Muse 3.02.02
1016 ** Configuration
1018 *** A bug with customizing `muse-project-alist' has been fixed.
1020 *** We use a file extension for Muse files by default.
1021 To obtain the old behavior, set `muse-file-extension' to nil and
1022 `muse-mode-auto-p' to t.
1024 To go along with the new behavior, be sure to rename all of your Muse
1025 files to have a ".muse" extension.
1027 *** New option: `muse-wiki-ignore-bare-project-names'.
1028 This causes Muse to ignore bare project names if specified.  The
1029 default is to turn bare project names into links.
1031 *** New option: `muse-publish-comments-p'.
1032 This causes Muse to publish comments as markup.  The default is to
1033 remove comments before publishing rather than trying to mark them up.
1035 *** New option: `muse-wiki-allow-nonexistent-wikiword'.
1036 Enabling this will cause WikiWords with no corresponding file to be
1037 colored as bad links.  The default is not to color them and turn them
1038 into links.
1040 ** Muse Mode (lisp/muse-mode.el)
1042 *** An error with intangible links has been fixed.
1044 *** Visiting a page with an anchor works better than before.
1046 *** Flyspell behaves better with Emacs21 than before.
1048 *** Links to nonexistent files will be colored red by default.
1049 This happened previously, but the algorithm was buggy and didn't cover
1050 implicit links.
1052 ** Project handling (lisp/muse-project.el)
1054 *** A convenience macro called `with-muse-project' has been added.
1055 This allows a code block to be executed after changing the current
1056 Muse project.  It is analogous to emacs-wiki's
1057 `with-emacs-wiki-project' function.
1059 ** Publishing (lisp/muse-publish.el)
1061 *** An issue involving anchors at the end of a line has been
1062 addressed.
1064 *** Non-word characters are now allowed before an anchor.
1066 *** Comments may now be published, if desired.
1067 This behavior may be controlled with the `muse-publish-comments-p'
1068 option.  The default is to remove comments before publishing rather
1069 than trying to mark them up.
1071 *** Publishing directives may now include a dash character.
1073 ** LaTeX publishing (lisp/muse-latex.el)
1075 *** A bug with footnotes has been addressed.
1076 An attempt has been made to make generated footnote markup look more
1077 "natural" to experienced LaTeX users.
1079 *** Table headers are underlined and table footers are overlined.
1081 *** PDF publishing will cause pdflatex to be called as needed.
1082 The previous behavior was to always call pdflatex twice.  Currently,
1083 if pdflatex succeeds, it will not be called again.  Otherwise, call it
1084 up to three times.
1086 *** Escaping of special characters should be drastically improved.
1087 An attempt has been made to get escaping done right in most contexts.
1088 The only quirk is that you must surround dollar signs with equal signs
1089 to ensure escaping.  This makes publishing PDF documents much more
1090 useful.
1092 ** Texinfo publishing (lisp/muse-texinfo.el.el)
1094 *** An attempt was made to hone some of the markup.
1096 * Changes in Muse 3.02.01
1098 ** Muse Mode (lisp/muse-mode.el)
1100 *** Links should no longer prevent moving the point, and help text for
1101 links should no longer cause errors to occur.
1103 ** Project handling (lisp/muse-project.el)
1105 *** `muse-project-alist' -- This variable should now save customizations
1106 to the correct form in the .emacs file.  Before, it was saving an
1107 intermediate form of the variable.
1109 If you have used the customize interface in the previous release of
1110 Muse to set `muse-project-alist', please do the following to import
1111 your settings.
1113  - Open your .emacs file.
1114  - Move the point to where `muse-project-alist' is set.
1115  - Type `M-: (setq muse-project-alist-using-customize t) RET'.
1116  - Type `C-M-x'.
1117  - Type `M-x customize-save-variable RET muse-project-alist RET'.
1119 *** `muse-project-alist' -- A bug involving the deleting of items
1120 using Emacs21 and XEmacs21 has been fixed.
1122 ** Publishing (lisp/muse-publish.el)
1124 *** If 2 or more blank lines separate list or table items, each item
1125 will be published in a separate list or table.
1127 *** The #date directive is now populated by default with the last
1128 modified time of each file, rather than the current time of day.  To
1129 use this value, add '<lisp>(muse-publishing-directive "date")<lisp>'
1130 to your header or footer.
1132 ** HTML publishing (lisp/muse-html.el)
1134 *** `muse-xhtml-style-sheet' -- New option that indicates the style
1135 settings to use for XHTML documents.  This may be either a filename or
1136 a string of stylesheet settings.
1138 * Changes in Muse 3.02
1140 ** New modules
1142 *** lisp/muse-wiki.el --- Provide automatic linking for WikiWords and
1143 InterWiki links.  These words are clickable and publish as links.
1144 Project names from `muse-project-alist' are available for InterWiki
1145 linking by default.  The list of InterWiki names and handlers may be
1146 customized through `muse-wiki-interwiki-alist'.
1148 WikiWords that do not correspond with real files will not be displayed
1149 as links nor published as links.  It is expected that this behavior
1150 will be made optional in future versions of Muse.
1152 **** This module includes a few helper functions that may be added to
1153 `muse-publish-desc-transforms' in order to modify link descriptions at
1154 publish time.
1156 **** The concept of "implicit links" and "explicit links" has been
1157 introduced.  Explicit links are surrounded by brackets, i.e.
1158 [[http://blah.org][this is a explicit link]].  Implicit links are URLs
1159 and email addresses that are not surrounded by brackets: they will not
1160 be colorized or published if surrounded by double-quotes.
1162 ***** `muse-wiki-publish-pretty-title' causes words to be Title-cased,
1163 ignoring words like `the' and `at' which should not be changed.
1165 ***** `muse-wiki-publish-pretty-interwiki' changes the delimiter of
1166 interwiki links according to the text of the
1167 `muse-wiki-interwiki-replacement' option.
1169 *** lisp/muse-protocols.el --- URL protocols that Muse recognizes.
1170 This automatically-included module provides an easily customizable
1171 list of URL protocols, how to browse them, and how to resolve them for
1172 publishing.  Customize `muse-url-protocols' to add and remove
1173 protocols.
1175 ** Compatibility fixes
1177 *** Muse has been tested with XEmacs 21.4, both Mule and non-Mule versions.
1178 There are no known problems remaining.  To make things work by
1179 default, the iso-8859-1 charset is used as a default option in some
1180 places.
1182 ** Configuration
1184 *** `muse-file-extension' -- New option that allows the file extension
1185 for Muse files to be specified.  For example, setting this to "muse"
1186 assumes that you have renamed your Muse files with a ".muse"
1187 extension.  Using this (and setting `muse-mode-auto-p' to nil) will
1188 prevent miscellaneous non-Muse files from being accidentally opened in
1189 Muse Mode.
1191 *** `muse-ignored-extensions' -- New option that determines which file
1192 extensions to omit from the ending of a Muse page name.
1194 *** `muse-ignored-extensions-regexp' -- This is no longer customizable.
1195 It will be automatically generated from `muse-file-extension' and
1196 `muse-ignored-extensions'.
1198 *** `muse-project-alist' -- The customize interface for this option has
1199 been greatly improved, and much effort has been spent in order to make
1200 this user-friendly.
1202 *** The `:force-publish' tag may be specified in `muse-project-alist'.
1203 This causes a particular list of files to be re-created every time the
1204 publishing process is invoked, even if they haven't been changed
1205 according to their timestamps.  One use for this is to keep an index
1206 of available pages by adding the following to a file in this list.
1208 <lisp>(muse-index-as-string t t t)</lisp>
1210 *** `muse-project-ignore-regexp' -- By default, version control directories
1211 are now included in this regexp so that they don't appear when you hit
1212 C-c C-f to browse files in a project.
1214 *** The `muse-project-alist-styles' and `muse-project-alist-dirs' functions
1215 may be used in `muse-project-alist' to recursively add styles and
1216 directory listings for a given directory.  The following is an
1217 example.  We use a backtick instead of a single quote to begin the
1218 list.
1220 (setq muse-project-alist
1221       `(("Blog"
1222          (,@(muse-project-alist-dirs "~/proj/wiki/blog")  ;; base dir
1223           :default "guestbook")
1225          ,@(muse-project-alist-styles "~/proj/wiki/blog"  ;; base dir
1226                                       ;; output dir
1227                                       "~/personal-site/site/blog"
1228                                       ;; style
1229                                       "my-blosxom"))))
1231 Note that if you use the customize interface for `muse-project-alist',
1232 you will still have to manually add information for any new
1233 sub-directories.
1235 ** Debian packaging
1237 *** Debian packages for Muse have entered Debian unstable, thanks
1238 to Romain Francoise, my sponsor.
1240 It is possible to roll your own Muse packages if you want to do so.
1241 Packages may be built by using `make debrelease', once the proper
1242 options in Makefile.defs are set.  Revisions may be built using `make
1243 debrevision'.
1245 The manual and relevant documentation files have been included with
1246 the Debian package for Muse.
1248 ** Muse Mode (lisp/muse-mode.el)
1250 *** Allow use of Muse with outline-minor-mode.
1252 *** Filling text does the right thing with list items and footnotes.
1253 List items and footnotes will no longer be concatenated when hitting
1254 M-q in the midst of consecutive items.
1256 *** Links will never be split in the middle when using Fill.
1258 *** Some flyspell crash issues were addressed.
1259 Using intangible text can cause strange problems with flyspell mode.
1260 Hence, by default, the intangible property will be ignored.  A new
1261 option called `muse-mode-intangible-links' indicates whether this
1262 should be the case.
1264 *** Links will no longer be highlighted by flyspell.
1265 If you're using XEmacs or Emacs 22, flyspell will ignore links,
1266 including link text.  This keeps flyspell from making the links
1267 unclickable.  If you're using Emacs 21, flyspell will continue to
1268 interfere with links.  If you know how to fix this, please send a
1269 patch!
1271 *** A few edge cases for emphasis and underlining have been addressed.
1273 *** <example>, <verbatim>, and =surrounded text= are now colored using
1274 the new face `muse-verbatim-face'.
1276 *** All marked up text properties, like emphasis and underlining,
1277 will be removed for the text between <example>, <verbatim>, <code>,
1278 <literal>, and <lisp> tags.
1280 *** Links to temporary files may be visited.
1281 A "temporary file" in this case is a buffer that is not associated
1282 with any file.  For some dynamic content import scripts with Planner,
1283 this is helpful.
1285 *** Typing "#title" should never crash Emacs anymore.
1287 ** Muse manual (muse.texi)
1289 *** Fix problem with producing a PDF version of the manual.
1291 *** Document WikiNames.
1293 *** Bring up-to-date with latest features.
1295 *** Massively update Common Elements section.
1297 *** New Directives section.
1298 This describes the use of #title and #author, as well as other
1299 directives that may be used.
1301 *** New Comments section.
1302 Describes the use of "; comment text".
1304 ** Publishing (lisp/muse-publish.el)
1306 *** The order of rules should be much improved.
1307 This means that emphasis characters like `*' and `_' will never be
1308 interpreted as such if they are within links.
1310 *** The user will be notified when `muse-publish-this-file' fails to
1311 publish the current file.  This happens when the timestamp of the
1312 current file indicates that it is up-to-date.
1314 *** Special characters are escaped in link descriptions and links on a
1315 more consistent basis.  What defines a "special character" varies
1316 according to the publishing style.
1318 *** Errors that occur during publish time will cause a warning to be
1319 displayed prominently, rather than being ignored.  It should no longer
1320 be possible to mess up a Muse source file by tweaking the Muse
1321 publishing process.
1323 *** Errors in <lisp> tags cause a warning to be displayed and
1324 return "<!--INVALID LISP CODE-->".  Muse will try to continue
1325 publishing the page.
1327 *** An emdash ("--") can now be used after a list, as long as there is
1328 a blank line between the end of the list and the emdash.
1330 *** The <code> tag has been introduced.
1331 It does the same thing that =equal signs= do: escape specials and
1332 publish as teletype text.  Use it for short command snippets and the
1333 like.  <example> is a better choice for large blocks of code, since it
1334 preserves whitespace.
1336 *** An edge case involving links at the beginning of a paragraph
1337 has been addressed.
1339 *** An edge case involving consecutive directives of the same size
1340 has been addressed.
1342 *** Every publishing style is now capable of specifying strings to use
1343 for sections beyond the third level.
1345 *** Every publishing style may specify an end-of-section string.
1346 This is used, for example, by the experimental XML style and the
1347 DocBook style.
1349 *** Every publishing style may specify a method of handling "internal
1350 link" markup.  An internal link is a link that refers to an anchor on
1351 the current page.
1353 *** Every publishing style may specify a link suffix to use.
1354 This allows the file extensions in links to other Muse files to be
1355 different from their actual extension.  Blosxom makes use of this
1356 (since its published files are .txt and the dynamically-generated
1357 output is .html), and it could come in handy for PHP stuff.
1359 If a link suffix is not specified via :link-suffix, the value of
1360 :suffix will be used.
1362 ** Blosxom publishing (lisp/muse-blosxom.el)
1364 *** muse-blosxom-new-entry: A #category directive is added by default.
1365 Nothing is done with this yet, but it could be handy for tag-based
1366 (multiple category) blogging, once we figure out a good way to do that
1367 in both Muse and Pyblosxom.  Ideas are welcome, and patches even more
1370 ** DocBook publishing (lisp/muse-docbook.el)
1372 *** The markup has been comprehensively improved.
1373 Published documents will now pass validation tests and look better in
1374 general.
1376 *** It is now possible to specify the encoding of DocBook documents.
1377 The default encoding is utf-8.
1379 *** Footnotes will be embedded into paragraphs, since this is
1380 The DocBook Way.
1382 *** Tables will be sorted by section.
1383 Headers first, then footers, then the rest of the table.
1385 *** Anchors are now handled correctly and publish to the best available
1386 form.  Links to anchors are published with the <link> tag.
1388 ** HTML publishing (lisp/muse-html.el)
1390 *** Fix minor issue with anchors.
1392 *** Paragraph publishing will no longer insert <div> tags before images.
1393 This was causing too much hassle for some programs that were trying to
1394 extend Muse, like the Muse port of Planner.
1396 *** The `&', `<', and '>' characters will be escaped using their specific
1397 HTML escape codes, rather than with "&#NNN;".  This makes the
1398 published output display correctly in more web browsers.
1400 *** Use HTML 4.0 Transitional by default for `muse-html-header'.
1402 *** Include empty alt element in markup string for images that lack a
1403 description.
1405 *** Tables will be sorted by section.
1406 Headers first, then footers, then the rest of the table.
1408 *** `muse-xhtml-extension' -- The default extension for XHTML publishing.
1409 This is a new option.
1411 ** Journal publishing (lisp/muse-journal.el)
1413 *** Use "div class=..." rather than "div id=..." for sections.
1415 ** LaTeX publishing (lisp/muse-latex.el)
1417 *** A newline will be appended to the default footer for the latex and
1418 latexpdf publishing styles.  This keeps the PDF-building process from
1419 failing due to lack of a newline at end of file.
1421 *** Anchors and links to them now work properly.
1423 *** When generating PDF files, call pdflatex twice.
1424 This should ensure that the table of contents gets generated, if one
1425 is due to be published.
1427 *** PDF files with spaces may be published.
1428 A bug preventing this has been fixed.
1430 *** Teletype text is now published using \\texttt{...}.
1432 *** An attempt has been made to escape special characters more
1433 consistently.
1435 ** Texinfo publishing (lisp/muse-texinfo.el)
1437 *** Fix a fatal error that occurs when publishing tables.
1439 *** Generate the contents in the header by default rather than the footer.
1440 This is the way that most Texinfo manuals do it.
1442 *** The info-pdf publishing style currently produces the best PDF output
1443 on the maintainer's machine, so it is now used to publish the PDF
1444 version of the Muse Manual.
1446 *** The characters `{' and `}' will be treated as special characters that
1447 need to be escaped at publish-time.
1449 *** Improve dots and enddots markup strings.
1451 *** Surround underlined text with "_" since Texinfo doesn't seem to have
1452 any better options for producing underlined text.
1454 *** Anchors and links to them now work properly.