1 2006-10-15 Michael Olson <mwolson@gnu.org>
3 * lisp/muse-groff.el (muse-groff-markup-tags): Adapt for nested
6 * lisp/muse-html.el (muse-html-markup-tags): Ditto.
8 * lisp/muse-journal.el (muse-journal-latex-markup-tags): Ditto.
10 * lisp/muse-latex2png.el (muse-publish-markup-tags): Ditto.
12 * lisp/muse-poem.el (muse-poem-tag): Ditto.
14 * lisp/muse-publish.el (muse-publish-markup-tags)
15 (muse-publish-markup-header-footer-tags): Shift 4th element to 5th
16 element and make 4th element determine whether tags are nestable.
17 (muse-publish-goto-tag-end): New function that moves to the end of
18 a tag. Handle nested tags when NESTED is non-nil.
19 (muse-publish-markup-tag): Call muse-publish-goto-tag-end. Use
20 5th element for function.
21 (muse-publish-quote-tag): Handle nested quote tags. I've tested
22 this on several scenarios, and it seems to work.
24 * muse.texi (Markup Tags): Mention nestable tags.
26 2006-10-10 Michael Olson <mwolson@gnu.org>
28 * NEWS: Update for 3.02.7 bugfix release.
30 2006-09-26 Michael Olson <mwolson@gnu.org>
32 * lisp/muse-colors.el (muse-use-font-lock): Don't quote
33 beginning-of-line. This should fix a bug that was noticed in
34 recent Emacs 22 builds.
36 * lisp/muse-backlink.el: Wrap muse-backlink-split-string in an
37 eval-and-compile block to avoid a compiler warning.
39 2006-09-25 Jim Ottaway <j.ottaway@lse.ac.uk>
41 * lisp/muse-backlink.el (muse-backlink-split-string):
42 Compatibility with Emacs versions < 22
43 (muse-backlink-pending): New internal variable
44 (muse-backlink-get-mode-hook): Find the major mode hook to use, so
45 that backlinks are inserted at the right time.
46 (muse-backlink-insert-hook-func): Remove unwind-protection; check
47 for pending backlink, and that this is the targe page.
48 (muse-backlink-handle-link): Don’t handle the link if we are
49 already handling one. Return the link as well as the parent links.
51 2006-09-25 Sasha Kovar <sasha@arcocene.org>
53 * lisp/muse-blosxom.el (muse-blosxom-new-entry): : Fix for bug
54 #6942 - muse-blosxom-new-entry fails when using tags.
56 2006-09-14 Michael Olson <mwolson@gnu.org>
58 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): Silence
61 2006-09-14 Jim Ottaway <j.ottaway@lse.ac.uk>
63 * lisp/muse-texinfo.el (muse-texinfo-protect-wikiwords): New
64 function: Protect all wikiwords from START to END from further
66 (muse-texinfo-markup-heading): Use muse-texinfo-protect-wikiwords.
68 2006-09-13 Michael Olson <mwolson@gnu.org>
70 * lisp/muse-texinfo.el (muse-texinfo-markup-heading): New function
71 adopted from Jim Ottaway's patch. It removes links from the
72 heading, and then marks the region read-only to inhibit WikiWord
75 2006-09-13 Jim Ottaway <j.ottaway@lse.ac.uk>
77 * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add
78 special handling for headings.
79 (muse-texinfo-remove-links): New function that removes explicit
80 links from the given strings, replacing them with a description.
82 2006-09-11 Michael Olson <mwolson@gnu.org>
84 * muse.texi (Getting Help and Reporting Bugs): Mention the
85 muse-el-internationalization mailing list.
87 * lisp/muse.el (muse-path-sans-extension): New function that acts
88 like file-name-sans-extension, but guarantees to never modify the
89 directory part of the path. Thanks to Evan Monroig for
92 * lisp/muse-book.el (muse-book-publish-project): Use
93 muse-path-sans-extension instead of file-name-sans-extension.
95 * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
98 2006-08-30 Michael Olson <mwolson@gnu.org>
100 * muse.texi (Blosxom Requirements): Fix typo.
102 * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
103 directories for bzr and darcs.
105 * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
106 contrib/pyblosxom/getstamps.py: Update version and headers.
108 2006-08-27 Michael Olson <mwolson@gnu.org>
110 * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
111 nil values before they get to mapconcat. This fixes a lockup when
112 muse-wiki-match-all-project-files is nil.
114 * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
115 (muse-wiki-ignore-implicit-links-to-current-page)
116 (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
117 (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
118 (muse-wiki-publish-small-title-words)
119 (muse-wiki-publish-pretty-title): Docfix.
120 (muse-wiki-update-local-wikiword-regexp): Rename from
121 muse-wiki-update-local-wikiword-regexp. Set
122 muse-wiki-project-file-regexp instead of
123 muse-wiki-wikiword-regexp, as suggested by Per Sederberg. Don't
124 take muse-wiki-use-wikiword into account, since this is a
125 different concept now.
126 (muse-wiki-update-wikiword-regexp): Remove.
127 (muse-wiki-wikiword-regexp): In-line the :set function.
128 (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
130 2006-08-26 Michael Olson <mwolson@gnu.org>
132 * lisp/muse-publish.el (muse-publish-surround-text): When looking
133 for indented list items, ignore blank lines.
135 * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
136 (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
137 mapconcat. This should hopefully fix a problem with large amounts
138 of files with spaces in their name. Thanks to Greg Detre for the
141 2006-08-24 Michael Olson <mwolson@gnu.org>
143 * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
144 numbers from the argument to format-time-string. This fixes an
145 XEmacs bug. Thanks to Michael Welle for the report and analysis.
147 2006-08-18 Michael Olson <mwolson@gnu.org>
149 * lisp/muse-project.el (muse-project-file-entries): Since we are
150 given a full path, match against the filename as well. This fixes
151 an issue where backup files were being added to the file alist.
153 * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
156 2006-08-12 Michael Olson <mwolson@gnu.org>
158 * Makefile (.PHONY): Don't use line continuations.
159 (realclean fullclean): Call realclean in subdirs, not distclean.
160 (distclean): Don't call realclean, since this would wipe out our
162 (dist): Use correct path to autoloads file.
164 * NEWS: Catch up with the latest changes.
166 * experimental/Makefile (.PHONY): Wrap long line.
168 * lisp/Makefile (distclean): Do the same thing as "clean", not
171 * lisp/muse-project.el (muse-project-get-applicable-style):
173 (muse-project-ignore-regexp, muse-project-recurse-directory):
175 (muse-project-of-file): Try the ignored files regexp against the
176 base filename as well as the entire path.
178 * lisp/muse-publish.el (muse-publish-this-file): Display message
179 if the buffer is not associated with any file, so that we avoid
181 (muse-publish-url-desc): New function taken from muse-publish-url
182 that causes a URL description to be transformed.
183 (muse-publish-url): Call muse-publish-url-desc on either the
184 description or the original URL if it will be used as a
185 description. Accept the original URL as an argument, in case it
186 was transformed earlier.
187 (muse-publish-insert-url): Pass original URL as an argument.
188 (muse-publish-markup-link): Make this somewhat easier to follow.
189 Pass original URL as argument.
190 (muse-publish-get-style): If the same style is used to publish to
191 two different directories, prompt the user for which directory to
193 (muse-publish-markup-header-footer-tags): Sync lisp tag with the
195 (muse-publish-markup-url): Pass original URL as an argument. This
196 fixes the "nil" description for bare URLs that was in 3.02.91.
197 Nothing like finding a bug just after completing the announcement
200 * lisp/muse.el: Use defalias whenever convenient.
201 (muse-version): Set version to 3.02.92 (3.03 RC2).
203 2006-08-10 Michael Olson <mwolson@gnu.org>
205 * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
206 style does not derive from any other class, return `t' here.
207 This, along with the corresponding change to muse-publish.el,
208 fixes a problem with the table of contents getting inserted
209 multiple times for custom html-based styles.
210 (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
211 smarter method for table centering that works with XHTML.
213 * lisp/muse-latex2png.el Rename all functions to have a
214 "muse-latex2png" prefix. Turn all variables into customizable
215 options in the muse-latex2png group.
216 (muse-latex2png-img-dest): New option specifying where to place
218 (muse-latex2png-template): New option containing the template to
219 use for the surrounding LaTeX code.
220 (muse-latex2png-use-xhtml): New option that toggles strict XHTML
222 (muse-latex2png-move2pubdir): Avoid multiple redundant error
223 messages when something else goes wrong. Create the image
224 subdirectory if it doesn't exist already -- thanks to Christian
225 Straßer for the report. Expand the filename properly.
226 (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
227 and filename expansion.
228 (muse-latex2png): Use the "muse-latex2png" prefix by default. Set
229 the default directory properly.
231 * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
232 do not run the same function twice.
234 2006-08-08 Michael Olson <mwolson@gnu.org>
236 * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
237 introduced wrong-type-argument error.
239 * lisp/muse-html.el (muse-html-markup-strings)
240 (muse-xhtml-markup-string): Cause table definition that contains
241 image to be center-aligned. This should fix an issue with images
242 not being centered when captions are very long.
244 * lisp/muse-publish.el (muse-publish-table-fields): Trim
245 whitespace from fields once we have split them up.
247 * lisp/muse.el (muse-trim-whitespace): New function that strips
248 leading and trailing whitespace from a string.
250 2006-08-07 Michael Olson <mwolson@gnu.org>
252 * NEWS: Update through patch-95.
254 * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
256 (muse-colors-explicit-link): Show images in link descriptions if
257 inlined images are enabled.
259 * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
260 definitions for 'image-with-desc, 'image, and 'image-link.
261 (muse-docbook-markup-paragraph): If an inlined image begins a
262 paragraph, insert <para> before it.
263 (muse-docbook-fixup-images): New function that upper-cases the
264 "format" attribute of the <imagedata> tag.
265 (muse-docbook-finalize-buffer): Call it.
267 * lisp/muse-html.el (muse-html-markup-strings): Publish images
268 with descriptions as centered tables, with a centered caption
269 underneath. The resulting look is consistent with the way that
270 they are published in the LaTeX style. Thanks to Jody Klymak for
272 (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
273 valid way to center a table.
274 (muse-html-markup-paragraph): Use class="image" instead of
275 "image-link" for paragraphs that start with an embedded image.
277 * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
278 \textbackslash{} for "\". Thanks to Jim Ottaway for the
280 (muse-latex-markup-specials-image): New option that enables
281 escaping of specials in images. This was split from the URL
283 (muse-latex-decide-specials): Handle 'image context.
284 (muse-latex-fixup-dquotes): Go to beginning of document, instead
285 of relying on caller to do this for us.
287 * lisp/muse-publish.el (muse-publish-escape-specials): Document
289 (muse-publish-url): Use 'image context for images. Use 'image
290 instead of 'image-link and 'image-link in place of
291 'url-with-image. Separate the image file from its extension so
292 that docbook and texinfo can publish images correctly.
293 (muse-publish-markup-link): Don't force a description if one is
294 not given. This fixes a bug where images without descriptions
295 were being published as 'image-with-desc instead of 'image.
297 * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
298 images the same as URLs.
299 (muse-texinfo-markup-strings): Improve image markup to achieve an
300 effect similar to that of the LaTeX publishing style. Simplify
303 * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
305 * lisp/muse.el (muse-replace-regexp-in-string): Save match data
306 when we have to use the custom version of this function.
308 * muse.texi (Images): Explain how to toggle inlining of images and
309 give better examples. Mention captions and that captioned images
310 should not be used inside of text paragraphs.
311 (Markup Strings): Bring up-to-date with the changes made since
314 2006-08-06 Michael Olson <mwolson@gnu.org>
316 * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
317 in the Emacs source tree.
319 * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
320 in the Emacs source tree.
322 * ChangeLog.3: New file created from the old ChangeLog.
324 * Makefile.defs (VERSION): Set to 3.02.91.
326 * NEWS: Update through patch-84.
328 * lisp/muse.el (muse-version): Set to 3.02.91.
330 * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
332 (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
333 delimiter are instead of hard-coding it.
335 * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
336 (muse-mode): Make filling definition lists work better. This
339 * lisp/muse-publish.el (muse-style-run-hooks): Use
340 `muse-style-element' instead of `muse-get-keyword' here. This
343 * muse.texi: Set version to 3.02.91 (3.02 RC2).
345 See ChangeLog.3 for earlier changes.