NEWS: Add migration note.
[muse-el.git] / NEWS
blobc38064cd2f33e810248e9cd4e5dc938ce196acb5
1 Emacs Muse NEWS --- History of user-visible changes    -*- outline -*-
3 * Changes in Muse 3.02.02
5 ** Configuration
7 *** A bug with customizing `muse-project-alist' has been fixed.
9 *** We use a file extension for Muse files by default.
10 To obtain the old behavior, set `muse-file-extension' to nil and
11 `muse-mode-auto-p' to t.
13 To go along with the new behavior, be sure to rename all of your Muse
14 files to have a ".muse" extension.
16 *** New option: `muse-wiki-ignore-bare-project-names'.
17 This causes Muse to ignore bare project names if specified.  The
18 default is to turn bare project names into links.
20 *** New option: `muse-publish-comments-p'.
21 This causes Muse to publish comments as markup.  The default is to
22 remove comments before publishing rather than trying to mark them up.
24 *** New option: `muse-wiki-allow-nonexistent-wikiword'.
25 Enabling this will cause WikiWords with no corresponding file to be
26 colored as bad links.  The default is not to color them and turn them
27 into links.
29 ** Muse Mode
31 *** An error with intangible links has been fixed.
33 *** Visiting a page with an anchor works better than before.
35 *** Flyspell behaves better with Emacs21 than before.
37 *** Links to nonexistent files will be colored red by default.
38 This happened previously, but the algorithm was buggy and didn't cover
39 implicit links.
41 ** Programming
43 *** A convenience macro called `with-muse-project' has been added.
44 This allows a code block to be executed after changing the current
45 Muse project.  It is analogous to emacs-wiki's
46 `with-emacs-wiki-project' function.
48 ** Publishing
50 *** An issue involving anchors at the end of a line has been
51 addressed.
53 *** Non-word characters are now allowed before an anchor.
55 *** Comments may now be published, if desired.
56 This behavior may be controlled with the `muse-publish-comments-p'
57 option.  The default is to remove comments before publishing rather
58 than trying to mark them up.
60 *** Publishing directives may now include a dash character.
62 ** LaTeX publishing
64 *** A bug with footmarks has been addressed.
66 *** Table headers are underlined and table footers are overlined.
68 *** PDF publishing will cause pdflatex to be called as needed.
69 The previous behavior was to always call pdflatex twice.  Currently,
70 if pdflatex succeeds, it will not be called again.  Otherwise, call it
71 up to three times.
73 *** Escaping of special characters should be drastically improved.
74 An attempt has been made to get escaping done right in most contexts.
75 The only quirk is that you must surround dollar signs with equal signs
76 to ensure escaping.  This makes publishing PDF documents much more
77 useful.
79 * Changes in Muse 3.02.01
81 ** Configuration
83 *** `muse-project-alist' -- This variable should now save customizations
84 to the correct form in the .emacs file.  Before, it was saving an
85 intermediate form of the variable.
87 If you have used the customize interface in the previous release of
88 Muse to set `muse-project-alist', please do the following to import
89 your settings.
91  - Open your .emacs file.
92  - Move the point to where `muse-project-alist' is set.
93  - Type `M-: (setq muse-project-alist-using-customize t) RET'.
94  - Type `C-M-x'.
95  - Type `M-x customize-save-variable RET muse-project-alist RET'.
97 *** `muse-project-alist' -- A bug involving the deleting of items
98 using Emacs21 and XEmacs21 has been fixed.
100 ** Muse Mode
102 *** Links should no longer prevent moving the point, and help text for
103 links should no longer cause errors to occur.
105 ** Publishing
107 *** If 2 or more blank lines separate list or table items, each item
108 will be published in a separate list or table.
110 *** The #date directive is now populated by default with the last
111 modified time of each file, rather than the current time of day.  To
112 use this value, add '<lisp>(muse-publishing-directive "date")<lisp>'
113 to your header or footer.
115 ** HTML publishing
117 *** `muse-xhtml-style-sheet' -- New option that indicates the style
118 settings to use for XHTML documents.  This may be either a filename or
119 a string of stylesheet settings.
121 * Changes in Muse 3.02
123 ** New modules
125 *** muse-wiki.el --- Provide automatic linking for WikiWords and
126 InterWiki links.  These words are clickable and publish as links.
127 Project names from `muse-project-alist' are available for InterWiki
128 linking by default.  The list of InterWiki names and handlers may be
129 customized through `muse-wiki-interwiki-alist'.
131 WikiWords that do not correspond with real files will not be displayed
132 as links nor published as links.  It is expected that this behavior
133 will be made optional in future versions of Muse.
135 **** This module includes a few helper functions that may be added to
136 `muse-publish-desc-transforms' in order to modify link descriptions at
137 publish time.
139 **** The concept of "implicit links" and "explicit links" has been
140 introduced.  Explicit links are surrounded by brackets, i.e.
141 [[http://blah.org][this is a explicit link]].  Implicit links are URLs
142 and email addresses that are not surrounded by brackets: they will not
143 be colorized or published if surrounded by double-quotes.
145 ***** `muse-wiki-publish-pretty-title' causes words to be Title-cased,
146 ignoring words like `the' and `at' which should not be changed.
148 ***** `muse-wiki-publish-pretty-interwiki' changes the delimiter of
149 interwiki links according to the text of the
150 `muse-wiki-interwiki-replacement' option.
152 *** muse-protocols.el --- URL protocols that Muse recognizes.
153 This automatically-included module provides an easily customizable
154 list of URL protocols, how to browse them, and how to resolve them for
155 publishing.  Customize `muse-url-protocols' to add and remove
156 protocols.
158 ** Compatibility fixes
160 *** Muse has been tested with XEmacs 21.4, both Mule and non-Mule versions.
161 There are no known problems remaining.  To make things work by
162 default, the iso-8859-1 charset is used as a default option in some
163 places.
165 ** Configuration
167 *** `muse-file-extension' -- New option that allows the file extension
168 for Muse files to be specified.  For example, setting this to "muse"
169 assumes that you have renamed your Muse files with a ".muse"
170 extension.  Using this (and setting `muse-mode-auto-p' to nil) will
171 prevent miscellaneous non-Muse files from being accidentally opened in
172 Muse Mode.
174 *** `muse-ignored-extensions' -- New option that determines which file
175 extensions to omit from the ending of a Muse page name.
177 *** `muse-ignored-extensions-regexp' -- This is no longer customizable.
178 It will be automatically generated from `muse-file-extension' and
179 `muse-ignored-extensions'.
181 *** `muse-project-alist' -- The customize interface for this option has
182 been greatly improved, and much effort has been spent in order to make
183 this user-friendly.
185 *** The `:force-publish' tag may be specified in `muse-project-alist'.
186 This causes a particular list of files to be re-created every time the
187 publishing process is invoked, even if they haven't been changed
188 according to their timestamps.  One use for this is to keep an index
189 of available pages by adding the following to a file in this list.
191 <lisp>(muse-index-as-string t t t)</lisp>
193 *** `muse-project-ignore-regexp' -- By default, version control directories
194 are now included in this regexp so that they don't appear when you hit
195 C-c C-f to browse files in a project.
197 *** The `muse-project-alist-styles' and `muse-project-alist-dirs' functions
198 may be used in `muse-project-alist' to recursively add styles and
199 directory listings for a given directory.  The following is an
200 example.  We use a backtick instead of a single quote to begin the
201 list.
203 (setq muse-project-alist
204       `(("Blog"
205          (,@(muse-project-alist-dirs "~/proj/wiki/blog")  ;; base dir
206           :default "guestbook")
208          ,@(muse-project-alist-styles "~/proj/wiki/blog"  ;; base dir
209                                       ;; output dir
210                                       "~/personal-site/site/blog"
211                                       ;; style
212                                       "my-blosxom"))))
214 Note that if you use the customize interface for `muse-project-alist',
215 you will still have to manually add information for any new
216 sub-directories.
218 ** Debian packaging
220 *** Debian packages for Muse have entered Debian unstable, thanks
221 to Romain Francoise, my sponsor.
223 It is possible to roll your own Muse packages if you want to do so.
224 Packages may be built by using `make debrelease', once the proper
225 options in Makefile.defs are set.  Revisions may be built using `make
226 debrevision'.
228 The manual and relevant documentation files have been included with
229 the Debian package for Muse.
231 ** Muse Mode
233 *** Allow use of Muse with outline-minor-mode.
235 *** Filling text does the right thing with list items and footnotes.
236 List items and footnotes will no longer be concatenated when hitting
237 M-q in the midst of consecutive items.
239 *** Links will never be split in the middle when using Fill.
241 *** Some flyspell crash issues were addressed.
242 Using intangible text can cause strange problems with flyspell mode.
243 Hence, by default, the intangible property will be ignored.  A new
244 option called `muse-mode-intangible-links' indicates whether this
245 should be the case.
247 *** Links will no longer be highlighted by flyspell.
248 If you're using XEmacs or Emacs 22, flyspell will ignore links,
249 including link text.  This keeps flyspell from making the links
250 unclickable.  If you're using Emacs 21, flyspell will continue to
251 interfere with links.  If you know how to fix this, please send a
252 patch!
254 *** A few edge cases for emphasis and underlining have been addressed.
256 *** <example>, <verbatim>, and =surrounded text= are now colored using
257 the new face `muse-verbatim-face'.
259 *** All marked up text properties, like emphasis and underlining,
260 will be removed for the text between <example>, <verbatim>, <code>,
261 <literal>, and <lisp> tags.
263 *** Links to temporary files may be visited.
264 A "temporary file" in this case is a buffer that is not associated
265 with any file.  For some dynamic content import scripts with Planner,
266 this is helpful.
268 *** Typing "#title" should never crash Emacs anymore.
270 ** Muse manual
272 *** Fix problem with producing a PDF version of the manual.
274 *** Document WikiNames.
276 *** Bring up-to-date with latest features.
278 *** Massively update Common Elements section.
280 *** New Directives section.
281 This describes the use of #title and #author, as well as other
282 directives that may be used.
284 *** New Comments section.
285 Describes the use of "; comment text".
287 ** Publishing
289 *** The order of rules should be much improved.
290 This means that emphasis characters like `*' and `_' will never be
291 interpreted as such if they are within links.
293 *** The user will be notified when `muse-publish-this-file' fails to
294 publish the current file.  This happens when the timestamp of the
295 current file indicates that it is up-to-date.
297 *** Special characters are escaped in link descriptions and links on a
298 more consistent basis.  What defines a "special character" varies
299 according to the publishing style.
301 *** Errors that occur during publish time will cause a warning to be
302 displayed prominently, rather than being ignored.  It should no longer
303 be possible to mess up a Muse source file by tweaking the Muse
304 publishing process.
306 *** Errors in <lisp> tags cause a warning to be displayed and
307 return "<!--INVALID LISP CODE-->".  Muse will try to continue
308 publishing the page.
310 *** An emdash ("--") can now be used after a list, as long as there is
311 a blank line between the end of the list and the emdash.
313 *** The <code> tag has been introduced.
314 It does the same thing that =equal signs= do: escape specials and
315 publish as teletype text.  Use it for short command snippets and the
316 like.  <example> is a better choice for large blocks of code, since it
317 preserves whitespace.
319 *** An edge case involving links at the beginning of a paragraph
320 has been addressed.
322 *** An edge case involving consecutive directives of the same size
323 has been addressed.
325 *** Every publishing style is now capable of specifying strings to use
326 for sections beyond the third level.
328 *** Every publishing style may specify an end-of-section string.
329 This is used, for example, by the experimental XML style and the
330 DocBook style.
332 *** Every publishing style may specify a method of handling "internal
333 link" markup.  An internal link is a link that refers to an anchor on
334 the current page.
336 *** Every publishing style may specify a link suffix to use.
337 This allows the file extensions in links to other Muse files to be
338 different from their actual extension.  Blosxom makes use of this
339 (since its published files are .txt and the dynamically-generated
340 output is .html), and it could come in handy for PHP stuff.
342 If a link suffix is not specified via :link-suffix, the value of
343 :suffix will be used.
345 ** Blosxom publishing
347 *** muse-blosxom-new-entry: A #category directive is added by default.
348 Nothing is done with this yet, but it could be handy for tag-based
349 (multiple category) blogging, once we figure out a good way to do that
350 in both Muse and Pyblosxom.  Ideas are welcome, and patches even more
353 ** DocBook publishing
355 *** The markup has been comprehensively improved.
356 Published documents will now pass validation tests and look better in
357 general.
359 *** It is now possible to specify the encoding of DocBook documents.
360 The default encoding is utf-8.
362 *** Footnotes will be embedded into paragraphs, since this is
363 The DocBook Way.
365 *** Tables will be sorted by section.
366 Headers first, then footers, then the rest of the table.
368 *** Anchors are now handled correctly and publish to the best available
369 form.  Links to anchors are published with the <link> tag.
371 ** HTML publishing
373 *** Fix minor issue with anchors.
375 *** Paragraph publishing will no longer insert <div> tags before images.
376 This was causing too much hassle for some programs that were trying to
377 extend Muse, like the Muse port of Planner.
379 *** The `&', `<', and '>' characters will be escaped using their specific
380 HTML escape codes, rather than with "&#NNN;".  This makes the
381 published output display correctly in more web browsers.
383 *** Use HTML 4.0 Transitional by default for `muse-html-header'.
385 *** Include empty alt element in markup string for images that lack a
386 description.
388 *** Tables will be sorted by section.
389 Headers first, then footers, then the rest of the table.
391 *** `muse-xhtml-extension' -- The default extension for XHTML publishing.
392 This is a new option.
394 ** Journal publishing
396 *** Use "div class=..." rather than "div id=..." for sections.
398 ** LaTeX publishing
400 *** A newline will be appended to the default footer for the latex and
401 latexpdf publishing styles.  This keeps the PDF-building process from
402 failing due to lack of a newline at end of file.
404 *** Anchors and links to them now work properly.
406 *** When generating PDF files, call pdflatex twice.
407 This should ensure that the table of contents gets generated, if one
408 is due to be published.
410 *** PDF files with spaces may be published.
411 A bug preventing this has been fixed.
413 *** Teletype text is now published using \\texttt{...}.
415 *** An attempt has been made to escape special characters more
416 consistently.
418 ** TexInfo publishing
420 *** Fix a fatal error that occurs when publishing tables.
422 *** Generate the contents in the header by default rather than the footer.
423 This is the way that most TexInfo manuals do it.
425 *** The info-pdf publishing style currently produces the best PDF output
426 on the maintainer's machine, so it is now used to publish the PDF
427 version of the Muse Manual.
429 *** The characters `{' and `}' will be treated as special characters that
430 need to be escaped at publish-time.
432 *** Improve dots and enddots markup strings.
434 *** Surround underlined text with "_" since TexInfo doesn't seem to have
435 any better options for producing underlined text.
437 *** Anchors and links to them now work properly.