Use our own safer variant of file-name-sans-extension
[muse-el.git] / ChangeLog
blobffd35dacb55aec1af31f4bb05fe516f1d005dd51
1 2006-09-11  Michael Olson  <mwolson@gnu.org>
3         * lisp/muse.el (muse-path-sans-extension): New function that acts
4         like file-name-sans-extension, but guarantees to never modify the
5         directory part of the path.  Thanks to Evan Monroig for
6         investigating this.
8         * lisp/muse-book.el (muse-book-publish-project): Use
9         muse-path-sans-extension instead of file-name-sans-extension.
11         * lisp/muse-publish.el (muse-publish-file, muse-publish-url):
12         Ditto.
14 2006-08-30  Michael Olson  <mwolson@gnu.org>
16         * muse.texi (Blosxom Requirements): Fix typo.
18         * contrib/pyblosxom/getstamps.py (recurse): Ignore metadata
19         directories for bzr and darcs.
21         * contrib/pyblosxom/make-blog, contrib/pyblosxom/hardcodedates.py:
22         contrib/pyblosxom/getstamps.py: Update version and headers.
24 2006-08-27  Michael Olson  <mwolson@gnu.org>
26         * lisp/muse-colors.el (muse-configure-highlighting): Prune out any
27         nil values before they get to mapconcat.  This fixes a lockup when
28         muse-wiki-match-all-project-files is nil.
30         * lisp/muse-wiki.el (muse-wiki-match-all-project-files)
31         (muse-wiki-ignore-implicit-links-to-current-page)
32         (muse-wiki-interwiki-regexp, muse-wiki-interwiki-alist)
33         (muse-wiki-resolve-project-page, muse-wiki-handle-interwiki)
34         (muse-wiki-publish-small-title-words)
35         (muse-wiki-publish-pretty-title): Docfix.
36         (muse-wiki-update-local-wikiword-regexp): Rename from
37         muse-wiki-update-local-wikiword-regexp.  Set
38         muse-wiki-project-file-regexp instead of
39         muse-wiki-wikiword-regexp, as suggested by Per Sederberg.  Don't
40         take muse-wiki-use-wikiword into account, since this is a
41         different concept now.
42         (muse-wiki-update-wikiword-regexp): Remove.
43         (muse-wiki-wikiword-regexp): In-line the :set function.
44         (muse-wiki-handle-wikiword): Use muse-wiki-project-file-regexp.
46 2006-08-26  Michael Olson  <mwolson@gnu.org>
48         * lisp/muse-publish.el (muse-publish-surround-text): When looking
49         for indented list items, ignore blank lines.
51         * lisp/muse-wiki.el (muse-wiki-update-local-wikiword-regexp)
52         (muse-wiki-update-interwiki-regexp): Use regexp-opt instead of
53         mapconcat.  This should hopefully fix a problem with large amounts
54         of files with spaces in their name.  Thanks to Greg Detre for the
55         report.
57 2006-08-24  Michael Olson  <mwolson@gnu.org>
59         * lisp/muse-blosxom.el (muse-blosxom-new-entry): Remove the
60         numbers from the argument to format-time-string.  This fixes an
61         XEmacs bug.  Thanks to Michael Welle for the report and analysis.
63 2006-08-18  Michael Olson  <mwolson@gnu.org>
65         * lisp/muse-project.el (muse-project-file-entries): Since we are
66         given a full path, match against the filename as well.  This fixes
67         an issue where backup files were being added to the file alist.
69         * lisp/muse-docbook.el (muse-docbook-markup-regexps): Apply a fix
70         from muse-html.el.
72 2006-08-12  Michael Olson  <mwolson@gnu.org>
74         * Makefile (.PHONY): Don't use line continuations.
75         (realclean fullclean): Call realclean in subdirs, not distclean.
76         (distclean): Don't call realclean, since this would wipe out our
77         autoloads file.
78         (dist): Use correct path to autoloads file.
80         * NEWS: Catch up with the latest changes.
82         * experimental/Makefile (.PHONY): Wrap long line.
84         * lisp/Makefile (distclean): Do the same thing as "clean", not
85         "realclean".
87         * lisp/muse-project.el (muse-project-get-applicable-style):
88         Indentation tweak.
89         (muse-project-ignore-regexp, muse-project-recurse-directory):
90         Docfix.
91         (muse-project-of-file): Try the ignored files regexp against the
92         base filename as well as the entire path.
94         * lisp/muse-publish.el (muse-publish-this-file): Display message
95         if the buffer is not associated with any file, so that we avoid
96         errors later on.
97         (muse-publish-url-desc): New function taken from muse-publish-url
98         that causes a URL description to be transformed.
99         (muse-publish-url): Call muse-publish-url-desc on either the
100         description or the original URL if it will be used as a
101         description.  Accept the original URL as an argument, in case it
102         was transformed earlier.
103         (muse-publish-insert-url): Pass original URL as an argument.
104         (muse-publish-markup-link): Make this somewhat easier to follow.
105         Pass original URL as argument.
106         (muse-publish-get-style): If the same style is used to publish to
107         two different directories, prompt the user for which directory to
108         use.
109         (muse-publish-markup-header-footer-tags): Sync lisp tag with the
110         latest changes.
111         (muse-publish-markup-url): Pass original URL as an argument.  This
112         fixes the "nil" description for bare URLs that was in 3.02.91.
113         Nothing like finding a bug just after completing the announcement
114         of a release.
116         * lisp/muse.el: Use defalias whenever convenient.
117         (muse-version): Set version to 3.02.92 (3.03 RC2).
119 2006-08-10  Michael Olson  <mwolson@gnu.org>
121         * lisp/muse-html.el (muse-html-finalize-buffer): Since the html
122         style does not derive from any other class, return `t' here.
123         This, along with the corresponding change to muse-publish.el,
124         fixes a problem with the table of contents getting inserted
125         multiple times for custom html-based styles.
126         (muse-html-markup-strings, muse-xhtml-markup-strings): Use a
127         smarter method for table centering that works with XHTML.
129         * lisp/muse-latex2png.el Rename all functions to have a
130         "muse-latex2png" prefix.  Turn all variables into customizable
131         options in the muse-latex2png group.
132         (muse-latex2png-img-dest): New option specifying where to place
133         the images.
134         (muse-latex2png-template): New option containing the template to
135         use for the surrounding LaTeX code.
136         (muse-latex2png-use-xhtml): New option that toggles strict XHTML
137         compliance.
138         (muse-latex2png-move2pubdir): Avoid multiple redundant error
139         messages when something else goes wrong.  Create the image
140         subdirectory if it doesn't exist already -- thanks to Christian
141         Straßer for the report.  Expand the filename properly.
142         (muse-publish-latex-tag, muse-latex2png): Ditto on error messages
143         and filename expansion.
144         (muse-latex2png): Use the "muse-latex2png" prefix by default.  Set
145         the default directory properly.
147         * lisp/muse-publish.el (muse-style-run-hooks): Make sure that we
148         do not run the same function twice.
150 2006-08-08  Michael Olson  <mwolson@gnu.org>
152         * lisp/muse-colors.el (muse-colors-explicit-link): Fix recently
153         introduced wrong-type-argument error.
155         * lisp/muse-html.el (muse-html-markup-strings)
156         (muse-xhtml-markup-string): Cause table definition that contains
157         image to be center-aligned.  This should fix an issue with images
158         not being centered when captions are very long.
160         * lisp/muse-publish.el (muse-publish-table-fields): Trim
161         whitespace from fields once we have split them up.
163         * lisp/muse.el (muse-trim-whitespace): New function that strips
164         leading and trailing whitespace from a string.
166 2006-08-07  Michael Olson  <mwolson@gnu.org>
168         * NEWS: Update through patch-95.
170         * lisp/muse-colors.el (muse-colors-lisp-tag): Use a simpler regexp
171         to match the tags.
172         (muse-colors-explicit-link): Show images in link descriptions if
173         inlined images are enabled.
175         * lisp/muse-docbook.el (muse-docbook-markup-strings): Add
176         definitions for 'image-with-desc, 'image, and 'image-link.
177         (muse-docbook-markup-paragraph): If an inlined image begins a
178         paragraph, insert <para> before it.
179         (muse-docbook-fixup-images): New function that upper-cases the
180         "format" attribute of the <imagedata> tag.
181         (muse-docbook-finalize-buffer): Call it.
183         * lisp/muse-html.el (muse-html-markup-strings): Publish images
184         with descriptions as centered tables, with a centered caption
185         underneath.  The resulting look is consistent with the way that
186         they are published in the LaTeX style.  Thanks to Jody Klymak for
187         the suggestion.
188         (muse-xhtml-markup-strings): Ditto, but XHTML apparently has no
189         valid way to center a table.
190         (muse-html-markup-paragraph): Use class="image" instead of
191         "image-link" for paragraphs that start with an embedded image.
193         * lisp/muse-latex.el (muse-latex-markup-specials-url): Use
194         \textbackslash{} for "\".  Thanks to Jim Ottaway for the
195         suggestion.
196         (muse-latex-markup-specials-image): New option that enables
197         escaping of specials in images.  This was split from the URL
198         specials.
199         (muse-latex-decide-specials): Handle 'image context.
200         (muse-latex-fixup-dquotes): Go to beginning of document, instead
201         of relying on caller to do this for us.
203         * lisp/muse-publish.el (muse-publish-escape-specials): Document
204         'image context.
205         (muse-publish-url): Use 'image context for images.  Use 'image
206         instead of 'image-link and 'image-link in place of
207         'url-with-image.  Separate the image file from its extension so
208         that docbook and texinfo can publish images correctly.
209         (muse-publish-markup-link): Don't force a description if one is
210         not given.  This fixes a bug where images without descriptions
211         were being published as 'image-with-desc instead of 'image.
213         * lisp/muse-texinfo.el (muse-texinfo-decide-specials): Treat
214         images the same as URLs.
215         (muse-texinfo-markup-strings): Improve image markup to achieve an
216         effect similar to that of the LaTeX publishing style.  Simplify
217         'url string.
219         * lisp/muse-xml-common.el (muse-xml-decide-specials): Ditto.
221         * lisp/muse.el (muse-replace-regexp-in-string): Save match data
222         when we have to use the custom version of this function.
224         * muse.texi (Images): Explain how to toggle inlining of images and
225         give better examples.  Mention captions and that captioned images
226         should not be used inside of text paragraphs.
227         (Markup Strings): Bring up-to-date with the changes made since
228         3.02.
230 2006-08-06  Michael Olson  <mwolson@gnu.org>
232         * ChangeLog.1: Rename from ChangeLog.2004 to comply with standards
233         in the Emacs source tree.
235         * ChangeLog.2: Rename from ChangeLog.2005 to comply with standards
236         in the Emacs source tree.
238         * ChangeLog.3: New file created from the old ChangeLog.
240         * Makefile.defs (VERSION): Set to 3.02.91.
242         * NEWS: Update through patch-84.
244         * lisp/muse.el (muse-version): Set to 3.02.91.
246         * lisp/muse-colors.el (muse-colors-tags): Allow <lisp> to take
247         attributes.
248         (muse-colors-lisp-tag): Figure out where the <lisp> tag and its
249         delimiter are instead of hard-coding it.
251         * lisp/muse-mode.el (muse-insert-thing): Qualify "tag".
252         (muse-mode): Make filling definition lists work better.  This
253         should fix #5359.
255         * lisp/muse-publish.el (muse-style-run-hooks): Use
256         `muse-style-element' instead of `muse-get-keyword' here.  This
257         should fix #6399.
259         * muse.texi: Set version to 3.02.91 (3.02 RC2).
261 See ChangeLog.3 for earlier changes.
263 ;; Local Variables:
264 ;; coding: utf-8
265 ;; End: