1 2006-10-28 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-publish.el (muse-publish-determine-dl-indent): New
4 function that is used as a callback to determine the initial
5 amount of indentation that the current dl item has.
6 (muse-publish-surround-dl): Use it. Pass the initial indent value
7 and the post-indent value, instead of trying to determine them
9 (muse-publish-strip-list-indentation): New function stripped from
10 `muse-publish-surround-text' for readability.
11 (muse-publish-surround-text): Instead of taking a determine-indent
12 value, take a determine-indent-func function, which is called just
13 after finding the next list item. If we are asked to determine
14 the amount of indentation, concatenate indent and post-indent the
15 first time around. This effectively fixes all known definition
18 2006-10-16 Michael Olson <mwolson@gnu.org>
20 * lisp/muse.el: Provide the 'muse-nested-tags feature so that
21 other software -- namely, Planner -- can detect whether they are
22 using a version of Muse that supports nested tags.
23 (muse-goto-tag-end): Moved from muse-publish.el and renamed from
24 muse-publish-goto-tag-end.
26 * lisp/muse-colors.el (muse-colors-tags, muse-colors-custom-tags):
27 Adapt for nested tags.
29 * lisp/muse-html.el (muse-html-markup-tags): Indicate that the
30 <class> tag is nestable. Thanks to Phillip Lord for noticing
33 * lisp/muse-publish.el (muse-publish-markup-tag)
34 (muse-publish-quote-tag): Use muse-goto-tag-end.
36 * lisp/muse-wiki.el ("muse-colors"): Adapt for nested tags.
38 2006-10-15 Michael Olson <mwolson@gnu.org>
40 * AUTHORS: Bookkeeping.
42 * lisp/muse-blosxom.el (muse-blosxom-header): Indent code in lisp
45 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
48 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
50 * lisp/muse-import-docbook.el (muse-import-docbook)
51 (muse-import-docbook-files): Docfix.
52 (muse-import-docbook-get-title): Remove cl.el-ism.
54 * lisp/muse-import-xml.el (muse-import-xml): Fix compiler warning.
56 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
58 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
60 * lisp/muse-mode.el (muse-previous-reference): Minor docfix.
61 (muse-next-reference, muse-previous-reference): Minor whitespace
63 (muse-mode-choose-mode): Add autoload cookie. Thanks to Leo for
66 * lisp/muse-poem.el (muse-poem-tag): Ditto.
68 * lisp/muse-publish.el (muse-publish-markup-tags)
69 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
70 element and make 4th element determine whether tags are nestable.
71 (muse-publish-goto-tag-end): New function that moves to the end of
72 a tag. Handle nested tags when NESTED is non-nil.
73 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
74 5th element for function.
75 (muse-publish-quote-tag): Handle nested quote tags. I've tested
76 this on several scenarios, and it seems to work.
77 (muse-publish-surround-text): Accept new optional argument
78 LIST-ITEM which determines the regexp to use for list items. The
79 default is to use muse-list-item-regexp.
81 * muse.texi (Markup Tags): Mention nestable tags.
83 * NEWS: Mention new files.
85 2006-10-15 Elena Pomohaci <e.pomohaci@gmail.com>
87 * lisp/muse-import-docbook.el: New file that converts Docbook XML
90 * lisp/muse-import-xml.el: New file that provides helper routines
91 for converting XML-ish files to Muse format.
93 2006-10-10 Michael Olson <mwolson@gnu.org>
95 * NEWS: Update for 3.02.7 bugfix release.
97 2006-10-06 Sasha Kovar <sasha@arcocene.org>
99 * lisp/muse-blosxom.el (muse-blosxom-header): Insert the date
100 using the value in the muse #date directive.
101 (muse-blosxom-use-metadate): New option that determines whether or
102 not to use the #postdate directive.
103 (muse-blosxom-format-date): Convert a date string to PyBlosxom
104 metadate plugin format.
106 2006-09-30 Stefan Schlee <stefan_schlee@yahoo.com>
108 * lisp/muse-protocols.el: Fix bug #6741: Exclude colon in
111 * muse.texi: Clarify handling of implicit links by mentioning
112 which characters can prevent Muse from recognizing something as an
115 2006-09-26 Stefan Schlee <stefan_schlee@yahoo.com>
117 * lisp/muse-mode.el (muse-next-reference)
118 (muse-previous-reference): Fix bug #6367 by moving point to the
119 beginning of the link.
121 2006-09-26 Michael Olson <mwolson@gnu.org>
123 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
124 beginning-of-line. This should fix a bug that was noticed in
125 recent Emacs 22 builds.
127 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
128 eval-and-compile block to avoid a compiler warning.
130 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
132 * lisp/muse-backlink.el (muse-backlink-split-string):
133 Compatibility with Emacs versions < 22
134 (muse-backlink-pending): New internal variable
135 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
136 that backlinks are inserted at the right time.
137 (muse-backlink-insert-hook-func): Remove unwind-protection; check
138 for pending backlink, and that this is the targe page.
139 (muse-backlink-handle-link): Don’t handle the link if we are
140 already handling one. Return the link as well as the parent links.
142 2006-09-25 Sasha Kovar <sasha@arcocene.org>
144 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
145 #6942 - muse-blosxom-new-entry fails when using tags.
147 2006-09-14 Michael Olson <mwolson@gnu.org>
149 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
152 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
154 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
155 function: Protect all wikiwords from START to END from further
157 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
159 2006-09-13 Michael Olson <mwolson@gnu.org>
161 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
162 adopted from Jim Ottaway's patch. It removes links from the
163 heading, and then marks the region read-only to inhibit WikiWord
166 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
168 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
169 special handling for headings.
170 (muse-texinfo-remove-links): New function that removes explicit
171 links from the given strings, replacing them with a description.
173 2006-09-11 Michael Olson <mwolson@gnu.org>
175 * muse.texi (Getting Help and Reporting Bugs): Mention the
176 muse-el-internationalization mailing list.
178 * lisp/muse.el (muse-path-sans-extension): New function that acts
179 like file-name-sans-extension, but guarantees to never modify the
180 directory part of the path. Thanks to Evan Monroig for
183 * lisp/muse-book.el (muse-book-publish-project): Use
184 muse-path-sans-extension instead of file-name-sans-extension.
186 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
189 2006-08-30 Michael Olson <mwolson@gnu.org>
191 * muse.texi (Blosxom Requirements): Fix typo.
193 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
194 directories for bzr and darcs.
196 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
197 contrib/pyblosxom/getstamps.py: Update version and headers.
199 2006-08-27 Michael Olson <mwolson@gnu.org>
201 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
202 nil values before they get to mapconcat. This fixes a lockup when
203 muse-wiki-match-all-project-files is nil.
205 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
206 (muse-wiki-ignore-implicit-links-to-current-page)
207 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
208 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
209 (muse-wiki-publish-small-title-words)
210 (muse-wiki-publish-pretty-title): Docfix.
211 (muse-wiki-update-local-wikiword-regexp): Rename from
212 muse-wiki-update-local-wikiword-regexp. Set
213 muse-wiki-project-file-regexp instead of
214 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
215 take muse-wiki-use-wikiword into account, since this is a
216 different concept now.
217 (muse-wiki-update-wikiword-regexp): Remove.
218 (muse-wiki-wikiword-regexp): In-line the :set function.
219 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
221 2006-08-26 Michael Olson <mwolson@gnu.org>
223 * lisp/muse-publish.el (muse-publish-surround-text): When looking
224 for indented list items, ignore blank lines.
226 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
227 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
228 mapconcat. This should hopefully fix a problem with large amounts
229 of files with spaces in their name. Thanks to Greg Detre for the
232 2006-08-24 Michael Olson <mwolson@gnu.org>
234 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
235 numbers from the argument to format-time-string. This fixes an
236 XEmacs bug. Thanks to Michael Welle for the report and analysis.
238 2006-08-18 Michael Olson <mwolson@gnu.org>
240 * lisp/muse-project.el (muse-project-file-entries): Since we are
241 given a full path, match against the filename as well. This fixes
242 an issue where backup files were being added to the file alist.
244 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
247 2006-08-12 Michael Olson <mwolson@gnu.org>
249 * Makefile (.PHONY): Don't use line continuations.
250 (realclean fullclean): Call realclean in subdirs, not distclean.
251 (distclean): Don't call realclean, since this would wipe out our
253 (dist): Use correct path to autoloads file.
255 * NEWS: Catch up with the latest changes.
257 * experimental/Makefile (.PHONY): Wrap long line.
259 * lisp/Makefile (distclean): Do the same thing as "clean", not
262 * lisp/muse-project.el (muse-project-get-applicable-style):
264 (muse-project-ignore-regexp, muse-project-recurse-directory):
266 (muse-project-of-file): Try the ignored files regexp against the
267 base filename as well as the entire path.
269 * lisp/muse-publish.el (muse-publish-this-file): Display message
270 if the buffer is not associated with any file, so that we avoid
272 (muse-publish-url-desc): New function taken from muse-publish-url
273 that causes a URL description to be transformed.
274 (muse-publish-url): Call muse-publish-url-desc on either the
275 description or the original URL if it will be used as a
276 description. Accept the original URL as an argument, in case it
277 was transformed earlier.
278 (muse-publish-insert-url): Pass original URL as an argument.
279 (muse-publish-markup-link): Make this somewhat easier to follow.
280 Pass original URL as argument.
281 (muse-publish-get-style): If the same style is used to publish to
282 two different directories, prompt the user for which directory to
284 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
286 (muse-publish-markup-url): Pass original URL as an argument. This
287 fixes the "nil" description for bare URLs that was in 3.02.91.
288 Nothing like finding a bug just after completing the announcement
291 * lisp/muse.el: Use defalias whenever convenient.
292 (muse-version): Set version to 3.02.92 (3.03 RC2).
294 2006-08-10 Michael Olson <mwolson@gnu.org>
296 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
297 style does not derive from any other class, return `t' here.
298 This, along with the corresponding change to muse-publish.el,
299 fixes a problem with the table of contents getting inserted
300 multiple times for custom html-based styles.
301 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
302 smarter method for table centering that works with XHTML.
304 * lisp/muse-latex2png.el Rename all functions to have a
305 "muse-latex2png" prefix. Turn all variables into customizable
306 options in the muse-latex2png group.
307 (muse-latex2png-img-dest): New option specifying where to place
309 (muse-latex2png-template): New option containing the template to
310 use for the surrounding LaTeX code.
311 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
313 (muse-latex2png-move2pubdir): Avoid multiple redundant error
314 messages when something else goes wrong. Create the image
315 subdirectory if it doesn't exist already -- thanks to Christian
316 Straßer for the report. Expand the filename properly.
317 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
318 and filename expansion.
319 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
320 the default directory properly.
322 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
323 do not run the same function twice.
325 2006-08-08 Michael Olson <mwolson@gnu.org>
327 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
328 introduced wrong-type-argument error.
330 * lisp/muse-html.el (muse-html-markup-strings)
331 (muse-xhtml-markup-string): Cause table definition that contains
332 image to be center-aligned. This should fix an issue with images
333 not being centered when captions are very long.
335 * lisp/muse-publish.el (muse-publish-table-fields): Trim
336 whitespace from fields once we have split them up.
338 * lisp/muse.el (muse-trim-whitespace): New function that strips
339 leading and trailing whitespace from a string.
341 2006-08-07 Michael Olson <mwolson@gnu.org>
343 * NEWS: Update through patch-95.
345 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
347 (muse-colors-explicit-link): Show images in link descriptions if
348 inlined images are enabled.
350 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
351 definitions for 'image-with-desc, 'image, and 'image-link.
352 (muse-docbook-markup-paragraph): If an inlined image begins a
353 paragraph, insert <para> before it.
354 (muse-docbook-fixup-images): New function that upper-cases the
355 "format" attribute of the <imagedata> tag.
356 (muse-docbook-finalize-buffer): Call it.
358 * lisp/muse-html.el (muse-html-markup-strings): Publish images
359 with descriptions as centered tables, with a centered caption
360 underneath. The resulting look is consistent with the way that
361 they are published in the LaTeX style. Thanks to Jody Klymak for
363 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
364 valid way to center a table.
365 (muse-html-markup-paragraph): Use class="image" instead of
366 "image-link" for paragraphs that start with an embedded image.
368 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
369 \textbackslash{} for "\". Thanks to Jim Ottaway for the
371 (muse-latex-markup-specials-image): New option that enables
372 escaping of specials in images. This was split from the URL
374 (muse-latex-decide-specials): Handle 'image context.
375 (muse-latex-fixup-dquotes): Go to beginning of document, instead
376 of relying on caller to do this for us.
378 * lisp/muse-publish.el (muse-publish-escape-specials): Document
380 (muse-publish-url): Use 'image context for images. Use 'image
381 instead of 'image-link and 'image-link in place of
382 'url-with-image. Separate the image file from its extension so
383 that docbook and texinfo can publish images correctly.
384 (muse-publish-markup-link): Don't force a description if one is
385 not given. This fixes a bug where images without descriptions
386 were being published as 'image-with-desc instead of 'image.
388 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
389 images the same as URLs.
390 (muse-texinfo-markup-strings): Improve image markup to achieve an
391 effect similar to that of the LaTeX publishing style. Simplify
394 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
396 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
397 when we have to use the custom version of this function.
399 * muse.texi (Images): Explain how to toggle inlining of images and
400 give better examples. Mention captions and that captioned images
401 should not be used inside of text paragraphs.
402 (Markup Strings): Bring up-to-date with the changes made since
405 2006-08-06 Michael Olson <mwolson@gnu.org>
407 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
408 in the Emacs source tree.
410 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
411 in the Emacs source tree.
413 * ChangeLog.3: New file created from the old ChangeLog.
415 * Makefile.defs (VERSION): Set to 3.02.91.
417 * NEWS: Update through patch-84.
419 * lisp/muse.el (muse-version): Set to 3.02.91.
421 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
423 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
424 delimiter are instead of hard-coding it.
426 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
427 (muse-mode): Make filling definition lists work better. This
430 * lisp/muse-publish.el (muse-style-run-hooks): Use
431 `muse-style-element' instead of `muse-get-keyword' here. This
434 * muse.texi: Set version to 3.02.91 (3.02 RC2).
436 See ChangeLog.3 for earlier changes.