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