1 2006-10-15 Michael Olson <mwolson@gnu.org>
3 * AUTHORS: Bookkeeping.
5 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
8 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
11 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
13 * lisp/muse-import-docbook.el (muse-import-docbook)
14 (muse-import-docbook-files): Docfix.
15 (muse-import-docbook-get-title): Remove cl.el-ism.
17 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
19 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
21 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
23 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
24 (muse-next-reference, muse-previous-reference): Minor whitespace
27 * lisp/muse-poem.el (muse-poem-tag): Ditto.
29 * lisp/muse-publish.el (muse-publish-markup-tags)
30 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
31 element and make 4th element determine whether tags are nestable.
32 (muse-publish-goto-tag-end): New function that moves to the end of
33 a tag. Handle nested tags when NESTED is non-nil.
34 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
35 5th element for function.
36 (muse-publish-quote-tag): Handle nested quote tags. I've tested
37 this on several scenarios, and it seems to work.
38 (muse-publish-surround-text): Accept new optional argument
39 LIST-ITEM which determines the regexp to use for list items. The
40 default is to use muse-list-item-regexp.
42 * muse.texi (Markup Tags): Mention nestable tags.
44 * NEWS: Mention new files.
46 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
48 * lisp/muse-import-docbook.el: New file that converts Docbook XML
51 * lisp/muse-import-xml.el: New file that provides helper routines
52 for converting XML-ish files to Muse format.
54 2006-10-10 Michael Olson <mwolson@gnu.org>
56 * NEWS: Update for 3.02.7 bugfix release.
58 2006-10-06 Sasha Kovar <sasha@arcocene.org>
60 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
61 using the value in the muse #date directive.
62 (muse-blosxom-use-metadate): New option that determines whether or
63 not to use the #postdate directive.
64 (muse-blosxom-format-date): Convert a date string to PyBlosxom
65 metadate plugin format.
67 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
69 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
72 * muse.texi: Clarify handling of implicit links by mentioning
73 which characters can prevent Muse from recognizing something as an
76 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
78 * lisp/muse-mode.el (muse-next-reference)
79 (muse-previous-reference): Fix bug #6367 by moving point to the
80 beginning of the link.
82 2006-09-26 Michael Olson <mwolson@gnu.org>
84 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
85 beginning-of-line. This should fix a bug that was noticed in
86 recent Emacs 22 builds.
88 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
89 eval-and-compile block to avoid a compiler warning.
91 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
93 * lisp/muse-backlink.el (muse-backlink-split-string):
94 Compatibility with Emacs versions < 22
95 (muse-backlink-pending): New internal variable
96 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
97 that backlinks are inserted at the right time.
98 (muse-backlink-insert-hook-func): Remove unwind-protection; check
99 for pending backlink, and that this is the targe page.
100 (muse-backlink-handle-link): Don’t handle the link if we are
101 already handling one. Return the link as well as the parent links.
103 2006-09-25 Sasha Kovar <sasha@arcocene.org>
105 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
106 #6942 - muse-blosxom-new-entry fails when using tags.
108 2006-09-14 Michael Olson <mwolson@gnu.org>
110 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
113 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
115 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
116 function: Protect all wikiwords from START to END from further
118 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
120 2006-09-13 Michael Olson <mwolson@gnu.org>
122 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
123 adopted from Jim Ottaway's patch. It removes links from the
124 heading, and then marks the region read-only to inhibit WikiWord
127 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
129 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
130 special handling for headings.
131 (muse-texinfo-remove-links): New function that removes explicit
132 links from the given strings, replacing them with a description.
134 2006-09-11 Michael Olson <mwolson@gnu.org>
136 * muse.texi (Getting Help and Reporting Bugs): Mention the
137 muse-el-internationalization mailing list.
139 * lisp/muse.el (muse-path-sans-extension): New function that acts
140 like file-name-sans-extension, but guarantees to never modify the
141 directory part of the path. Thanks to Evan Monroig for
144 * lisp/muse-book.el (muse-book-publish-project): Use
145 muse-path-sans-extension instead of file-name-sans-extension.
147 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
150 2006-08-30 Michael Olson <mwolson@gnu.org>
152 * muse.texi (Blosxom Requirements): Fix typo.
154 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
155 directories for bzr and darcs.
157 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
158 contrib/pyblosxom/getstamps.py: Update version and headers.
160 2006-08-27 Michael Olson <mwolson@gnu.org>
162 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
163 nil values before they get to mapconcat. This fixes a lockup when
164 muse-wiki-match-all-project-files is nil.
166 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
167 (muse-wiki-ignore-implicit-links-to-current-page)
168 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
169 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
170 (muse-wiki-publish-small-title-words)
171 (muse-wiki-publish-pretty-title): Docfix.
172 (muse-wiki-update-local-wikiword-regexp): Rename from
173 muse-wiki-update-local-wikiword-regexp. Set
174 muse-wiki-project-file-regexp instead of
175 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
176 take muse-wiki-use-wikiword into account, since this is a
177 different concept now.
178 (muse-wiki-update-wikiword-regexp): Remove.
179 (muse-wiki-wikiword-regexp): In-line the :set function.
180 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
182 2006-08-26 Michael Olson <mwolson@gnu.org>
184 * lisp/muse-publish.el (muse-publish-surround-text): When looking
185 for indented list items, ignore blank lines.
187 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
188 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
189 mapconcat. This should hopefully fix a problem with large amounts
190 of files with spaces in their name. Thanks to Greg Detre for the
193 2006-08-24 Michael Olson <mwolson@gnu.org>
195 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
196 numbers from the argument to format-time-string. This fixes an
197 XEmacs bug. Thanks to Michael Welle for the report and analysis.
199 2006-08-18 Michael Olson <mwolson@gnu.org>
201 * lisp/muse-project.el (muse-project-file-entries): Since we are
202 given a full path, match against the filename as well. This fixes
203 an issue where backup files were being added to the file alist.
205 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
208 2006-08-12 Michael Olson <mwolson@gnu.org>
210 * Makefile (.PHONY): Don't use line continuations.
211 (realclean fullclean): Call realclean in subdirs, not distclean.
212 (distclean): Don't call realclean, since this would wipe out our
214 (dist): Use correct path to autoloads file.
216 * NEWS: Catch up with the latest changes.
218 * experimental/Makefile (.PHONY): Wrap long line.
220 * lisp/Makefile (distclean): Do the same thing as "clean", not
223 * lisp/muse-project.el (muse-project-get-applicable-style):
225 (muse-project-ignore-regexp, muse-project-recurse-directory):
227 (muse-project-of-file): Try the ignored files regexp against the
228 base filename as well as the entire path.
230 * lisp/muse-publish.el (muse-publish-this-file): Display message
231 if the buffer is not associated with any file, so that we avoid
233 (muse-publish-url-desc): New function taken from muse-publish-url
234 that causes a URL description to be transformed.
235 (muse-publish-url): Call muse-publish-url-desc on either the
236 description or the original URL if it will be used as a
237 description. Accept the original URL as an argument, in case it
238 was transformed earlier.
239 (muse-publish-insert-url): Pass original URL as an argument.
240 (muse-publish-markup-link): Make this somewhat easier to follow.
241 Pass original URL as argument.
242 (muse-publish-get-style): If the same style is used to publish to
243 two different directories, prompt the user for which directory to
245 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
247 (muse-publish-markup-url): Pass original URL as an argument. This
248 fixes the "nil" description for bare URLs that was in 3.02.91.
249 Nothing like finding a bug just after completing the announcement
252 * lisp/muse.el: Use defalias whenever convenient.
253 (muse-version): Set version to 3.02.92 (3.03 RC2).
255 2006-08-10 Michael Olson <mwolson@gnu.org>
257 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
258 style does not derive from any other class, return `t' here.
259 This, along with the corresponding change to muse-publish.el,
260 fixes a problem with the table of contents getting inserted
261 multiple times for custom html-based styles.
262 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
263 smarter method for table centering that works with XHTML.
265 * lisp/muse-latex2png.el Rename all functions to have a
266 "muse-latex2png" prefix. Turn all variables into customizable
267 options in the muse-latex2png group.
268 (muse-latex2png-img-dest): New option specifying where to place
270 (muse-latex2png-template): New option containing the template to
271 use for the surrounding LaTeX code.
272 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
274 (muse-latex2png-move2pubdir): Avoid multiple redundant error
275 messages when something else goes wrong. Create the image
276 subdirectory if it doesn't exist already -- thanks to Christian
277 Straßer for the report. Expand the filename properly.
278 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
279 and filename expansion.
280 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
281 the default directory properly.
283 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
284 do not run the same function twice.
286 2006-08-08 Michael Olson <mwolson@gnu.org>
288 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
289 introduced wrong-type-argument error.
291 * lisp/muse-html.el (muse-html-markup-strings)
292 (muse-xhtml-markup-string): Cause table definition that contains
293 image to be center-aligned. This should fix an issue with images
294 not being centered when captions are very long.
296 * lisp/muse-publish.el (muse-publish-table-fields): Trim
297 whitespace from fields once we have split them up.
299 * lisp/muse.el (muse-trim-whitespace): New function that strips
300 leading and trailing whitespace from a string.
302 2006-08-07 Michael Olson <mwolson@gnu.org>
304 * NEWS: Update through patch-95.
306 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
308 (muse-colors-explicit-link): Show images in link descriptions if
309 inlined images are enabled.
311 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
312 definitions for 'image-with-desc, 'image, and 'image-link.
313 (muse-docbook-markup-paragraph): If an inlined image begins a
314 paragraph, insert <para> before it.
315 (muse-docbook-fixup-images): New function that upper-cases the
316 "format" attribute of the <imagedata> tag.
317 (muse-docbook-finalize-buffer): Call it.
319 * lisp/muse-html.el (muse-html-markup-strings): Publish images
320 with descriptions as centered tables, with a centered caption
321 underneath. The resulting look is consistent with the way that
322 they are published in the LaTeX style. Thanks to Jody Klymak for
324 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
325 valid way to center a table.
326 (muse-html-markup-paragraph): Use class="image" instead of
327 "image-link" for paragraphs that start with an embedded image.
329 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
330 \textbackslash{} for "\". Thanks to Jim Ottaway for the
332 (muse-latex-markup-specials-image): New option that enables
333 escaping of specials in images. This was split from the URL
335 (muse-latex-decide-specials): Handle 'image context.
336 (muse-latex-fixup-dquotes): Go to beginning of document, instead
337 of relying on caller to do this for us.
339 * lisp/muse-publish.el (muse-publish-escape-specials): Document
341 (muse-publish-url): Use 'image context for images. Use 'image
342 instead of 'image-link and 'image-link in place of
343 'url-with-image. Separate the image file from its extension so
344 that docbook and texinfo can publish images correctly.
345 (muse-publish-markup-link): Don't force a description if one is
346 not given. This fixes a bug where images without descriptions
347 were being published as 'image-with-desc instead of 'image.
349 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
350 images the same as URLs.
351 (muse-texinfo-markup-strings): Improve image markup to achieve an
352 effect similar to that of the LaTeX publishing style. Simplify
355 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
357 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
358 when we have to use the custom version of this function.
360 * muse.texi (Images): Explain how to toggle inlining of images and
361 give better examples. Mention captions and that captioned images
362 should not be used inside of text paragraphs.
363 (Markup Strings): Bring up-to-date with the changes made since
366 2006-08-06 Michael Olson <mwolson@gnu.org>
368 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
369 in the Emacs source tree.
371 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
372 in the Emacs source tree.
374 * ChangeLog.3: New file created from the old ChangeLog.
376 * Makefile.defs (VERSION): Set to 3.02.91.
378 * NEWS: Update through patch-84.
380 * lisp/muse.el (muse-version): Set to 3.02.91.
382 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
384 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
385 delimiter are instead of hard-coding it.
387 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
388 (muse-mode): Make filling definition lists work better. This
391 * lisp/muse-publish.el (muse-style-run-hooks): Use
392 `muse-style-element' instead of `muse-get-keyword' here. This
395 * muse.texi: Set version to 3.02.91 (3.02 RC2).
397 See ChangeLog.3 for earlier changes.