Rename end-list property to muse-end-list.
[muse-el.git] / ChangeLog
blob484d29e675476718d14d0667f7cf4fbaf62eb860
1 2008-11-01  Michael Olson  <mwolson@gnu.org>
3         * examples/ikiwiki/IkiWiki/Plugin/muse.pm (import): Add hook for
4         getsetup.
5         (getsetup): New function that provides info about this plugin.
7         * lisp/muse-colors.el (muse-unhighlight-region): Reset
8         muse-no-flyspell property.
10         * lisp/muse-ikiwiki.el (muse-colors-ikiwiki-directive): Fix some
11         logic errors with quote detection.  Remove flyspell overlays and
12         set a property to inhibit them.
14         * lisp/muse-mode.el (muse-mode-flyspell-p): Don't highlight at
15         point if muse-no-flyspell property present.
17 2008-10-30  Michael Olson  <mwolson@gnu.org>
19         * lisp/muse-ikiwiki.el (muse-ikiwiki-directive): New face for
20         coloring Ikiwiki directives.
21         (muse-colors-ikiwiki-directive): Colorize ikiwiki directives.
22         (muse-ikiwiki-insinuate-colors): Stuff to do when both
23         muse-ikiwiki and muse-colors are loaded.
25         * lisp/muse-wiki.el: Move some code out of eval-after-load
26         statement.
28 2008-10-13  Michael Olson  <mwolson@gnu.org>
30         * lisp/muse-colors.el (muse-colors-regexp, muse-colors-vector):
31         Remove.
32         (muse-colors-highlighting-registry)
33         (muse-colors-make-highlighting-struct)
34         (muse-colors-highlighting.regexp, muse-colors-highlighting.vector)
35         (muse-colors-highlighting.remaining)
36         (muse-colors-highlighting-entry)
37         (muse-colors-find-highlighting, muse-colors-define-highlighting):
38         New scheme for separating highlighting rules according to
39         major-mode.
40         (muse-configure-highlighting, muse-use-font-lock): Use
41         muse-colors-define-highlighting.
42         (muse-colors-region): Permit the vector to contain more than one
43         rule.  Handle case where we have rules that are not in the vector
44         and do not have the same function handler.  Make sure that the
45         match data exactly corresponds to the regexp that goes with the
46         rule.
47         (muse-colors-custom-tags, muse-colors-explicit-link): No need to
48         explicitly call `looking-at', because the match data will be
49         correct.
50         (muse-colors-implicit-link): Use match-string 0 instead of
51         match-string 1, now that the match data is accurate.
53         * lisp/muse-wiki.el (muse-wiki-update-project-file-regexp)
54         (muse-wiki-wikiword-regexp): Call muse-colors-define-highlighting.
55         (muse-wiki-update-interwiki-regexp): Only update the highlighting
56         if the value has changed.
58 2008-10-12  Michael Olson  <mwolson@gnu.org>
60         * lisp/muse.el (muse-write-file): Make nomessage argument
61         optional.
63 2008-10-09  Michael Olson  <mwolson@gnu.org>
65         * examples/ikiwiki/IkiWiki/Plugin/muse.pm: Move here from
66         examples/ikiwiki/muse.  Encode/decode UTF-8 properly.  Take pains
67         to remove the temp file.  Die on errors.  Remove test sub.
69         * examples/ikiwiki/muse-init-project.el: Remove server stuff.
71         * lisp/muse-ikiwiki.el (muse-ikiwiki-publish-file): Set
72         font-lock-verbose to nil to avoid spurious messages when
73         publishing.  Silence the "Wrote file" message.
75         * lisp/muse-publish.el (muse-batch-publish-files): Set
76         font-lock-verbose to nil to avoid spurious messages when
77         publishing.
79         * lisp/muse.el (muse-write-file): Take NOMESSAGE argument.
81         * texi/muse.texi (Ikiwiki): Add instructions for using
82         IkiWiki::Plugin::muse.
84 2008-09-30  Clinton Ebadi  <clinton@unknownlamer.org>
86         * muse-latex2png (muse-latex2png): Use call-process rather than
87         shell-command-to-string, so that filenames with spaces in them are
88         handled correctly.
90 2008-09-28  Michael Olson  <mwolson@gnu.org>
92         * lisp/muse-publish.el (muse-publish-this-file): Handle style
93         arguments that are strings.
95 2008-09-18  Michael Olson  <mwolson@gnu.org>
97         * lisp/muse-publish.el (muse-publish-markup): Do not skip past the
98         beginning of the buffer even if the first character is read-only.
99         This fixes a bug where the first paragraph would not be published
100         properly if it started with a link.
102 2008-09-17  Michael Olson  <mwolson@gnu.org>
104         * lisp/muse-project.el (muse-project-alist-styles): If output
105         directory is a remote path, do not try to expand it.  This fixes a
106         bug where Tramp could be invoked during startup if this function
107         is used in the definition of muse-project-alist.
109 2008-09-13  Wang Diancheng  <dianchengwang@gmail.com>
111         * lisp/muse-publish.el (muse-publish-markup-regexps): Use
112         muse-table-el-line-regexp.
114         * lisp/muse-regexps.el (muse-table-el-line-regexp): New regexp
115         that represents lines in table.el style tables.
117 2008-08-07  Michael Olson  <mwolson@gnu.org>
119         * lisp/muse-latex.el (muse-latex-slide-tag): Mark all frames as
120         fragile, so that <example> works.  This may be slower, but it is
121         always correct, and requires no additional work on my end.
123         * lisp/muse-project.el (muse-project-publish-this-file): Correctly
124         pass style to muse-publish-this-file.  This fixes a bug when using
125         C-c C-v on a file not part of any project.
127 2008-07-28  Michael Olson  <mwolson@gnu.org>
129         * examples/ikiwiki/muse: New file that provides a plugin for
130         Ikiwiki that allows it to publish Muse files.
132         * examples/ikiwiki/muse-init-project.el: Sample Muse init file
133         that provides project-aware publishing of single files for
134         Ikiwiki.
136         * examples/ikiwiki/muse-init-simple.el: Sample Muse init file that
137         provides basic single-file publishing support for Ikiwiki.
139         * texi/muse.texi (Ikiwiki): Finish documenting Ikiwiki support.
141 2008-07-22  Michael Olson  <mwolson@gnu.org>
143         * lisp/muse-latex.el (muse-latex-pdf-program): New option that
144         determines the program to use when browsing a PDF file.
145         (muse-latex-pdf-browse-file): Use it.
147         * lisp/muse-mode.el (muse-browse-result): Support styles that use
148         an output suffix, such as PDF.
150         * texi/muse.texi (LaTeX): Document muse-latex-pdf-browser.
152 2008-07-21  Michael Olson  <mwolson@gnu.org>
154         * lisp/muse-html.el (muse-html-src-allowed-modes): Docfix.
156         * lisp/muse-ikiwiki.el: New file that supports integration with
157         Ikiwiki.
159         * texi/muse.texi (Ikiwiki): Document new options and style.
161 2008-07-20  Michael Olson  <mwolson@gnu.org>
163         * lisp/muse-mode.el (muse-browse-result): Publish page before
164         viewing it.  This addresses Bug #5172.
166         * lisp/muse-project.el (muse-project-publish-this-file): Accept a
167         new STYLE argument to specify which publishing style to use.
169 2008-07-09  Michael Olson  <mwolson@gnu.org>
171         * lisp/muse-latex.el (muse-latex-slide-tag): Make sure tags inside
172         of a <slide> tag get published.  Thanks to Philipp Grau for the
173         report.
175 2008-05-18  Michael Olson  <mwolson@gnu.org>
177         * texi/muse.texi (Tag Summary): Document the <div> tag.
179 2008-05-18  Alex Ott  <alexott@gmail.com>
181         * lisp/muse-html.el (muse-html-div-tag): New function which
182         publishes a <div> tag.
183         (muse-html-markup-tags): Add entry for "div".
185         * lisp/muse-publish.el (muse-publish-markup-tags): Add entry for
186         "div".
187         (muse-publish-div-tag): By default, ignore <div> tags.
189 2008-04-16  Michael Olson  <mwolson@gnu.org>
191         * Makefile.defs.default (DEBNAME, LASTUPLOAD, BUILDOPTS)
192         (DISTRIBUTOR): Remove obsolete variables.
194         * Makefile (debclean, debprepare, debbuild, debinstall, deb):
195         Remove obsolete targets.
197 2008-03-31  Michael Olson  <mwolson@gnu.org>
199         * lisp/muse-colors.el (muse-make-faces-default): Improve docstring
200         for muse-header-{1-3} faces.
202 2008-03-26  Michael Olson  <mwolson@gnu.org>
204         * lisp/muse-project.el (muse-project-publish-this-file): Make sure
205         that we follow the same rules as muse-project-publish-file,
206         including creating the publishing directory if it does not exist.
207         Thanks to Peter Jones for the report and initial patch.
209 2008-03-25  Michael Olson  <mwolson@gnu.org>
211         * lisp/muse-project.el (muse-current-project-global): New variable
212         that saves the value of muse-current-project across temporary
213         buffers when publishing.
214         (muse-project-publish-this-file, muse-project-publish): Save
215         muse-current-project.
216         (muse-project-save-buffers): Save the current buffer, so that this
217         does not throw off publishing.
218         (muse-project-set-variables): Set muse-current-project if it is
219         nil and there is a saved value for it.  Thanks to Peter Jones for
220         the report.
222         * lisp/muse-publish.el (muse-batch-publishing-p)
223         (muse-publishing-p): Docfix.
224         (muse-inhibit-before-publish-hook): New variable that indicates
225         whether muse-before-publish-hook should be inhibited.
226         (muse-publish-markup-buffer): Use it.
227         (muse-publish-file): Call muse-before-publish-hook here, so that
228         we can run it before checking for file-local variables, since
229         values set by the latter should overlay values set by the former.
230         Bind muse-inhibit-before-publish-hook to t so that we do not call
231         the hook twice.
233 2008-03-16  Michael Olson  <mwolson@gnu.org>
235         * lisp/muse-journal.el (muse-journal-html-munge-buffer)
236         (muse-journal-latex-munge-buffer, muse-journal-rss-munge-buffer):
237         Use nil instead of current-time-zone to fix a bug where dates
238         could be interpreted incorrectly.  We don't allow the user to
239         specify the hour or minute, so it does not make sense to take the
240         current time zone into account.  Thanks to Xin Shi for the report.
242         * lisp/muse-publish.el (muse-publish-markup): When point is on a
243         read-only character, skip to the next non-read-only character.
244         This works around a weird edge case with the table-el rule, and
245         seems like a good thing to do in general.  Thanks to Suno Ano for
246         the report.
247         (muse-publish-table-el-table): Only proceed with table generation
248         if we have located a non-read-only "|" character.
250 2008-02-23  Michael Olson  <mwolson@gnu.org>
252         * lisp/muse-wiki.el (muse-wiki-project-files-with-spaces): Fix
253         bug.
255 2008-02-22  Michael Olson  <mwolson@gnu.org>
257         * lisp/muse-project.el (muse-read-project-file): Delete duplicates
258         before calling muse-completing-read-function, since
259         ido-completing-read does not do this.
261         * lisp/muse.el (muse-delete-dups): New compatibility function.
263 2008-02-19  Michael Olson  <mwolson@gnu.org>
265         * lisp/muse-html.el (muse-html-src-allowed-modes): New option that
266         specifies the modes that we permit the <src> tag to colorize.
267         (muse-html-src-tag): Use it.  Use intern-soft instead of intern.
269         * lisp/muse-latex2png.el (muse-publish-latex-tag)
270         (muse-publish-math-tag):
271         * lisp/muse-poem.el (muse-poem-markup-tag):
272         * lisp/muse-publish.el (muse-publish-literal-tag)
273         (muse-publish-lisp-tag, muse-publish-command-tag)
274         (muse-publish-perl-tag, muse-publish-php-tag)
275         (muse-publish-python-tag, muse-publish-ruby-tag)
276         (muse-publish-include-tag, muse-publish-mark-up-tag): Mark these
277         tags as potentially dangerous for text written by untrusted
278         contributors.
280         * lisp/muse-publish.el (muse-publish-mark-up-tag): Use intern-soft
281         instead of intern.
282         (muse-publish-enable-dangerous-tags): New option that determines
283         whether to publish tags that can call external programs or expose
284         sensitive information.  This is useful to set to nil for
285         publishing files from untrusted sources.
287 2008-02-10  Michael Olson  <mwolson@gnu.org>
289         * lisp/muse-publish.el (muse-publish-enable-local-variables): New
290         option that determines whether to interpret local variables when
291         publishing.  The default is not to do so.
292         (muse-publish-file): Interpret local variables if the user wants
293         this.  Thanks to Sebastian Tennant for the idea.
295         * texi/muse.texi (Extending Muse): Flatten nodes by removing
296         Common Elements and grouping its subsections under this chapter.
297         (Style Elements): Use @defun.  Fix arguments to muse-define-style.
298         Thanks to Sebastian Tennant for the report.  Explain the arguments
299         of the function for :final.
300         (Deriving Styles): Use @defun.  Fix argument names.
301         (Embedded Lisp): Drop mention of this being the only tag allowed
302         in headers and footers.  Thanks to Phillip Lord for the
303         suggestion.
304         (Tag Summary): Mention muse-publish-markup-header-footer-tags.
306 2008-02-02  Michael Olson  <mwolson@gnu.org>
308         * Makefile.defs.default (INFODIR): Place files in .../share/info,
309         rather than .../info.  Thanks to gour for the suggestion.
311 2008-01-29  Michael Olson  <mwolson@gnu.org>
313         * lisp/muse.el (muse-insert-file-contents): Fix bug where end of
314         line conversion was not happening on Windows.  Thanks to Sacha
315         Chua for the report.
317 2008-01-28  Michael Olson  <mwolson@gnu.org>
319         * Release Emacs Muse 3.12.
321         * NEWS: Update.
323         * Update copyright years.
325         * examples/mwolson: Update init file, stylesheets, and templates.
327         * etc/muse.rnc: Add support for the <br> tag.  Don't allow <cite>
328         tags inside of format elements.
330         * lisp/muse-groff.el (muse-groff-markup-strings)
331         * lisp/muse-html.el (muse-html-markup-strings)
332         (muse-xhtml-markup-strings):
333         * lisp/muse-latex.el (muse-latex-markup-strings)
334         * lisp/muse-texinfo.el (muse-texinfo-markup-strings)
335         * lisp/muse-xml.el (muse-xml-markup-strings): Add markup string
336         for line-break.
338         * lisp/muse-project.el (muse-project-of-file): Fix bug where
339         directory names without slashes in projects were not being
340         recognized.  Thanks to Mirko Vukovic and ktneely for the report.
342 2008-01-23  Michael Olson  <mwolson@gnu.org>
344         * lisp/muse-latex.el (muse-latex-header)
345         (muse-latex-slides-header, muse-latex-lecture-notes-header):
346         Default to using UTF-8, rather than latin1.
348         * lisp/muse-publish.el (muse-publish-url): Add comments.  Move
349         target detection higher.  Use unescaped description for image
350         links, so that they don't get erroneously escaped.  Thanks to Suno
351         Ano for the report.
353 2008-01-15  Michael Olson  <mwolson@gnu.org>
355         * Makefile.defs.default (DESTDIR): New variable which allows the
356         destination directory to be easily set.  Thanks to gour for the
357         suggestion.
358         (ELISPDIR, INFODIR): Use it.
360         * README (Compilation): Don't mention PREFIX, ELISPDIR, and
361         INFODIR here.
362         (Installation): Mention DESTDIR and PREFIX.
364         * texi/muse.texi: Update copyright year.
365         (Installation): Don't mention PREFIX, ELISPDIR, and INFODIR in the
366         compilation step.  Do mention DESTDIR and PREFIX in the
367         installation step.
369 2008-01-06  Michael Olson  <mwolson@gnu.org>
371         * lisp/muse.el (muse-with-temp-buffer): Don't keep track of undo
372         information.  Update documentation.
375 See ChangeLog.4 for earlier changes.
377 ;; Local Variables:
378 ;; coding: utf-8
379 ;; End: