1 2006-10-29 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-project.el (muse-project-find-file): Permit non-Muse
4 files in projects to be linked to, though it isn't yet sure
5 whether they will publish correctly.
7 * lisp/muse-regexps.el (muse-file-regexp): If something ends in
8 "/", it is a file or directory, not a Muse page. Thanks to
9 Phillip Lord for the suggestion.
13 * lisp/muse-publish.el (muse-publish-url): Allow the original link
14 to serve as a description for a URL, as long as it differs from
15 the destination URL. This fixes the description of WikPage links
18 * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use the path
19 of the current page as the local path, instead of duplicating the
20 remote file's path. This probably fixes at least one reported
21 bug. since it's quite major.
23 2006-10-28 Michael Olson <mwolson@gnu.org>
25 * lisp/muse-project.el (muse-project-choose-style-by-link-suffix)
26 (muse-project-resolve-link): If the given style does not have a
27 link-suffix, default to suffix. This fixes a bug I was noticing
28 when linking to a file that was published in both PDF and HTML
31 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
32 function that is used as a callback to determine the initial
33 amount of indentation that the current dl item has.
34 (muse-publish-surround-dl): Use it. Pass the initial indent value
35 and the post-indent value, instead of trying to determine them
37 (muse-publish-strip-list-indentation): New function stripped from
38 `muse-publish-surround-text' for readability.
39 (muse-publish-surround-text): Instead of taking a determine-indent
40 value, take a determine-indent-func function, which is called just
41 after finding the next list item. If we are asked to determine
42 the amount of indentation, concatenate indent and post-indent the
43 first time around. This effectively fixes all known definition
46 2006-10-16 Michael Olson <mwolson@gnu.org>
48 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
49 other software -- namely, Planner -- can detect whether they are
50 using a version of Muse that supports nested tags.
51 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
52 muse-publish-goto-tag-end.
54 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
55 Adapt for nested tags.
57 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
58 <class> tag is nestable. Thanks to Phillip Lord for noticing
61 * lisp/muse-publish.el (muse-publish-markup-tag)
62 (muse-publish-quote-tag): Use muse-goto-tag-end.
64 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
66 2006-10-15 Michael Olson <mwolson@gnu.org>
68 * AUTHORS: Bookkeeping.
70 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
73 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
76 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
78 * lisp/muse-import-docbook.el (muse-import-docbook)
79 (muse-import-docbook-files): Docfix.
80 (muse-import-docbook-get-title): Remove cl.el-ism.
82 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
84 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
86 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
88 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
89 (muse-next-reference, muse-previous-reference): Minor whitespace
91 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
94 * lisp/muse-poem.el (muse-poem-tag): Ditto.
96 * lisp/muse-publish.el (muse-publish-markup-tags)
97 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
98 element and make 4th element determine whether tags are nestable.
99 (muse-publish-goto-tag-end): New function that moves to the end of
100 a tag. Handle nested tags when NESTED is non-nil.
101 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
102 5th element for function.
103 (muse-publish-quote-tag): Handle nested quote tags. I've tested
104 this on several scenarios, and it seems to work.
105 (muse-publish-surround-text): Accept new optional argument
106 LIST-ITEM which determines the regexp to use for list items. The
107 default is to use muse-list-item-regexp.
109 * muse.texi (Markup Tags): Mention nestable tags.
111 * NEWS: Mention new files.
113 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
115 * lisp/muse-import-docbook.el: New file that converts Docbook XML
118 * lisp/muse-import-xml.el: New file that provides helper routines
119 for converting XML-ish files to Muse format.
121 2006-10-10 Michael Olson <mwolson@gnu.org>
123 * NEWS: Update for 3.02.7 bugfix release.
125 2006-10-06 Sasha Kovar <sasha@arcocene.org>
127 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
128 using the value in the muse #date directive.
129 (muse-blosxom-use-metadate): New option that determines whether or
130 not to use the #postdate directive.
131 (muse-blosxom-format-date): Convert a date string to PyBlosxom
132 metadate plugin format.
134 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
136 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
139 * muse.texi: Clarify handling of implicit links by mentioning
140 which characters can prevent Muse from recognizing something as an
143 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
145 * lisp/muse-mode.el (muse-next-reference)
146 (muse-previous-reference): Fix bug #6367 by moving point to the
147 beginning of the link.
149 2006-09-26 Michael Olson <mwolson@gnu.org>
151 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
152 beginning-of-line. This should fix a bug that was noticed in
153 recent Emacs 22 builds.
155 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
156 eval-and-compile block to avoid a compiler warning.
158 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
160 * lisp/muse-backlink.el (muse-backlink-split-string):
161 Compatibility with Emacs versions < 22
162 (muse-backlink-pending): New internal variable
163 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
164 that backlinks are inserted at the right time.
165 (muse-backlink-insert-hook-func): Remove unwind-protection; check
166 for pending backlink, and that this is the targe page.
167 (muse-backlink-handle-link): Don’t handle the link if we are
168 already handling one. Return the link as well as the parent links.
170 2006-09-25 Sasha Kovar <sasha@arcocene.org>
172 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
173 #6942 - muse-blosxom-new-entry fails when using tags.
175 2006-09-14 Michael Olson <mwolson@gnu.org>
177 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
180 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
182 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
183 function: Protect all wikiwords from START to END from further
185 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
187 2006-09-13 Michael Olson <mwolson@gnu.org>
189 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
190 adopted from Jim Ottaway's patch. It removes links from the
191 heading, and then marks the region read-only to inhibit WikiWord
194 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
196 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
197 special handling for headings.
198 (muse-texinfo-remove-links): New function that removes explicit
199 links from the given strings, replacing them with a description.
201 2006-09-11 Michael Olson <mwolson@gnu.org>
203 * muse.texi (Getting Help and Reporting Bugs): Mention the
204 muse-el-internationalization mailing list.
206 * lisp/muse.el (muse-path-sans-extension): New function that acts
207 like file-name-sans-extension, but guarantees to never modify the
208 directory part of the path. Thanks to Evan Monroig for
211 * lisp/muse-book.el (muse-book-publish-project): Use
212 muse-path-sans-extension instead of file-name-sans-extension.
214 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
217 2006-08-30 Michael Olson <mwolson@gnu.org>
219 * muse.texi (Blosxom Requirements): Fix typo.
221 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
222 directories for bzr and darcs.
224 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
225 contrib/pyblosxom/getstamps.py: Update version and headers.
227 2006-08-27 Michael Olson <mwolson@gnu.org>
229 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
230 nil values before they get to mapconcat. This fixes a lockup when
231 muse-wiki-match-all-project-files is nil.
233 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
234 (muse-wiki-ignore-implicit-links-to-current-page)
235 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
236 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
237 (muse-wiki-publish-small-title-words)
238 (muse-wiki-publish-pretty-title): Docfix.
239 (muse-wiki-update-local-wikiword-regexp): Rename from
240 muse-wiki-update-local-wikiword-regexp. Set
241 muse-wiki-project-file-regexp instead of
242 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
243 take muse-wiki-use-wikiword into account, since this is a
244 different concept now.
245 (muse-wiki-update-wikiword-regexp): Remove.
246 (muse-wiki-wikiword-regexp): In-line the :set function.
247 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
249 2006-08-26 Michael Olson <mwolson@gnu.org>
251 * lisp/muse-publish.el (muse-publish-surround-text): When looking
252 for indented list items, ignore blank lines.
254 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
255 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
256 mapconcat. This should hopefully fix a problem with large amounts
257 of files with spaces in their name. Thanks to Greg Detre for the
260 2006-08-24 Michael Olson <mwolson@gnu.org>
262 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
263 numbers from the argument to format-time-string. This fixes an
264 XEmacs bug. Thanks to Michael Welle for the report and analysis.
266 2006-08-18 Michael Olson <mwolson@gnu.org>
268 * lisp/muse-project.el (muse-project-file-entries): Since we are
269 given a full path, match against the filename as well. This fixes
270 an issue where backup files were being added to the file alist.
272 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
275 2006-08-12 Michael Olson <mwolson@gnu.org>
277 * Makefile (.PHONY): Don't use line continuations.
278 (realclean fullclean): Call realclean in subdirs, not distclean.
279 (distclean): Don't call realclean, since this would wipe out our
281 (dist): Use correct path to autoloads file.
283 * NEWS: Catch up with the latest changes.
285 * experimental/Makefile (.PHONY): Wrap long line.
287 * lisp/Makefile (distclean): Do the same thing as "clean", not
290 * lisp/muse-project.el (muse-project-get-applicable-style):
292 (muse-project-ignore-regexp, muse-project-recurse-directory):
294 (muse-project-of-file): Try the ignored files regexp against the
295 base filename as well as the entire path.
297 * lisp/muse-publish.el (muse-publish-this-file): Display message
298 if the buffer is not associated with any file, so that we avoid
300 (muse-publish-url-desc): New function taken from muse-publish-url
301 that causes a URL description to be transformed.
302 (muse-publish-url): Call muse-publish-url-desc on either the
303 description or the original URL if it will be used as a
304 description. Accept the original URL as an argument, in case it
305 was transformed earlier.
306 (muse-publish-insert-url): Pass original URL as an argument.
307 (muse-publish-markup-link): Make this somewhat easier to follow.
308 Pass original URL as argument.
309 (muse-publish-get-style): If the same style is used to publish to
310 two different directories, prompt the user for which directory to
312 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
314 (muse-publish-markup-url): Pass original URL as an argument. This
315 fixes the "nil" description for bare URLs that was in 3.02.91.
316 Nothing like finding a bug just after completing the announcement
319 * lisp/muse.el: Use defalias whenever convenient.
320 (muse-version): Set version to 3.02.92 (3.03 RC2).
322 2006-08-10 Michael Olson <mwolson@gnu.org>
324 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
325 style does not derive from any other class, return `t' here.
326 This, along with the corresponding change to muse-publish.el,
327 fixes a problem with the table of contents getting inserted
328 multiple times for custom html-based styles.
329 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
330 smarter method for table centering that works with XHTML.
332 * lisp/muse-latex2png.el Rename all functions to have a
333 "muse-latex2png" prefix. Turn all variables into customizable
334 options in the muse-latex2png group.
335 (muse-latex2png-img-dest): New option specifying where to place
337 (muse-latex2png-template): New option containing the template to
338 use for the surrounding LaTeX code.
339 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
341 (muse-latex2png-move2pubdir): Avoid multiple redundant error
342 messages when something else goes wrong. Create the image
343 subdirectory if it doesn't exist already -- thanks to Christian
344 Straßer for the report. Expand the filename properly.
345 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
346 and filename expansion.
347 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
348 the default directory properly.
350 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
351 do not run the same function twice.
353 2006-08-08 Michael Olson <mwolson@gnu.org>
355 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
356 introduced wrong-type-argument error.
358 * lisp/muse-html.el (muse-html-markup-strings)
359 (muse-xhtml-markup-string): Cause table definition that contains
360 image to be center-aligned. This should fix an issue with images
361 not being centered when captions are very long.
363 * lisp/muse-publish.el (muse-publish-table-fields): Trim
364 whitespace from fields once we have split them up.
366 * lisp/muse.el (muse-trim-whitespace): New function that strips
367 leading and trailing whitespace from a string.
369 2006-08-07 Michael Olson <mwolson@gnu.org>
371 * NEWS: Update through patch-95.
373 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
375 (muse-colors-explicit-link): Show images in link descriptions if
376 inlined images are enabled.
378 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
379 definitions for 'image-with-desc, 'image, and 'image-link.
380 (muse-docbook-markup-paragraph): If an inlined image begins a
381 paragraph, insert <para> before it.
382 (muse-docbook-fixup-images): New function that upper-cases the
383 "format" attribute of the <imagedata> tag.
384 (muse-docbook-finalize-buffer): Call it.
386 * lisp/muse-html.el (muse-html-markup-strings): Publish images
387 with descriptions as centered tables, with a centered caption
388 underneath. The resulting look is consistent with the way that
389 they are published in the LaTeX style. Thanks to Jody Klymak for
391 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
392 valid way to center a table.
393 (muse-html-markup-paragraph): Use class="image" instead of
394 "image-link" for paragraphs that start with an embedded image.
396 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
397 \textbackslash{} for "\". Thanks to Jim Ottaway for the
399 (muse-latex-markup-specials-image): New option that enables
400 escaping of specials in images. This was split from the URL
402 (muse-latex-decide-specials): Handle 'image context.
403 (muse-latex-fixup-dquotes): Go to beginning of document, instead
404 of relying on caller to do this for us.
406 * lisp/muse-publish.el (muse-publish-escape-specials): Document
408 (muse-publish-url): Use 'image context for images. Use 'image
409 instead of 'image-link and 'image-link in place of
410 'url-with-image. Separate the image file from its extension so
411 that docbook and texinfo can publish images correctly.
412 (muse-publish-markup-link): Don't force a description if one is
413 not given. This fixes a bug where images without descriptions
414 were being published as 'image-with-desc instead of 'image.
416 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
417 images the same as URLs.
418 (muse-texinfo-markup-strings): Improve image markup to achieve an
419 effect similar to that of the LaTeX publishing style. Simplify
422 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
424 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
425 when we have to use the custom version of this function.
427 * muse.texi (Images): Explain how to toggle inlining of images and
428 give better examples. Mention captions and that captioned images
429 should not be used inside of text paragraphs.
430 (Markup Strings): Bring up-to-date with the changes made since
433 2006-08-06 Michael Olson <mwolson@gnu.org>
435 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
436 in the Emacs source tree.
438 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
439 in the Emacs source tree.
441 * ChangeLog.3: New file created from the old ChangeLog.
443 * Makefile.defs (VERSION): Set to 3.02.91.
445 * NEWS: Update through patch-84.
447 * lisp/muse.el (muse-version): Set to 3.02.91.
449 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
451 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
452 delimiter are instead of hard-coding it.
454 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
455 (muse-mode): Make filling definition lists work better. This
458 * lisp/muse-publish.el (muse-style-run-hooks): Use
459 `muse-style-element' instead of `muse-get-keyword' here. This
462 * muse.texi: Set version to 3.02.91 (3.02 RC2).
464 See ChangeLog.3 for earlier changes.