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