Use better code for displaying warnings.
[muse-el.git] / NEWS
blob9fb51ac483268944d971c0f6b9526d7eea70da0c
1 Emacs Muse NEWS --- History of user-visible changes    -*- outline -*-
3 * Changes in Muse 3.02.5
5 ** LaTeX
7 *** Use a better algorithm for determining how many times we need to
8 call pdflatex for publishing.  Anything with a Table of Contents needs
9 2 passes.
11 ** Muse Mode
13 *** The 3 levels of emphasis now have corresponding muse-emphasis-N faces.
14 This permits the user to customize them, which may be useful if a font
15 does not have italic and/or bold versions.
17 *** Visiting pages with anchors works better.
19 *** Fix fill bug with semicolons in the middle of paragraphs.
21 *** Fix a bug with editing the link at point.
23 *** Fix a display bug with text like =<verbatim><example></verbatim>=.
25 ** Project settings
27 *** Fix an edge case that yielded a stringp: nil error.
29 *** Prevent auto-save files from being recognized as Muse files.
31 ** Wiki
33 *** By default, WikiWords can have consecutive capital letters.
35 *** Fix an error that occurs when muse-colors is not loaded.
37 *** It is now possible to specify a suffix for WikiWord links.
38 For example: WikiName''''s.  The WikiName part will be displayed and
39 colored as a link, but the "s" will be left alone.
41 * Changes in Muse 3.02.02
43 ** Configuration
45 *** A bug with customizing `muse-project-alist' has been fixed.
47 *** We use a file extension for Muse files by default.
48 To obtain the old behavior, set `muse-file-extension' to nil and
49 `muse-mode-auto-p' to t.
51 To go along with the new behavior, be sure to rename all of your Muse
52 files to have a ".muse" extension.
54 *** New option: `muse-wiki-ignore-bare-project-names'.
55 This causes Muse to ignore bare project names if specified.  The
56 default is to turn bare project names into links.
58 *** New option: `muse-publish-comments-p'.
59 This causes Muse to publish comments as markup.  The default is to
60 remove comments before publishing rather than trying to mark them up.
62 *** New option: `muse-wiki-allow-nonexistent-wikiword'.
63 Enabling this will cause WikiWords with no corresponding file to be
64 colored as bad links.  The default is not to color them and turn them
65 into links.
67 ** Muse Mode
69 *** An error with intangible links has been fixed.
71 *** Visiting a page with an anchor works better than before.
73 *** Flyspell behaves better with Emacs21 than before.
75 *** Links to nonexistent files will be colored red by default.
76 This happened previously, but the algorithm was buggy and didn't cover
77 implicit links.
79 ** Programming
81 *** A convenience macro called `with-muse-project' has been added.
82 This allows a code block to be executed after changing the current
83 Muse project.  It is analogous to emacs-wiki's
84 `with-emacs-wiki-project' function.
86 ** Publishing
88 *** An issue involving anchors at the end of a line has been
89 addressed.
91 *** Non-word characters are now allowed before an anchor.
93 *** Comments may now be published, if desired.
94 This behavior may be controlled with the `muse-publish-comments-p'
95 option.  The default is to remove comments before publishing rather
96 than trying to mark them up.
98 *** Publishing directives may now include a dash character.
100 ** LaTeX publishing
102 *** A bug with footnotes has been addressed.
103 An attempt has been made to make generated footnote markup look more
104 "natural" to experienced LaTeX users.
106 *** Table headers are underlined and table footers are overlined.
108 *** PDF publishing will cause pdflatex to be called as needed.
109 The previous behavior was to always call pdflatex twice.  Currently,
110 if pdflatex succeeds, it will not be called again.  Otherwise, call it
111 up to three times.
113 *** Escaping of special characters should be drastically improved.
114 An attempt has been made to get escaping done right in most contexts.
115 The only quirk is that you must surround dollar signs with equal signs
116 to ensure escaping.  This makes publishing PDF documents much more
117 useful.
119 ** TexInfo publishing
121 *** An attempt was made to hone some of the markup.
123 * Changes in Muse 3.02.01
125 ** Configuration
127 *** `muse-project-alist' -- This variable should now save customizations
128 to the correct form in the .emacs file.  Before, it was saving an
129 intermediate form of the variable.
131 If you have used the customize interface in the previous release of
132 Muse to set `muse-project-alist', please do the following to import
133 your settings.
135  - Open your .emacs file.
136  - Move the point to where `muse-project-alist' is set.
137  - Type `M-: (setq muse-project-alist-using-customize t) RET'.
138  - Type `C-M-x'.
139  - Type `M-x customize-save-variable RET muse-project-alist RET'.
141 *** `muse-project-alist' -- A bug involving the deleting of items
142 using Emacs21 and XEmacs21 has been fixed.
144 ** Muse Mode
146 *** Links should no longer prevent moving the point, and help text for
147 links should no longer cause errors to occur.
149 ** Publishing
151 *** If 2 or more blank lines separate list or table items, each item
152 will be published in a separate list or table.
154 *** The #date directive is now populated by default with the last
155 modified time of each file, rather than the current time of day.  To
156 use this value, add '<lisp>(muse-publishing-directive "date")<lisp>'
157 to your header or footer.
159 ** HTML publishing
161 *** `muse-xhtml-style-sheet' -- New option that indicates the style
162 settings to use for XHTML documents.  This may be either a filename or
163 a string of stylesheet settings.
165 * Changes in Muse 3.02
167 ** New modules
169 *** muse-wiki.el --- Provide automatic linking for WikiWords and
170 InterWiki links.  These words are clickable and publish as links.
171 Project names from `muse-project-alist' are available for InterWiki
172 linking by default.  The list of InterWiki names and handlers may be
173 customized through `muse-wiki-interwiki-alist'.
175 WikiWords that do not correspond with real files will not be displayed
176 as links nor published as links.  It is expected that this behavior
177 will be made optional in future versions of Muse.
179 **** This module includes a few helper functions that may be added to
180 `muse-publish-desc-transforms' in order to modify link descriptions at
181 publish time.
183 **** The concept of "implicit links" and "explicit links" has been
184 introduced.  Explicit links are surrounded by brackets, i.e.
185 [[http://blah.org][this is a explicit link]].  Implicit links are URLs
186 and email addresses that are not surrounded by brackets: they will not
187 be colorized or published if surrounded by double-quotes.
189 ***** `muse-wiki-publish-pretty-title' causes words to be Title-cased,
190 ignoring words like `the' and `at' which should not be changed.
192 ***** `muse-wiki-publish-pretty-interwiki' changes the delimiter of
193 interwiki links according to the text of the
194 `muse-wiki-interwiki-replacement' option.
196 *** muse-protocols.el --- URL protocols that Muse recognizes.
197 This automatically-included module provides an easily customizable
198 list of URL protocols, how to browse them, and how to resolve them for
199 publishing.  Customize `muse-url-protocols' to add and remove
200 protocols.
202 ** Compatibility fixes
204 *** Muse has been tested with XEmacs 21.4, both Mule and non-Mule versions.
205 There are no known problems remaining.  To make things work by
206 default, the iso-8859-1 charset is used as a default option in some
207 places.
209 ** Configuration
211 *** `muse-file-extension' -- New option that allows the file extension
212 for Muse files to be specified.  For example, setting this to "muse"
213 assumes that you have renamed your Muse files with a ".muse"
214 extension.  Using this (and setting `muse-mode-auto-p' to nil) will
215 prevent miscellaneous non-Muse files from being accidentally opened in
216 Muse Mode.
218 *** `muse-ignored-extensions' -- New option that determines which file
219 extensions to omit from the ending of a Muse page name.
221 *** `muse-ignored-extensions-regexp' -- This is no longer customizable.
222 It will be automatically generated from `muse-file-extension' and
223 `muse-ignored-extensions'.
225 *** `muse-project-alist' -- The customize interface for this option has
226 been greatly improved, and much effort has been spent in order to make
227 this user-friendly.
229 *** The `:force-publish' tag may be specified in `muse-project-alist'.
230 This causes a particular list of files to be re-created every time the
231 publishing process is invoked, even if they haven't been changed
232 according to their timestamps.  One use for this is to keep an index
233 of available pages by adding the following to a file in this list.
235 <lisp>(muse-index-as-string t t t)</lisp>
237 *** `muse-project-ignore-regexp' -- By default, version control directories
238 are now included in this regexp so that they don't appear when you hit
239 C-c C-f to browse files in a project.
241 *** The `muse-project-alist-styles' and `muse-project-alist-dirs' functions
242 may be used in `muse-project-alist' to recursively add styles and
243 directory listings for a given directory.  The following is an
244 example.  We use a backtick instead of a single quote to begin the
245 list.
247 (setq muse-project-alist
248       `(("Blog"
249          (,@(muse-project-alist-dirs "~/proj/wiki/blog")  ;; base dir
250           :default "guestbook")
252          ,@(muse-project-alist-styles "~/proj/wiki/blog"  ;; base dir
253                                       ;; output dir
254                                       "~/personal-site/site/blog"
255                                       ;; style
256                                       "my-blosxom"))))
258 Note that if you use the customize interface for `muse-project-alist',
259 you will still have to manually add information for any new
260 sub-directories.
262 ** Debian packaging
264 *** Debian packages for Muse have entered Debian unstable, thanks
265 to Romain Francoise, my sponsor.
267 It is possible to roll your own Muse packages if you want to do so.
268 Packages may be built by using `make debrelease', once the proper
269 options in Makefile.defs are set.  Revisions may be built using `make
270 debrevision'.
272 The manual and relevant documentation files have been included with
273 the Debian package for Muse.
275 ** Muse Mode
277 *** Allow use of Muse with outline-minor-mode.
279 *** Filling text does the right thing with list items and footnotes.
280 List items and footnotes will no longer be concatenated when hitting
281 M-q in the midst of consecutive items.
283 *** Links will never be split in the middle when using Fill.
285 *** Some flyspell crash issues were addressed.
286 Using intangible text can cause strange problems with flyspell mode.
287 Hence, by default, the intangible property will be ignored.  A new
288 option called `muse-mode-intangible-links' indicates whether this
289 should be the case.
291 *** Links will no longer be highlighted by flyspell.
292 If you're using XEmacs or Emacs 22, flyspell will ignore links,
293 including link text.  This keeps flyspell from making the links
294 unclickable.  If you're using Emacs 21, flyspell will continue to
295 interfere with links.  If you know how to fix this, please send a
296 patch!
298 *** A few edge cases for emphasis and underlining have been addressed.
300 *** <example>, <verbatim>, and =surrounded text= are now colored using
301 the new face `muse-verbatim-face'.
303 *** All marked up text properties, like emphasis and underlining,
304 will be removed for the text between <example>, <verbatim>, <code>,
305 <literal>, and <lisp> tags.
307 *** Links to temporary files may be visited.
308 A "temporary file" in this case is a buffer that is not associated
309 with any file.  For some dynamic content import scripts with Planner,
310 this is helpful.
312 *** Typing "#title" should never crash Emacs anymore.
314 ** Muse manual
316 *** Fix problem with producing a PDF version of the manual.
318 *** Document WikiNames.
320 *** Bring up-to-date with latest features.
322 *** Massively update Common Elements section.
324 *** New Directives section.
325 This describes the use of #title and #author, as well as other
326 directives that may be used.
328 *** New Comments section.
329 Describes the use of "; comment text".
331 ** Publishing
333 *** The order of rules should be much improved.
334 This means that emphasis characters like `*' and `_' will never be
335 interpreted as such if they are within links.
337 *** The user will be notified when `muse-publish-this-file' fails to
338 publish the current file.  This happens when the timestamp of the
339 current file indicates that it is up-to-date.
341 *** Special characters are escaped in link descriptions and links on a
342 more consistent basis.  What defines a "special character" varies
343 according to the publishing style.
345 *** Errors that occur during publish time will cause a warning to be
346 displayed prominently, rather than being ignored.  It should no longer
347 be possible to mess up a Muse source file by tweaking the Muse
348 publishing process.
350 *** Errors in <lisp> tags cause a warning to be displayed and
351 return "<!--INVALID LISP CODE-->".  Muse will try to continue
352 publishing the page.
354 *** An emdash ("--") can now be used after a list, as long as there is
355 a blank line between the end of the list and the emdash.
357 *** The <code> tag has been introduced.
358 It does the same thing that =equal signs= do: escape specials and
359 publish as teletype text.  Use it for short command snippets and the
360 like.  <example> is a better choice for large blocks of code, since it
361 preserves whitespace.
363 *** An edge case involving links at the beginning of a paragraph
364 has been addressed.
366 *** An edge case involving consecutive directives of the same size
367 has been addressed.
369 *** Every publishing style is now capable of specifying strings to use
370 for sections beyond the third level.
372 *** Every publishing style may specify an end-of-section string.
373 This is used, for example, by the experimental XML style and the
374 DocBook style.
376 *** Every publishing style may specify a method of handling "internal
377 link" markup.  An internal link is a link that refers to an anchor on
378 the current page.
380 *** Every publishing style may specify a link suffix to use.
381 This allows the file extensions in links to other Muse files to be
382 different from their actual extension.  Blosxom makes use of this
383 (since its published files are .txt and the dynamically-generated
384 output is .html), and it could come in handy for PHP stuff.
386 If a link suffix is not specified via :link-suffix, the value of
387 :suffix will be used.
389 ** Blosxom publishing
391 *** muse-blosxom-new-entry: A #category directive is added by default.
392 Nothing is done with this yet, but it could be handy for tag-based
393 (multiple category) blogging, once we figure out a good way to do that
394 in both Muse and Pyblosxom.  Ideas are welcome, and patches even more
397 ** DocBook publishing
399 *** The markup has been comprehensively improved.
400 Published documents will now pass validation tests and look better in
401 general.
403 *** It is now possible to specify the encoding of DocBook documents.
404 The default encoding is utf-8.
406 *** Footnotes will be embedded into paragraphs, since this is
407 The DocBook Way.
409 *** Tables will be sorted by section.
410 Headers first, then footers, then the rest of the table.
412 *** Anchors are now handled correctly and publish to the best available
413 form.  Links to anchors are published with the <link> tag.
415 ** HTML publishing
417 *** Fix minor issue with anchors.
419 *** Paragraph publishing will no longer insert <div> tags before images.
420 This was causing too much hassle for some programs that were trying to
421 extend Muse, like the Muse port of Planner.
423 *** The `&', `<', and '>' characters will be escaped using their specific
424 HTML escape codes, rather than with "&#NNN;".  This makes the
425 published output display correctly in more web browsers.
427 *** Use HTML 4.0 Transitional by default for `muse-html-header'.
429 *** Include empty alt element in markup string for images that lack a
430 description.
432 *** Tables will be sorted by section.
433 Headers first, then footers, then the rest of the table.
435 *** `muse-xhtml-extension' -- The default extension for XHTML publishing.
436 This is a new option.
438 ** Journal publishing
440 *** Use "div class=..." rather than "div id=..." for sections.
442 ** LaTeX publishing
444 *** A newline will be appended to the default footer for the latex and
445 latexpdf publishing styles.  This keeps the PDF-building process from
446 failing due to lack of a newline at end of file.
448 *** Anchors and links to them now work properly.
450 *** When generating PDF files, call pdflatex twice.
451 This should ensure that the table of contents gets generated, if one
452 is due to be published.
454 *** PDF files with spaces may be published.
455 A bug preventing this has been fixed.
457 *** Teletype text is now published using \\texttt{...}.
459 *** An attempt has been made to escape special characters more
460 consistently.
462 ** TexInfo publishing
464 *** Fix a fatal error that occurs when publishing tables.
466 *** Generate the contents in the header by default rather than the footer.
467 This is the way that most TexInfo manuals do it.
469 *** The info-pdf publishing style currently produces the best PDF output
470 on the maintainer's machine, so it is now used to publish the PDF
471 version of the Muse Manual.
473 *** The characters `{' and `}' will be treated as special characters that
474 need to be escaped at publish-time.
476 *** Improve dots and enddots markup strings.
478 *** Surround underlined text with "_" since TexInfo doesn't seem to have
479 any better options for producing underlined text.
481 *** Anchors and links to them now work properly.