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