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