1
2007-08-24 Michael Olson <mwolson@gnu.org>
3
* Release Emacs Muse 3.11.
5
* AUTHORS: Add new authors for contrib files.
7
* NEWS: Add entries for Muse 3.11.
9
* README: Mention that contents of contrib/blosxom and
10
contrib/pyblosxom have different licenses than the rest of Muse.
12
* contrib/blosxom/getstamps.pl: New file that implements fetching
13
timestamps from published Muse files and placing them in a single
14
timestamps file. That file can then be used by blosxom's metadate
15
plugin. Thanks to Michael Welle for providing this file, as well
16
as instructions on how to use Muse with Blosxom.
18
* contrib/blosxom/metadate_0_0_3: New file implementing the
19
metadate plugin for blosxom.
21
* contrib/pyblosxom/getstamps.py: Add license text. It seems safe
22
to assume that the original author wanted this to be distributed
23
with Pyblosxom, and hence use the MIT license like the rest of
26
* contrib/pyblosxom/hardcodedates.py: Add license text.
28
* contrib/pyblosxom/make-blog: Change license text to be "This
29
file may be used, distributed, and modified without restriction."
31
* contrib/pyblosxom/metadate.py: New file that implements the
32
PyBlosxom metadate plugin. Since this can no longer be found at
33
the original author's website, I have included it with Muse.
35
* lisp/muse-blosxom.el: Update location of metadate plugin in
38
* lisp/muse-wiki.el (muse-wiki-project-file-regexp): Fix typo in
41
* texi/muse.texi (Blosxom Requirements): Organize information by
42
subheading and subsubheading, and document how to use the metadate
43
plugin. Briefly document using Blosxom to serve Muse entries.
45
2007-08-23 Michael Olson <mwolson@gnu.org>
47
* lisp/muse-html.el (muse-html-insert-contents): Escape heading
48
title just before extracting it.
50
* lisp/muse-latex.el (muse-latex-fixup-headings): New function
51
that removes footnotes from headers, since they are invalid in
53
(muse-latex-munge-buffer): Call it.
55
* lisp/muse-publish.el (muse-publish-markup-heading): Don't escape
56
specials here. This fixes a bug involving links in headings.
58
* lisp/muse.el (muse-update-file-extension): Simplify, and handle
60
(muse-update-file-extension-after-init): Temporarily bind
61
muse-file-extension to "muse", so that muse-update-file-extension
62
knows what the old value was. This should fix a bug reported by
63
Jean Magnan de Bornier.
65
2007-08-21 Michael Olson <mwolson@gnu.org>
67
* lisp/muse-texinfo.el (muse-texinfo-markup-strings): Try to make
68
url, link, and link-and-anchor look better in texi2html output.
69
Thanks to thorne for the report.
71
2007-08-20 Michael Olson <mwolson@gnu.org>
73
* lisp/muse-journal.el (muse-journal-anchorize-title): Revamp to
74
escape characters rather than discard them. Use muse-regexp-alnum
75
rather than listing out the characters and numbers. Thanks to
76
Shunsuke OKANO for the report.
77
(muse-journal-rss-munge-buffer): Make sure that <![CDATA[ stuff is
78
used when generating a summary.
80
2007-08-19 Michael Olson <mwolson@gnu.org>
82
* examples/mwolson: Update my example settings.
84
* lisp/muse-colors.el (muse-colors-region): Bind
85
muse-colors-region-end to the end of the last line. This avoids a
86
bug where lines that had emphasis would suddenly become
87
unhighlighted when moving around the buffer.
89
* lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug
90
involving paragraphs after literallayout markup, which is used in
91
<verse> tags. Thanks to Shunsuke OKANO for the report.
93
* lisp/muse-html.el (muse-html-src-tag): Use
94
muse-delete-and-extract-region.
96
* lisp/muse-import-xml.el: Add require statement.
97
(muse-import-xml-parse-node): Use muse-replace-regexp-in-string.
99
* lisp/muse-protocols.el (muse-browse-url-man): Add require
101
(muse-browse-url-woman): Add require statement.
103
* lisp/muse-publish.el (muse-publish-surround-text): Fix serious
104
bug in definition list publishing. We were skipping past the
105
initial indented line, and that was causing an erroneous
106
blockquote to be inserted. This alone merits a new release.
108
* lisp/muse-texinfo.el (muse-texinfo-info-generate): Fix bug with
109
XEmacs' return value for shell-command.
111
* lisp/muse.el (muse-delete-and-extract-region): New compatibility
112
function to deal with XEmacs' lack of the
113
delete-and-extract-region function.
115
2007-08-18 Michael Olson <mwolson@gnu.org>
119
* lisp/muse-publish.el (muse-publish-include-tag): Switch from
120
copy-tree to copy-alist, since Emacs21 does not have the former,
121
and the latter does what we want.
123
* lisp/muse.el: Force-require 'derived, since Emacs21 does not
124
have derived-mode-p in subr.el like Emacs22 does.
126
2007-08-17 Michael Olson <mwolson@gnu.org>
128
* etc/muse.rnc: Add the <cite> tag.
130
* lisp/muse-context.el (muse-context-slides-header): Clarify what
133
* lisp/muse-xml.el (muse-xml-markup-strings): Mark up citations as
134
<cite type="something">. We'll leave it to the post processing
135
tools to interpret that.
137
* texi/muse.texi (Directives, Blosxom Entries): Use @code{} for
139
(Citations): New section that explains further how to use the
140
<cite> tag. The text was taken from Marcus Hoenicka's
141
documentation at http://refdb.sourceforge.net/muse.html and
143
(Tag Summary): Link to the Citations section in the entry for
145
(ConTeXt): Update the documentation for
146
muse-context-slides-header.
148
2007-08-17 Jean Magnan de Bornier <jean@bornier.net>
150
* lisp/muse-context.el (muse-context-slides-header): Use #module
151
directive, if it is provided.
152
(muse-context-slides-header): Mention how to use #module.
154
2007-08-16 Michael Olson <mwolson@gnu.org>
156
* Release Emacs Muse 3.10.
158
* Makefile (dist, debprepare): Pass HEAD argument to git-archive.
159
(upload): Don't depend on release rule.
161
* NEWS: Document remaining changes.
163
2007-08-15 Michael Olson <mwolson@gnu.org>
165
* NEWS: Document items through 2007-08-12.
167
* lisp/muse-colors.el: Split the muse-directive-or-comment
168
property into two separate properties that are muse-directive and
170
(muse-colors-region-end): Make buffer-local.
171
(muse-colors-delayed-commands): New variable that contains a list
172
of commands to run immediately after highlighting. This is meant
173
to allow highlighting functions to delay code until later.
174
(muse-colors-region): Apply commands in
175
muse-colors-delayed-commands.
176
(muse-colors-inhibit-tags-in-directives): New variable that
177
determines whether tags are allowed in directives.
178
(muse-colors-custom-tags): Take
179
muse-colors-inhibit-tags-in-directives into account.
180
(muse-unhighlight-region): Remove muse-directive and muse-comment
182
(muse-colors-title): Modify muse-colors-delayed-commands.
183
(muse-colors-title-lisp): New command that gets called after
184
highlighting other things. This interprets <lisp> tags, and is
185
passed arguments specifying the beginning and end of the region.
186
Thanks to Junichi Uekawa for the report. The reason we want to do
187
things this way is because this is the behavior we get already
188
when publishing the page.
190
* lisp/muse.el (muse-goto-tag-end): Change to use muse-comment
191
property rather than muse-directive-or-comment.
193
2007-08-14 Michael Olson <mwolson@gnu.org>
195
* lisp/muse-colors.el: Document all functions and variables.
196
(muse-colors-emphasized, muse-colors-underlined)
197
(muse-colors-verbatim, muse-colors-custom-tags)
198
(muse-colors-explicit-link, muse-colors-implicit-link): Don't trod
199
on comments or the #title directive.
200
(muse-colors-markup): Add comment rule.
201
(muse-colors-implicit-link): Only remove flyspell overlay after we
202
decide whether this is an implicit link, rather than before.
203
(muse-colors-title): Add the muse-directive-or-comment property.
204
(muse-colors-comment): New function that colorizes comments using
205
font-lock-comment-face.
206
(muse-colors-region-end): New variable indicating the end of the
207
region that is currently being font-locked. This removes the need
208
for an ugly "defvar end" hack.
209
(muse-colors-emphasized, muse-colors-underlined)
210
(muse-colors-verbatim): Use it.
211
(muse-colors-region): Let-bind it.
213
* lisp/muse-mode.el (muse-list-edit-minor-mode): Grammar fix in
216
* lisp/muse-publish.el (muse-publish-markup-heading): Escape
217
specials in heading now, rather than waiting on the whole-document
218
pass later on. This lets <contents> generation work without
219
validation errors. Thanks to Reid van Melle for the report.
221
* texi/muse.texi (Tag Summary): Document <cite> tag.
222
(Miscellaneous): New chapter containing "Muse List Edit Minor
224
(Muse List Edit Minor Mode): New section that documents
225
muse-list-edit-minor-mode.
226
(Development): Mention the MuseDevlopment page on emacswiki.org.
228
* lisp/muse.el (muse-goto-tag-end): Deal with case where we are
229
font-locking and the end or beginning of a tag is in a comment or
232
2007-08-12 Michael Olson <mwolson@gnu.org>
234
* lisp/muse-html.el (muse-html-strip-links): New function that
235
strips HTML links from a string.
236
(muse-html-insert-contents): Use it, instead of
237
muse-publish-strip-tags. This fixes a bug reported by Xin Shi
238
involving the use of <sup> in section titles.
240
* lisp/muse-project.el (muse-project-resolve-directory): New
241
function that figures out the directory part of the path that
242
provides a link to a page.
243
(muse-project-resolve-link): Expand docstring. Use the new
244
function. Don't call muse-publish-link-file, because that does
245
the wrong thing when we have muse-file-extension set to nil.
246
Thanks to Sebastian Obermanns for the report.
247
(muse-project-publish-this-file): Let-bind muse-current-project.
248
Also, if the file is not associated with a project, fall back to
249
muse-publish-this-file.
250
(muse-project-set-variables): Add this to
251
muse-before-publish-hook, so that it gets called. This fixes a
252
bug where project-specific variables were being used in Muse mode,
253
but ignored when publishing.
255
* lisp/muse-publish.el (muse-publish-link-name)
256
(muse-publish-link-file, muse-publish-link-page): Add docstrings
257
so that I can remember what each of these things do.
258
(muse-publish-strip-tags): Remove, since it is no longer used.
259
(muse-publish-cite-tag): Don't let-bind
260
muse-publishing-directives, because there is no need to do so.
261
Fix code indentation.
262
(muse-publish-markup-attribute): Avoid multiple evaluation of
263
attrs argument, in case it is list value instead of a symbol. Use
264
sexp instead of form in the edebug-form-spec.
265
(muse-publish-include-tag): Make a full copy of
266
muse-publishing-directives, since it can be modified with setcdr.
267
This fixes a bug where #title and some other directives were
268
leaking out of an included region.
269
(muse-publish-mark-up-tag): Don't let-bind
270
muse-publishing-directives, because there is no need to do so.
272
* lisp/muse.el (muse-page-name): Improve docstring.
274
* texi/muse.texi (Development): Mention the http method for
275
anonymous git access to the shared repo.
277
2007-08-10 Michael Olson <mwolson@gnu.org>
279
* Makefile (dist, debprepare): Use git instead of tla.
281
* contrib/httpd.el (httpd-send-file): Use insert-file-contents.
283
* examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
284
Use muse-insert-file-contents.
286
* experimental/muse-split.el (muse-publish-file)
287
(muse-publish-presplit-publish, muse-publish-no-split-function)
288
(muse-journal-split-by-entry, muse-journal-split-by-month): Use
289
muse-insert-file-contents.
291
* lisp/muse-book.el (muse-book-publish-chapter)
292
(muse-book-get-directives): Use muse-insert-file-contents.
294
* lisp/muse-http.el (muse-http-render-page): Use
295
muse-insert-file-contents.
297
* lisp/muse-poem.el (muse-poem-markup-tag): Use
298
muse-insert-file-contents.
300
* lisp/muse-publish.el (muse-insert-file-or-string)
301
(muse-publish-file, muse-publish-include-tag)
302
(muse-published-contents): Use muse-insert-file-contents.
304
* lisp/muse.el (muse-insert-file-contents): New function that
305
inserts a file with character code conversion, but none of the
306
other frivolities. Since insert-file-contents-literally does not
307
do character code conversion, it is not suitable for us.
308
(muse-with-temp-buffer): Mention muse-insert-file-contents rather
309
than insert-file-contents-literally.
311
2007-08-09 Michael Olson <mwolson@gnu.org>
313
* lisp/muse.el (muse-write-file): Pay attention to
314
coding-system-for-write and save-buffer-coding-system. This
315
should fix a recently-introduced bug with writing Muse pages in
316
different coding systems.
318
2007-08-08 Michael Olson <mwolson@gnu.org>
320
* README (Prerequisites): Fix typo.
321
(Compilation, Installation): Update.
322
(Documentation, Further Documentation): Update URLs.
323
(Further Documentation): Add quick blurb on how to participate in
324
Muse development or track changes.
326
* texi/muse.texi (Releases): Use gna.org URL for downloading the
327
latest release, rather than my website.
328
(Development): Change instructions to use git instead of
329
Arch. Mention where to get a Windows binary for git. Improve the
330
look of the listing. Add section with instructions for Becoming a
332
(Installation): Update instructions for Makefile.defs.default and
333
XEmacs. Add index entries. Add section for ELPA, since Muse
334
ought to be distributed in ELPA after the 3.10 release. Fix typo
337
2007-08-06 Michael Olson <mwolson@gnu.org>
339
* texi/muse.texi: Make sure that attributes are marked up with
340
@option{} rather than @code{} or @samp{} for consistency.
341
(Journal): Add "muse-project-alist-considerations" subheading,
342
along with a mention of :base-url.
344
2007-08-05 Michael Olson <mwolson@gnu.org>
346
* .gitignore: Add texi/muse.html and the DVC log edit file.
348
* Makefile.defs.default (install_info): Rename from INSTALLINFO.
349
Turn this into something that can be called like a command, due to
350
needing to deal with XEmacs, which has different argument order.
351
Thanks to Terrence Brannon for the report.
353
* lisp/muse-project.el (muse-project-of-file): Simplify by using
354
catch, throw, and dolist. Look for exact matches before
355
considering any subdirectories. If no exact matches are found,
356
then pick the longest match.
358
* lisp/muse.el (muse-sort-by-rating): Mention default test in
361
* scripts/muse-build.el: Avoid interference from VC.el in the
364
* texi/Makefile (install): Call install_info.
366
2007-08-03 Michael Olson <mwolson@gnu.org>
368
* lisp/muse-project.el (muse-project-applicable-styles): Remove
369
useless argument ignore-regexp. Use saner logic. This fixes a
370
bug where a file could potentially not exist but still appear in
371
the used-styles list. Thanks to John Wiegley for the fix.
372
(muse-project-publish-file): Don't take ignore-reegxp argument.
374
2007-08-02 Michael Olson <mwolson@gnu.org>
376
* lisp/muse-publish.el (muse-batch-publish-files): Don't activate
377
VC when publishing files in batch. This avoids some annoying
378
messages when building QuickStart in the examples directory.
380
* lisp/muse-mode.el (muse-mode): Don't try to indent line before
383
2007-07-31 Michael Olson <mwolson@gnu.org>
385
* lisp/Makefile: Add dependencies between Emacs Lisp files, so
386
that Muse can be recompiled without running "make clean" after an
389
* lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
390
delete forward one character, since we are guaranteed to be on a
391
blank line. Don't delete all initial whitespace of the first
392
line. This fixes an issue where the output from the verse tag did
393
not match the output from Muse's verse syntax.
395
2007-07-29 Michael Olson <mwolson@gnu.org>
397
* Relicense to GPLv3.
399
* Makefile.defs.default: Rename from Makefile.defs. This allows
400
people to copy this file to Makefile.defs and make changes,
401
without having the changes be accidentally committed. If
402
Makefile.defs does not exist, this file is read instead, in order
403
to minimize inconvenience to the casual user.
405
* Makefile, contrib/Makefile, examples/Makefile,
406
experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
407
Makefile.defs.default or Makefile.defs.
409
* lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
411
(muse-l-e-m-m-insert-list-item): Add real documentation.
412
(muse-l-e-m-m-increase-list-item-indent)
413
(muse-l-e-m-m-decrease-list-item-indent): Rename for clarity. Add
415
(muse-list-edit-minor-mode): Improve documentation.
417
* texi/doclicense.texi (GNU Free Documentation License): Use
418
pristine copy from Emacs source tree.
420
* texi/muse.texi (Contributors): Move node and appendix indicators
421
here, rather than doclicense.texi.
423
2007-07-29 Jean Magnan de Bornier <jean@bornier.net>
425
* lisp/muse-latex.el (muse-latex-markup-strings): Change rule
426
command which did not work correctly
428
* lisp/muse-context.el (muse-context-markup-strings): Change rule
429
command which did not work correctly; defined verse commands
430
(muse-context-markup-specials-literal): Eliminate all unuseful entries
432
2007-07-29 Michael Olson <mwolson@gnu.org>
434
* contrib/httpd.el (httpd-send-file): Use
435
insert-file-contents-literally instead of insert-file-contents.
437
* examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
438
Use insert-file-contents-literally instead of
439
insert-file-contents.
441
* experimental/muse-split.el (muse-publish-file)
442
(muse-publish-presplit-publish, muse-publish-no-split-function)
443
(muse-journal-split-by-entry, muse-journal-split-by-month): Use
444
insert-file-contents-literally instead of insert-file-contents.
446
* lisp/muse-book.el (muse-book-publish-chapter)
447
(muse-book-get-directives): Use insert-file-contents-literally
448
instead of insert-file-contents.
450
* lisp/muse-http.el (muse-http-render-page): Use
451
insert-file-contents-literally instead of insert-file-contents.
453
* lisp/muse-import-latex.el (muse-import-latex): Set marker to
454
nowhere when done, since they can slow things down.
456
* lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
457
marker to nowhere when done, since they can slow things down.
459
* lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
460
when done, since they can slow things down. Use
461
insert-file-contents-literally instead of insert-file-contents.
463
* lisp/muse-publish.el (muse-publish-markup-tag)
464
(muse-publish-markup-word, muse-publish-markup-footnote)
465
(muse-publish-call-tag-on-buffer): Set markers to nowhere when
466
done, since they can slow things down.
467
(muse-insert-file-or-string, muse-publish-file)
468
(muse-publish-include-tag, muse-published-contents): Use
469
insert-file-contents-literally instead of insert-file-contents.
470
(muse-publish-surround-dl): Remove unused variable. Track whether
471
a term has been found, and handle that case well.
472
(muse-publish-ensure-blank-line): Use a marker, so that we don't
473
lose our place when adding a newline. This really fixes the
474
definition list item bug.
475
(muse-publish-markup-list): Since people do seem to want
476
definition lists with no terms, allow this.
477
(muse-batch-publish-files): Set muse-current-output-style.
479
* lisp/muse.el (muse-with-temp-buffer): Mention
480
`insert-file-contents-literally'.
482
2007-07-28 Michael Olson <mwolson@gnu.org>
484
* lisp/muse-mode.el (muse-browse-result): Set
485
muse-current-output-style.
486
(muse-mode): Don't duplicate the paragraph-start regexp
488
(muse-list-edit-minor-mode-map): New variable containing the
489
keymap for Muse list edit minor mode.
490
(muse-l-e-m-m-list-item-regexp): New variable that matches list
491
items for Muse list edit minor mode.
492
(muse-l-e-m-m-insert-list-item,
493
muse-l-e-m-m-i-list-item-indentation)
494
(muse-l-e-m-m-d-list-item-indentation): Variants of existing list
495
item functions that change the list item regexp before calling the
497
(muse-l-e-m-m-data): New variable that keeps track of the fill
498
data that we overwrite when activating Muse list edit minor mode,
499
so that we can restore it if the minor mode is toggled off.
500
(muse-list-edit-minor-mode): New minor mode that is useful for
501
editing lists in other major modes.
502
(turn-on-muse-list-edit-minor-mode)
503
(turn-off-muse-list-edit-minor-mode): New interactive functions
504
that turn Muse list edit minor mode on and off, respectively.
505
(muse-on-blank-line, muse-get-paragraph-start): Simplify some
508
* lisp/muse-project.el (muse-project-publish-this-file): Set
509
muse-current-output-style. This fixes a bug when publishing to a
510
style that is not first in the list of styles. Thanks to Jean
511
Magnan de Bornier for the report.
513
* lisp/muse-publish.el (muse-publish-ensure-blank-line): New
514
function that ensures that a blank line exists in the line before
516
(muse-publish-markup-list): Use it, rather than
517
`muse-publish-ensure-block'. This fixes a bug with definition
518
list publishing. Thanks to meandtheshell for reporting this.
520
* lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
521
project argument is nil, default to the current project instead of
522
the first project entry in muse-project-alist. This seems much
525
* lisp/muse.el (muse-forward-list-item): Only check the 'face
526
property if we are in Muse mode or one of its derivatives. This
527
allows movement on nested lists to work in other modes, and fixes
528
an issue with altering list indentation in
529
muse-list-edit-minor-mode.
531
2007-07-27 Michael Olson <mwolson@gnu.org>
533
* AUTHORS: Add new authors.
535
* README: Permit Muse to be called "Emacs-Muse".
537
* etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
539
* lisp/muse-publish.el (muse-publish-surround-text): Fix bug
540
involving list items that have an extra blank line in front.
542
* texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
543
and Emacs-Muse are the same thing.
545
2007-07-27 Jean Magnan de Bornier <jean@bornier.net>
547
* lisp/muse-context.el (muse-context-header): Put
548
starttext after the modules who must be in preamble.
549
(muse-context-markup-strings): Fixed mistake in begin-example and
552
* lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
553
math environment in ConTeXt when centered: "$$ $$" has to be
554
"\startformula \stopformula".
556
2007-07-26 Michael Olson <mwolson@gnu.org>
558
* lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
561
2007-07-24 Michael Olson <mwolson@gnu.org>
563
* examples/QuickStart.muse (Images): Fix typo where some text
564
existed in the output but not in the example region.
565
(Source Code): Fix another typo. Explain that publishing from
566
console or X can make a difference.
568
* lisp/muse-context.el (muse-context-pdf-program): New option that
569
determines the program to use for generating PDF files for
571
(muse-context-pdf-cruft): New option that specifies the extensions
572
of files to remove after generating PDF output successfully.
573
(muse-context-slides-header): Docfix.
574
(muse-context-pdf-generate): Use new options.
576
* lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
577
save-restriction call. This was causing a world of hurt when
578
using <lisp> inside of <include>.
580
* texi/muse.texi (ConTeXt): New section that documents how to use
581
the ConTeXt publishing styles.
583
2007-07-23 Michael Olson <mwolson@gnu.org>
585
* lisp/muse-context.el: New file that provides support for
586
publishing documents to the ConTeXt format. Thanks to Jean Magnan
587
de Bornier for his work on this.
589
* lisp/muse-docbook.el (muse-docbook-entities)
590
(muse-docbook-bibliography): Remove unneeded save-restriction use.
592
* lisp/muse-latex2png.el (muse-publish-latex-tag):
595
* lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
596
(muse-latex-bibliography): Remove call to `widen', since it is not
597
needed anymore. Remove unneeded save-restriction use.
598
("slides", "slides-pdf"): Indent elements uniformly.
600
2007-07-22 Michael Olson <mwolson@gnu.org>
602
* lisp/muse-blosxom.el (muse-blosxom-new-entry):
603
* lisp/muse-mode.el (muse-insert-tag):
604
* lisp/muse-project.el (muse-read-project)
605
(muse-read-project-file):
606
* lisp/muse-publish.el (muse-publish-get-style): Use
607
muse-completing-read-function.
609
* lisp/muse-latex2png.el (muse-publish-latex-tag)
610
(muse-publish-math-tag): Allow the context style -- which I plan
611
to include soon -- to work with these tags.
613
* lisp/muse.el (muse-completing-read-function): New option that
614
determines which function to call when doing a completing-read.
616
2007-07-15 Michael Olson <mwolson@gnu.org>
618
* lisp/muse-journal.el (muse-journal-html-entry-template)
619
(muse-journal-rdf-entry-template)
620
(muse-journal-rss-entry-template): Mention that this can be text
622
(muse-journal-rdf-entry-template, muse-journal-rss-header)
623
(muse-journal-rss-footer, muse-journal-rss-entry-template): Add
624
newlines to make the output look nicer.
625
(muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
626
Use muse-insert-file-or-string for the entry templates, rather
627
than muse-insert-markup. This allows <lisp> and <markup> tags to
628
be acted on. Thanks to Scott Hyde for the report.
629
(muse-journal-html-munge-buffer): Escape quote of the day using
630
entire-document specials before snarfing it. Mark entire template
631
as read-only -- this fixes an incorrect escaping bug. Remove
632
read-only properties before replacing template matches so that
633
they can still be escaped with entire-document specials later on.
634
(muse-journal-rss-munge-buffer): Make sure that title is escaped
636
(muse-journal-markup-tags): Rename from
637
muse-journal-latex-markup-tags, because we will use it for
638
journal-rss-entry as well.
639
(muse-journal-qotd-tag): Move higher. Use begin-quote-item and
641
(muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
643
("journal-latex", "journal-pdf", "journal-book-latex")
644
("journal-book-pdf"): Use muse-journal-markup-tags rather than
645
muse-journal-latex-markup-tags.
646
("journal-rss-entry"): New style that is used by journal-rss and
647
journal-rdf to mark up individual entries. It is needed so that
648
we can do something meaningful with the qotd tag.
649
(muse-journal-rdf-summarize-entries): Set this to nil by default,
650
because it is annoying. Update docs to mention this.
651
(muse-journal-rss-summarize-entries): Docfix.
653
* lisp/muse-publish.el (muse-insert-file-or-string): Use
654
muse-publish-markup-header-footer-tags. I'm not quite sure how
655
this change got reverted.
656
(muse-markup-tag-info): Make into a function. Move common code
657
here, rather than duplicating it in two places. Deal with case
658
where muse-publish-use-header-footer-tags is non-nil.
659
(muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
660
(muse-inhibit-style-tags): Move higher to avoid byte-compiler
662
(muse-publish-use-header-footer-tags): New variable that indicates
663
whether we should use just the header and footer tags, rather than
665
(muse-insert-file-or-string): Bind
666
muse-publish-use-header-footer-tags to t.
667
(muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
668
Simplify call to muse-markup-tag-info.
669
(muse-publish-mark-up-tag): Bind
670
muse-publish-use-header-footer-tags to nil.
672
* texi/muse.texi (Journal): Update for recent changes.
674
2007-07-14 Michael Olson <mwolson@gnu.org>
676
* lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
677
delete the remainder of the buffer, since this causes the
678
resulting RDF to have invalid syntax. Thanks to Phillip Lord for
679
the report and the suggested fix.
681
* lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
682
beginning of table-el regexp. This fixes a bug where Muse stalls
683
when trying to publish a malformed table. Thanks to Ye Wenbin for
684
the report and the suggested fix.
686
2007-07-12 Michael Olson <mwolson@gnu.org>
688
* lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
689
default, rather than the empty string. This really fixes the bug
690
that occurred when using Muse with muse-project-alist set to nil.
691
Thanks to Jonathan Underwood for the report.
692
(muse-wiki-update-interwiki-regexp): Set
693
muse-wiki-interwiki-regexp to nil if muse-project-alist is not
695
(muse-wiki-handle-implicit-interwiki)
696
(muse-wiki-handle-explicit-interwiki): Handle case where
697
muse-wiki-interwiki-regexp is nil.
699
2007-07-10 Michael Olson <mwolson@gnu.org>
701
* lisp/muse-mode.el (muse-grep): Abort search if the current
702
project contains no directories.
704
* lisp/muse-project.el (muse-project-file-alist): If
705
muse-project-alist is not defined, or project is nil, return nil
706
right away. This ought to fix a bug that occurred when using Muse
707
with muse-project-alist set to nil.
708
(muse-project-of-file): Make sure muse-project-alist is not nil.
709
(muse-project-save-buffers): Make sure project is not nil.
711
* lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
712
case where muse-project-alist is nil.
714
* lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
715
for XEmacs, since color-theme.el is poorly behaved, and defines
716
its own replace-in-string. Bad color-theme.el -- no cookie for
719
2007-07-01 Michael Olson <mwolson@gnu.org>
721
* Makefile (.PHONY): Update for new debian package rules.
723
* lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
725
* lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
726
Use save-restriction properly.
727
(muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
729
* lisp/muse-latex.el (muse-latex-footer): Wrap long line.
730
(muse-latex-fixup-citations): Re-indent. Use save-restriction
732
(muse-latex-bibliography): Re-indent.
734
* lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
735
higher. This fixes an error at startup with some versions of
737
(muse-publish-cite-tag): Re-indent.
739
* lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
740
to the end of the link part, so as to exclude the description from
741
the match. This fixes a bug with three-part links that have
742
descriptions. Thanks to everyone who pointed it out.
744
2007-06-18 Michael Olson <mwolson@gnu.org>
746
* lisp/muse-html.el (muse-html-markup-strings): Add anchor.
747
(muse-xhtml1.1-markup-strings): New option that specifies XHTML
748
1.1 specific markup strings.
749
(muse-html-insert-anchor): Use 'anchor string, rather than
750
hard-coding it. Thanks to Chris Corsair for the suggestion.
751
("xhtml1.0"): New style that is an alias for the xhtml style.
752
("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
1
754
2007-06-17 Michael Olson <mwolson@gnu.org>
3
756
* examples/QuickStart.muse: Make images local so that the Info