1 2008-11-23 Michael Olson <mwolson@gnu.org>
3 * examples/ikiwiki/IkiWiki/Plugin/muse.pm: Loop in Muse closer to
4 the beginning of the publishing process, so that other
5 HTML-producing Ikiwiki plugins can do their thing after we are
6 done with the document. Otherwise, we would end up escaping their
7 HTML. Detect Muse-style directives. Treat #tag, #tags, and
8 #category directives like an Ikiwiki tag directive. Treat every
9 other directive as an Ikiwiki meta directive.
11 * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Honor the
12 muse-no-paragraph property. Use muse-end-list as the property
13 name rather than end-list.
15 * lisp/muse-html.el (muse-html-markup-paragraph): Honor the
16 muse-no-paragraph property. Use muse-end-list as the property
17 name rather than end-list.
19 * lisp/muse-ikiwiki.el (muse-ikiwiki-markup-regexps)
20 (muse-ikiwiki-markup-directive): Pass through Ikiwiki directives
21 during publishing without modifying them.
23 * lisp/muse-xml.el (muse-xml-markup-paragraph): Honor the
24 muse-no-paragraph property. Use muse-end-list as the property
25 name rather than end-list.
27 * lisp/muse.el (muse-forward-paragraph, muse-forward-list-item):
28 Use muse-end-list as the property name rather than end-list.
30 2008-11-01 Michael Olson <mwolson@gnu.org>
32 * examples/ikiwiki/IkiWiki/Plugin/muse.pm (import): Add hook for
34 (getsetup): New function that provides info about this plugin.
36 * lisp/muse-colors.el (muse-unhighlight-region): Reset
37 muse-no-flyspell property.
39 * lisp/muse-ikiwiki.el (muse-colors-ikiwiki-directive): Fix some
40 logic errors with quote detection. Remove flyspell overlays and
41 set a property to inhibit them.
43 * lisp/muse-mode.el (muse-mode-flyspell-p): Don't highlight at
44 point if muse-no-flyspell property present.
46 2008-10-30 Michael Olson <mwolson@gnu.org>
48 * lisp/muse-ikiwiki.el (muse-ikiwiki-directive): New face for
49 coloring Ikiwiki directives.
50 (muse-colors-ikiwiki-directive): Colorize ikiwiki directives.
51 (muse-ikiwiki-insinuate-colors): Stuff to do when both
52 muse-ikiwiki and muse-colors are loaded.
54 * lisp/muse-wiki.el: Move some code out of eval-after-load
57 2008-10-13 Michael Olson <mwolson@gnu.org>
59 * lisp/muse-colors.el (muse-colors-regexp, muse-colors-vector):
61 (muse-colors-highlighting-registry)
62 (muse-colors-make-highlighting-struct)
63 (muse-colors-highlighting.regexp, muse-colors-highlighting.vector)
64 (muse-colors-highlighting.remaining)
65 (muse-colors-highlighting-entry)
66 (muse-colors-find-highlighting, muse-colors-define-highlighting):
67 New scheme for separating highlighting rules according to
69 (muse-configure-highlighting, muse-use-font-lock): Use
70 muse-colors-define-highlighting.
71 (muse-colors-region): Permit the vector to contain more than one
72 rule. Handle case where we have rules that are not in the vector
73 and do not have the same function handler. Make sure that the
74 match data exactly corresponds to the regexp that goes with the
76 (muse-colors-custom-tags, muse-colors-explicit-link): No need to
77 explicitly call `looking-at', because the match data will be
79 (muse-colors-implicit-link): Use match-string 0 instead of
80 match-string 1, now that the match data is accurate.
82 * lisp/muse-wiki.el (muse-wiki-update-project-file-regexp)
83 (muse-wiki-wikiword-regexp): Call muse-colors-define-highlighting.
84 (muse-wiki-update-interwiki-regexp): Only update the highlighting
85 if the value has changed.
87 2008-10-12 Michael Olson <mwolson@gnu.org>
89 * lisp/muse.el (muse-write-file): Make nomessage argument
92 2008-10-09 Michael Olson <mwolson@gnu.org>
94 * examples/ikiwiki/IkiWiki/Plugin/muse.pm: Move here from
95 examples/ikiwiki/muse. Encode/decode UTF-8 properly. Take pains
96 to remove the temp file. Die on errors. Remove test sub.
98 * examples/ikiwiki/muse-init-project.el: Remove server stuff.
100 * lisp/muse-ikiwiki.el (muse-ikiwiki-publish-file): Set
101 font-lock-verbose to nil to avoid spurious messages when
102 publishing. Silence the "Wrote file" message.
104 * lisp/muse-publish.el (muse-batch-publish-files): Set
105 font-lock-verbose to nil to avoid spurious messages when
108 * lisp/muse.el (muse-write-file): Take NOMESSAGE argument.
110 * texi/muse.texi (Ikiwiki): Add instructions for using
111 IkiWiki::Plugin::muse.
113 2008-09-30 Clinton Ebadi <clinton@unknownlamer.org>
115 * muse-latex2png (muse-latex2png): Use call-process rather than
116 shell-command-to-string, so that filenames with spaces in them are
119 2008-09-28 Michael Olson <mwolson@gnu.org>
121 * lisp/muse-publish.el (muse-publish-this-file): Handle style
122 arguments that are strings.
124 2008-09-18 Michael Olson <mwolson@gnu.org>
126 * lisp/muse-publish.el (muse-publish-markup): Do not skip past the
127 beginning of the buffer even if the first character is read-only.
128 This fixes a bug where the first paragraph would not be published
129 properly if it started with a link.
131 2008-09-17 Michael Olson <mwolson@gnu.org>
133 * lisp/muse-project.el (muse-project-alist-styles): If output
134 directory is a remote path, do not try to expand it. This fixes a
135 bug where Tramp could be invoked during startup if this function
136 is used in the definition of muse-project-alist.
138 2008-09-13 Wang Diancheng <dianchengwang@gmail.com>
140 * lisp/muse-publish.el (muse-publish-markup-regexps): Use
141 muse-table-el-line-regexp.
143 * lisp/muse-regexps.el (muse-table-el-line-regexp): New regexp
144 that represents lines in table.el style tables.
146 2008-08-07 Michael Olson <mwolson@gnu.org>
148 * lisp/muse-latex.el (muse-latex-slide-tag): Mark all frames as
149 fragile, so that <example> works. This may be slower, but it is
150 always correct, and requires no additional work on my end.
152 * lisp/muse-project.el (muse-project-publish-this-file): Correctly
153 pass style to muse-publish-this-file. This fixes a bug when using
154 C-c C-v on a file not part of any project.
156 2008-07-28 Michael Olson <mwolson@gnu.org>
158 * examples/ikiwiki/muse: New file that provides a plugin for
159 Ikiwiki that allows it to publish Muse files.
161 * examples/ikiwiki/muse-init-project.el: Sample Muse init file
162 that provides project-aware publishing of single files for
165 * examples/ikiwiki/muse-init-simple.el: Sample Muse init file that
166 provides basic single-file publishing support for Ikiwiki.
168 * texi/muse.texi (Ikiwiki): Finish documenting Ikiwiki support.
170 2008-07-22 Michael Olson <mwolson@gnu.org>
172 * lisp/muse-latex.el (muse-latex-pdf-program): New option that
173 determines the program to use when browsing a PDF file.
174 (muse-latex-pdf-browse-file): Use it.
176 * lisp/muse-mode.el (muse-browse-result): Support styles that use
177 an output suffix, such as PDF.
179 * texi/muse.texi (LaTeX): Document muse-latex-pdf-browser.
181 2008-07-21 Michael Olson <mwolson@gnu.org>
183 * lisp/muse-html.el (muse-html-src-allowed-modes): Docfix.
185 * lisp/muse-ikiwiki.el: New file that supports integration with
188 * texi/muse.texi (Ikiwiki): Document new options and style.
190 2008-07-20 Michael Olson <mwolson@gnu.org>
192 * lisp/muse-mode.el (muse-browse-result): Publish page before
193 viewing it. This addresses Bug #5172.
195 * lisp/muse-project.el (muse-project-publish-this-file): Accept a
196 new STYLE argument to specify which publishing style to use.
198 2008-07-09 Michael Olson <mwolson@gnu.org>
200 * lisp/muse-latex.el (muse-latex-slide-tag): Make sure tags inside
201 of a <slide> tag get published. Thanks to Philipp Grau for the
204 2008-05-18 Michael Olson <mwolson@gnu.org>
206 * texi/muse.texi (Tag Summary): Document the <div> tag.
208 2008-05-18 Alex Ott <alexott@gmail.com>
210 * lisp/muse-html.el (muse-html-div-tag): New function which
211 publishes a <div> tag.
212 (muse-html-markup-tags): Add entry for "div".
214 * lisp/muse-publish.el (muse-publish-markup-tags): Add entry for
216 (muse-publish-div-tag): By default, ignore <div> tags.
218 2008-04-16 Michael Olson <mwolson@gnu.org>
220 * Makefile.defs.default (DEBNAME, LASTUPLOAD, BUILDOPTS)
221 (DISTRIBUTOR): Remove obsolete variables.
223 * Makefile (debclean, debprepare, debbuild, debinstall, deb):
224 Remove obsolete targets.
226 2008-03-31 Michael Olson <mwolson@gnu.org>
228 * lisp/muse-colors.el (muse-make-faces-default): Improve docstring
229 for muse-header-{1-3} faces.
231 2008-03-26 Michael Olson <mwolson@gnu.org>
233 * lisp/muse-project.el (muse-project-publish-this-file): Make sure
234 that we follow the same rules as muse-project-publish-file,
235 including creating the publishing directory if it does not exist.
236 Thanks to Peter Jones for the report and initial patch.
238 2008-03-25 Michael Olson <mwolson@gnu.org>
240 * lisp/muse-project.el (muse-current-project-global): New variable
241 that saves the value of muse-current-project across temporary
242 buffers when publishing.
243 (muse-project-publish-this-file, muse-project-publish): Save
244 muse-current-project.
245 (muse-project-save-buffers): Save the current buffer, so that this
246 does not throw off publishing.
247 (muse-project-set-variables): Set muse-current-project if it is
248 nil and there is a saved value for it. Thanks to Peter Jones for
251 * lisp/muse-publish.el (muse-batch-publishing-p)
252 (muse-publishing-p): Docfix.
253 (muse-inhibit-before-publish-hook): New variable that indicates
254 whether muse-before-publish-hook should be inhibited.
255 (muse-publish-markup-buffer): Use it.
256 (muse-publish-file): Call muse-before-publish-hook here, so that
257 we can run it before checking for file-local variables, since
258 values set by the latter should overlay values set by the former.
259 Bind muse-inhibit-before-publish-hook to t so that we do not call
262 2008-03-16 Michael Olson <mwolson@gnu.org>
264 * lisp/muse-journal.el (muse-journal-html-munge-buffer)
265 (muse-journal-latex-munge-buffer, muse-journal-rss-munge-buffer):
266 Use nil instead of current-time-zone to fix a bug where dates
267 could be interpreted incorrectly. We don't allow the user to
268 specify the hour or minute, so it does not make sense to take the
269 current time zone into account. Thanks to Xin Shi for the report.
271 * lisp/muse-publish.el (muse-publish-markup): When point is on a
272 read-only character, skip to the next non-read-only character.
273 This works around a weird edge case with the table-el rule, and
274 seems like a good thing to do in general. Thanks to Suno Ano for
276 (muse-publish-table-el-table): Only proceed with table generation
277 if we have located a non-read-only "|" character.
279 2008-02-23 Michael Olson <mwolson@gnu.org>
281 * lisp/muse-wiki.el (muse-wiki-project-files-with-spaces): Fix
284 2008-02-22 Michael Olson <mwolson@gnu.org>
286 * lisp/muse-project.el (muse-read-project-file): Delete duplicates
287 before calling muse-completing-read-function, since
288 ido-completing-read does not do this.
290 * lisp/muse.el (muse-delete-dups): New compatibility function.
292 2008-02-19 Michael Olson <mwolson@gnu.org>
294 * lisp/muse-html.el (muse-html-src-allowed-modes): New option that
295 specifies the modes that we permit the <src> tag to colorize.
296 (muse-html-src-tag): Use it. Use intern-soft instead of intern.
298 * lisp/muse-latex2png.el (muse-publish-latex-tag)
299 (muse-publish-math-tag):
300 * lisp/muse-poem.el (muse-poem-markup-tag):
301 * lisp/muse-publish.el (muse-publish-literal-tag)
302 (muse-publish-lisp-tag, muse-publish-command-tag)
303 (muse-publish-perl-tag, muse-publish-php-tag)
304 (muse-publish-python-tag, muse-publish-ruby-tag)
305 (muse-publish-include-tag, muse-publish-mark-up-tag): Mark these
306 tags as potentially dangerous for text written by untrusted
309 * lisp/muse-publish.el (muse-publish-mark-up-tag): Use intern-soft
311 (muse-publish-enable-dangerous-tags): New option that determines
312 whether to publish tags that can call external programs or expose
313 sensitive information. This is useful to set to nil for
314 publishing files from untrusted sources.
316 2008-02-10 Michael Olson <mwolson@gnu.org>
318 * lisp/muse-publish.el (muse-publish-enable-local-variables): New
319 option that determines whether to interpret local variables when
320 publishing. The default is not to do so.
321 (muse-publish-file): Interpret local variables if the user wants
322 this. Thanks to Sebastian Tennant for the idea.
324 * texi/muse.texi (Extending Muse): Flatten nodes by removing
325 Common Elements and grouping its subsections under this chapter.
326 (Style Elements): Use @defun. Fix arguments to muse-define-style.
327 Thanks to Sebastian Tennant for the report. Explain the arguments
328 of the function for :final.
329 (Deriving Styles): Use @defun. Fix argument names.
330 (Embedded Lisp): Drop mention of this being the only tag allowed
331 in headers and footers. Thanks to Phillip Lord for the
333 (Tag Summary): Mention muse-publish-markup-header-footer-tags.
335 2008-02-02 Michael Olson <mwolson@gnu.org>
337 * Makefile.defs.default (INFODIR): Place files in .../share/info,
338 rather than .../info. Thanks to gour for the suggestion.
340 2008-01-29 Michael Olson <mwolson@gnu.org>
342 * lisp/muse.el (muse-insert-file-contents): Fix bug where end of
343 line conversion was not happening on Windows. Thanks to Sacha
346 2008-01-28 Michael Olson <mwolson@gnu.org>
348 * Release Emacs Muse 3.12.
352 * Update copyright years.
354 * examples/mwolson: Update init file, stylesheets, and templates.
356 * etc/muse.rnc: Add support for the <br> tag. Don't allow <cite>
357 tags inside of format elements.
359 * lisp/muse-groff.el (muse-groff-markup-strings)
360 * lisp/muse-html.el (muse-html-markup-strings)
361 (muse-xhtml-markup-strings):
362 * lisp/muse-latex.el (muse-latex-markup-strings)
363 * lisp/muse-texinfo.el (muse-texinfo-markup-strings)
364 * lisp/muse-xml.el (muse-xml-markup-strings): Add markup string
367 * lisp/muse-project.el (muse-project-of-file): Fix bug where
368 directory names without slashes in projects were not being
369 recognized. Thanks to Mirko Vukovic and ktneely for the report.
371 2008-01-23 Michael Olson <mwolson@gnu.org>
373 * lisp/muse-latex.el (muse-latex-header)
374 (muse-latex-slides-header, muse-latex-lecture-notes-header):
375 Default to using UTF-8, rather than latin1.
377 * lisp/muse-publish.el (muse-publish-url): Add comments. Move
378 target detection higher. Use unescaped description for image
379 links, so that they don't get erroneously escaped. Thanks to Suno
382 2008-01-15 Michael Olson <mwolson@gnu.org>
384 * Makefile.defs.default (DESTDIR): New variable which allows the
385 destination directory to be easily set. Thanks to gour for the
387 (ELISPDIR, INFODIR): Use it.
389 * README (Compilation): Don't mention PREFIX, ELISPDIR, and
391 (Installation): Mention DESTDIR and PREFIX.
393 * texi/muse.texi: Update copyright year.
394 (Installation): Don't mention PREFIX, ELISPDIR, and INFODIR in the
395 compilation step. Do mention DESTDIR and PREFIX in the
398 2008-01-06 Michael Olson <mwolson@gnu.org>
400 * lisp/muse.el (muse-with-temp-buffer): Don't keep track of undo
401 information. Update documentation.
404 See ChangeLog.4 for earlier changes.