forked from alexott/muse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.4
2406 lines (1812 loc) · 91.7 KB
/
ChangeLog.4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2007-12-13 Michael Olson <[email protected]>
* lisp/muse-wiki.el ("muse-publish"): Interpret <nop> tags when
publishing.
2007-12-05 Magnus Henoch <[email protected]>
* lisp/muse.el (muse-escape-specials-in-string): Move
save-match-data outside of with-temp-buffer, because apparently
some implementations of with-temp-buffer can mangle the match
data.
2007-11-28 Michael Olson <[email protected]>
* lisp/muse-project.el (muse-project-page-file): If page argument
is nil, then choose the first directory in the project.
* lisp/muse-wiki.el (muse-wiki-resolve-project-page): Style fix.
2007-11-07 Adrian Aichner <[email protected]>
* lisp/muse-publish.el (muse-publish-classify-url): Wrap call of
`muse-publish-link-page' in `save-match-data', so that correct
match data gets restored for subsequent use by `match-end'.
2007-10-29 Michael Olson <[email protected]>
* lisp/muse-regexps.el (muse-tag-regexp): Permit tag attributes to
span more than one line. Thanks to Florian Beck for the fix.
2007-10-24 Michael Olson <[email protected]>
* lisp/muse-publish.el (muse-publish-markup-regexps): Recognize
"---" as a valid mdash. Before, it was doing mdash followed by a
single dash. Thanks to jordanb for the suggestion.
2007-10-12 Michael Olson <[email protected]>
* lisp/muse-mode.el (muse-insert-url-initial-input): New option
that specifies the initial text to use when reading a URL. Thanks
to Seweryn Kokot for the suggestion.
(muse-insert-url): Use it.
(muse-mode-fill-paragraph): Take into account any indentation that
is already in front of the term.
* lisp/muse-project.el (muse-project-determine-last-mod): New
function split from muse-project-file-alist.
(muse-project-file-alist): Improve docstring.
(muse-project-add-to-alist): New function that ensures that the
current file is added the its project file-alist.
(muse-project-after-save-hook): Call muse-project-add-to-alist
instead of muse-project-file-alist. This fixes an issue where if
several files were being saved at once, only the first would make
it into the project file-alist.
2007-10-11 Michael Olson <[email protected]>
* lisp/muse-latex.el (muse-latex-markup-specials-literal): Escape
backslash as "\textbackslash{}". Thanks to Joost Kremers for the
report.
2007-10-08 Michael Olson <[email protected]>
* lisp/muse-mode.el (muse-mode): Set fill-paragraph-function.
(muse-mode-fill-paragraph): New function that fills the paragraph
at point. If a definition list term is on the same line, then
prefix subsequent lines with two spaces when filling. Otherwise,
return nil, so that normal filling can take place.
2007-10-03 Michael Olson <[email protected]>
* lisp/muse-colors.el (muse-unhighlight-region): Remove
muse-no-implicit link property.
(muse-colors-implicit-link): Check for muse-no-implicit-link
property.
* lisp/muse-wiki.el (muse-wiki-colors-nop-tag): Add the
muse-no-implicit-link property. This makes colorization of <nop>
work. Add docstring.
2007-09-24 Michael Olson <[email protected]>
* lisp/muse-latex2png.el (muse-publish-math-tag): Fix bug
introduced by recent change. Thanks to Darlan Cavalcante Moreira
for the report.
2007-09-23 Michael Olson <[email protected]>
* lisp/muse-context.el (muse-context-pdf-generate): Change
default-directory instead of calling "cd" in the command.
* lisp/muse-latex.el (muse-latex-pdf-generate): Change
default-directory instead of calling "cd" in the command. This
should fix a bug with Windows. Thanks to Jia Ye for the report.
2007-09-22 Michael Olson <[email protected]>
* AUTHORS: Bookkeeping.
* NEWS: Add entry for the LaTeX image filename escaping changes.
* examples/mwolson/templates/header.tex: Update for recent
changes.
* lisp/muse-latex2png.el (muse-publish-math-tag): Detect whether
the tag ends at the end of a line. If not, do not use "$$" to
publish it. Thanks to Darlan Cavalcante Moreira for the
suggestion.
* lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header)
(muse-latex-slides-header, muse-latex-lecture-notes-header):
Escape specials in the title. Define a museincludegraphics
command, which is able to handle escaped special characters in
image filenames. Thanks to Karl Berry for providing this.
(muse-latex-markup-strings): Use museincludegraphics instead of
includegraphics in all image-related markup. Move the width
specification over to the museincludegraphics command, rather than
specifying it explicitly. This allows people to change this
information in their headers.
(muse-latex-markup-specials-image): Escape backslashes, "#", and
pipe characters in image filenames.
* lisp/muse-wiki.el (muse-wiki-project-files-with-spaces): Fix
byte-compiler warning.
* lisp/muse.el (muse-update-values): Fix byte-compiler warning.
Also, update the value of muse-current-project for all Muse
buffers, even if they are new. This should be more intuitive. I
don't think there are any cases where developers will want this
value to be nil.
(muse-replace-regexp-in-string): Fix byte-compiler warning.
* texi/muse.texi (LaTeX): Mention grffile.sty. Thanks to Karl
Berry for the tip.
2007-09-19 Michael Olson <[email protected]>
* lisp/muse.el (muse-replace-regexp-in-string): Remove fallback
code, since it is not needed in any version of Emacs we support,
and it also has a couple of bugs that I don't want to waste time
fixing.
2007-09-18 Michael Olson <[email protected]>
* lisp/muse-mode.el (muse-mode): Fix bug involving filling and
paragraphs next to headings. Thanks to Gregory Collins for the
initial patch, which I modified.
2007-09-17 Michael Olson <[email protected]>
* lisp/muse-colors.el (muse-colors-toggle-inline-images): Display
message about how images are now displayed.
2007-09-10 Michael Olson <[email protected]>
* Makefile (elpa): Use texi/dir-template rather than echoing lines
to the ELPA dir file for Muse.
* texi/dir-template: New file containing template to use when
making ELPA dir files. This fixes a corrupt dir file bug for the
Muse ELPA package. Thanks to Tom Tromey for the report.
2007-09-06 Michael Olson <[email protected]>
* lisp/muse-html.el (muse-html-class-tag): Fix bug where nested
class tags were not working. We move to just after the beginning
of the first class tag, so that we can detect any remaining class
tags. Thanks to Florian Beck for the report. Fix error that
occurred when class tag has no name element. Thanks to Peter
Baranyi for the report. The correct behavior in this case is to
not publish the tag at all.
* lisp/muse.el (muse-goto-tag-end): Fix bug where nested tags with
arguments were not being detected properly.
2007-09-05 Michael Olson <[email protected]>
* lisp/muse-context.el (muse-context-decide-specials): Add
footnote.
* lisp/muse-latex.el (muse-latex-decide-specials): Add footnote.
* lisp/muse-publish.el (muse-publish-escape-specials): Mention
'footnote in docstring.
(muse-publish-markup-footnote): Minor docstring fix. Escape
footnote text properly. Thanks to Jean Magnan de Bornier for
noticing.
(muse-publish-url): When checking to see if this is just a plain
URL without a description, compare the strings as they were before
doing escaping. This fixes a bug where plain URLs could sometimes
be published as if they were URLs with descriptions.
* lisp/muse-texinfo.el (muse-texinfo-decide-specials): Add
footnote.
2007-08-29 Michael Olson <[email protected]>
* lisp/muse.el (muse-update-values): Reset the value of
muse-current-project in all Muse buffers. This updates the rules
in case you want to publish a file after changing its associated
muse-project-alist entry.
2007-08-27 Michael Olson <[email protected]>
* lisp/muse.el (muse-update-values): New function that the user
can call after changing muse-project-alist, in order to update
various autogenerated values.
* texi/muse.texi (Keystroke Summary): Document it.
2007-08-25 Michael Olson <[email protected]>
* examples/QuickStart.muse: Fix typo in first paragraph. Thanks
to Karl Berry for reporting this.
* lisp/muse-mode.el (muse-visit-link-default): Fix bug with
browsing anchors that come after a link to them.
* texi/muse.texi (Poem): Fix typo in spelling of LaTeX. Thanks to
Karl Berry for reporting this.
2007-08-24 Michael Olson <[email protected]>
* Release Emacs Muse 3.11.
* AUTHORS: Add new authors for contrib files.
* NEWS: Add entries for Muse 3.11.
* README: Mention that contents of contrib/blosxom and
contrib/pyblosxom have different licenses than the rest of Muse.
* contrib/blosxom/getstamps.pl: New file that implements fetching
timestamps from published Muse files and placing them in a single
timestamps file. That file can then be used by blosxom's metadate
plugin. Thanks to Michael Welle for providing this file, as well
as instructions on how to use Muse with Blosxom.
* contrib/blosxom/metadate_0_0_3: New file implementing the
metadate plugin for blosxom.
* contrib/pyblosxom/getstamps.py: Add license text. It seems safe
to assume that the original author wanted this to be distributed
with Pyblosxom, and hence use the MIT license like the rest of
Pyblosxom.
* contrib/pyblosxom/hardcodedates.py: Add license text.
* contrib/pyblosxom/make-blog: Change license text to be "This
file may be used, distributed, and modified without restriction."
* contrib/pyblosxom/metadate.py: New file that implements the
PyBlosxom metadate plugin. Since this can no longer be found at
the original author's website, I have included it with Muse.
* lisp/muse-blosxom.el: Update location of metadate plugin in
header.
* lisp/muse-wiki.el (muse-wiki-project-file-regexp): Fix typo in
docstring.
* texi/muse.texi (Blosxom Requirements): Organize information by
subheading and subsubheading, and document how to use the metadate
plugin. Briefly document using Blosxom to serve Muse entries.
2007-08-23 Michael Olson <[email protected]>
* lisp/muse-html.el (muse-html-insert-contents): Escape heading
title just before extracting it.
* lisp/muse-latex.el (muse-latex-fixup-headings): New function
that removes footnotes from headers, since they are invalid in
LaTeX.
(muse-latex-munge-buffer): Call it.
* lisp/muse-publish.el (muse-publish-markup-heading): Don't escape
specials here. This fixes a bug involving links in headings.
* lisp/muse.el (muse-update-file-extension): Simplify, and handle
some edge cases.
(muse-update-file-extension-after-init): Temporarily bind
muse-file-extension to "muse", so that muse-update-file-extension
knows what the old value was. This should fix a bug reported by
Jean Magnan de Bornier.
2007-08-21 Michael Olson <[email protected]>
* lisp/muse-texinfo.el (muse-texinfo-markup-strings): Try to make
url, link, and link-and-anchor look better in texi2html output.
Thanks to thorne for the report.
2007-08-20 Michael Olson <[email protected]>
* lisp/muse-journal.el (muse-journal-anchorize-title): Revamp to
escape characters rather than discard them. Use muse-regexp-alnum
rather than listing out the characters and numbers. Thanks to
Shunsuke OKANO for the report.
(muse-journal-rss-munge-buffer): Make sure that <![CDATA[ stuff is
used when generating a summary.
2007-08-19 Michael Olson <[email protected]>
* examples/mwolson: Update my example settings.
* lisp/muse-colors.el (muse-colors-region): Bind
muse-colors-region-end to the end of the last line. This avoids a
bug where lines that had emphasis would suddenly become
unhighlighted when moving around the buffer.
* lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug
involving paragraphs after literallayout markup, which is used in
<verse> tags. Thanks to Shunsuke OKANO for the report.
* lisp/muse-html.el (muse-html-src-tag): Use
muse-delete-and-extract-region.
* lisp/muse-import-xml.el: Add require statement.
(muse-import-xml-parse-node): Use muse-replace-regexp-in-string.
* lisp/muse-protocols.el (muse-browse-url-man): Add require
statement.
(muse-browse-url-woman): Add require statement.
* lisp/muse-publish.el (muse-publish-surround-text): Fix serious
bug in definition list publishing. We were skipping past the
initial indented line, and that was causing an erroneous
blockquote to be inserted. This alone merits a new release.
* lisp/muse-texinfo.el (muse-texinfo-info-generate): Fix bug with
XEmacs' return value for shell-command.
* lisp/muse.el (muse-delete-and-extract-region): New compatibility
function to deal with XEmacs' lack of the
delete-and-extract-region function.
2007-08-18 Michael Olson <[email protected]>
* AUTHORS: Update.
* lisp/muse-publish.el (muse-publish-include-tag): Switch from
copy-tree to copy-alist, since Emacs21 does not have the former,
and the latter does what we want.
* lisp/muse.el: Force-require 'derived, since Emacs21 does not
have derived-mode-p in subr.el like Emacs22 does.
2007-08-17 Michael Olson <[email protected]>
* etc/muse.rnc: Add the <cite> tag.
* lisp/muse-context.el (muse-context-slides-header): Clarify what
"mystyle" is.
* lisp/muse-xml.el (muse-xml-markup-strings): Mark up citations as
<cite type="something">. We'll leave it to the post processing
tools to interpret that.
* texi/muse.texi (Directives, Blosxom Entries): Use @code{} for
directives.
(Citations): New section that explains further how to use the
<cite> tag. The text was taken from Marcus Hoenicka's
documentation at http://refdb.sourceforge.net/muse.html and
modified.
(Tag Summary): Link to the Citations section in the entry for
<cite>.
(ConTeXt): Update the documentation for
muse-context-slides-header.
2007-08-17 Jean Magnan de Bornier <[email protected]>
* lisp/muse-context.el (muse-context-slides-header): Use #module
directive, if it is provided.
(muse-context-slides-header): Mention how to use #module.
2007-08-16 Michael Olson <[email protected]>
* Release Emacs Muse 3.10.
* Makefile (dist, debprepare): Pass HEAD argument to git-archive.
(upload): Don't depend on release rule.
* NEWS: Document remaining changes.
2007-08-15 Michael Olson <[email protected]>
* NEWS: Document items through 2007-08-12.
* lisp/muse-colors.el: Split the muse-directive-or-comment
property into two separate properties that are muse-directive and
muse-comment.
(muse-colors-region-end): Make buffer-local.
(muse-colors-delayed-commands): New variable that contains a list
of commands to run immediately after highlighting. This is meant
to allow highlighting functions to delay code until later.
(muse-colors-region): Apply commands in
muse-colors-delayed-commands.
(muse-colors-inhibit-tags-in-directives): New variable that
determines whether tags are allowed in directives.
(muse-colors-custom-tags): Take
muse-colors-inhibit-tags-in-directives into account.
(muse-unhighlight-region): Remove muse-directive and muse-comment
properties.
(muse-colors-title): Modify muse-colors-delayed-commands.
(muse-colors-title-lisp): New command that gets called after
highlighting other things. This interprets <lisp> tags, and is
passed arguments specifying the beginning and end of the region.
Thanks to Junichi Uekawa for the report. The reason we want to do
things this way is because this is the behavior we get already
when publishing the page.
* lisp/muse.el (muse-goto-tag-end): Change to use muse-comment
property rather than muse-directive-or-comment.
2007-08-14 Michael Olson <[email protected]>
* lisp/muse-colors.el: Document all functions and variables.
(muse-colors-emphasized, muse-colors-underlined)
(muse-colors-verbatim, muse-colors-custom-tags)
(muse-colors-explicit-link, muse-colors-implicit-link): Don't trod
on comments or the #title directive.
(muse-colors-markup): Add comment rule.
(muse-colors-implicit-link): Only remove flyspell overlay after we
decide whether this is an implicit link, rather than before.
(muse-colors-title): Add the muse-directive-or-comment property.
(muse-colors-comment): New function that colorizes comments using
font-lock-comment-face.
(muse-colors-region-end): New variable indicating the end of the
region that is currently being font-locked. This removes the need
for an ugly "defvar end" hack.
(muse-colors-emphasized, muse-colors-underlined)
(muse-colors-verbatim): Use it.
(muse-colors-region): Let-bind it.
* lisp/muse-mode.el (muse-list-edit-minor-mode): Grammar fix in
docstring.
* lisp/muse-publish.el (muse-publish-markup-heading): Escape
specials in heading now, rather than waiting on the whole-document
pass later on. This lets <contents> generation work without
validation errors. Thanks to Reid van Melle for the report.
* texi/muse.texi (Tag Summary): Document <cite> tag.
(Miscellaneous): New chapter containing "Muse List Edit Minor
Mode" section.
(Muse List Edit Minor Mode): New section that documents
muse-list-edit-minor-mode.
(Development): Mention the MuseDevlopment page on emacswiki.org.
* lisp/muse.el (muse-goto-tag-end): Deal with case where we are
font-locking and the end or beginning of a tag is in a comment or
directive.
2007-08-12 Michael Olson <[email protected]>
* lisp/muse-html.el (muse-html-strip-links): New function that
strips HTML links from a string.
(muse-html-insert-contents): Use it, instead of
muse-publish-strip-tags. This fixes a bug reported by Xin Shi
involving the use of <sup> in section titles.
* lisp/muse-project.el (muse-project-resolve-directory): New
function that figures out the directory part of the path that
provides a link to a page.
(muse-project-resolve-link): Expand docstring. Use the new
function. Don't call muse-publish-link-file, because that does
the wrong thing when we have muse-file-extension set to nil.
Thanks to Sebastian Obermanns for the report.
(muse-project-publish-this-file): Let-bind muse-current-project.
Also, if the file is not associated with a project, fall back to
muse-publish-this-file.
(muse-project-set-variables): Add this to
muse-before-publish-hook, so that it gets called. This fixes a
bug where project-specific variables were being used in Muse mode,
but ignored when publishing.
* lisp/muse-publish.el (muse-publish-link-name)
(muse-publish-link-file, muse-publish-link-page): Add docstrings
so that I can remember what each of these things do.
(muse-publish-strip-tags): Remove, since it is no longer used.
(muse-publish-cite-tag): Don't let-bind
muse-publishing-directives, because there is no need to do so.
Fix code indentation.
(muse-publish-markup-attribute): Avoid multiple evaluation of
attrs argument, in case it is list value instead of a symbol. Use
sexp instead of form in the edebug-form-spec.
(muse-publish-include-tag): Make a full copy of
muse-publishing-directives, since it can be modified with setcdr.
This fixes a bug where #title and some other directives were
leaking out of an included region.
(muse-publish-mark-up-tag): Don't let-bind
muse-publishing-directives, because there is no need to do so.
* lisp/muse.el (muse-page-name): Improve docstring.
* texi/muse.texi (Development): Mention the http method for
anonymous git access to the shared repo.
2007-08-10 Michael Olson <[email protected]>
* Makefile (dist, debprepare): Use git instead of tla.
* contrib/httpd.el (httpd-send-file): Use insert-file-contents.
* examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
Use muse-insert-file-contents.
* experimental/muse-split.el (muse-publish-file)
(muse-publish-presplit-publish, muse-publish-no-split-function)
(muse-journal-split-by-entry, muse-journal-split-by-month): Use
muse-insert-file-contents.
* lisp/muse-book.el (muse-book-publish-chapter)
(muse-book-get-directives): Use muse-insert-file-contents.
* lisp/muse-http.el (muse-http-render-page): Use
muse-insert-file-contents.
* lisp/muse-poem.el (muse-poem-markup-tag): Use
muse-insert-file-contents.
* lisp/muse-publish.el (muse-insert-file-or-string)
(muse-publish-file, muse-publish-include-tag)
(muse-published-contents): Use muse-insert-file-contents.
* lisp/muse.el (muse-insert-file-contents): New function that
inserts a file with character code conversion, but none of the
other frivolities. Since insert-file-contents-literally does not
do character code conversion, it is not suitable for us.
(muse-with-temp-buffer): Mention muse-insert-file-contents rather
than insert-file-contents-literally.
2007-08-09 Michael Olson <[email protected]>
* lisp/muse.el (muse-write-file): Pay attention to
coding-system-for-write and save-buffer-coding-system. This
should fix a recently-introduced bug with writing Muse pages in
different coding systems.
2007-08-08 Michael Olson <[email protected]>
* README (Prerequisites): Fix typo.
(Compilation, Installation): Update.
(Documentation, Further Documentation): Update URLs.
(Further Documentation): Add quick blurb on how to participate in
Muse development or track changes.
* texi/muse.texi (Releases): Use gna.org URL for downloading the
latest release, rather than my website.
(Development): Change instructions to use git instead of
Arch. Mention where to get a Windows binary for git. Improve the
look of the listing. Add section with instructions for Becoming a
Muse developer.
(Installation): Update instructions for Makefile.defs.default and
XEmacs. Add index entries. Add section for ELPA, since Muse
ought to be distributed in ELPA after the 3.10 release. Fix typo
and clarify wording.
2007-08-06 Michael Olson <[email protected]>
* texi/muse.texi: Make sure that attributes are marked up with
@option{} rather than @code{} or @samp{} for consistency.
(Journal): Add "muse-project-alist-considerations" subheading,
along with a mention of :base-url.
2007-08-05 Michael Olson <[email protected]>
* .gitignore: Add texi/muse.html and the DVC log edit file.
* Makefile.defs.default (install_info): Rename from INSTALLINFO.
Turn this into something that can be called like a command, due to
needing to deal with XEmacs, which has different argument order.
Thanks to Terrence Brannon for the report.
* lisp/muse-project.el (muse-project-of-file): Simplify by using
catch, throw, and dolist. Look for exact matches before
considering any subdirectories. If no exact matches are found,
then pick the longest match.
* lisp/muse.el (muse-sort-by-rating): Mention default test in
documentation.
* scripts/muse-build.el: Avoid interference from VC.el in the
build process.
* texi/Makefile (install): Call install_info.
2007-08-03 Michael Olson <[email protected]>
* lisp/muse-project.el (muse-project-applicable-styles): Remove
useless argument ignore-regexp. Use saner logic. This fixes a
bug where a file could potentially not exist but still appear in
the used-styles list. Thanks to John Wiegley for the fix.
(muse-project-publish-file): Don't take ignore-reegxp argument.
2007-08-02 Michael Olson <[email protected]>
* lisp/muse-publish.el (muse-batch-publish-files): Don't activate
VC when publishing files in batch. This avoids some annoying
messages when building QuickStart in the examples directory.
* lisp/muse-mode.el (muse-mode): Don't try to indent line before
inserting a comment.
2007-07-31 Michael Olson <[email protected]>
* lisp/Makefile: Add dependencies between Emacs Lisp files, so
that Muse can be recompiled without running "make clean" after an
update.
* lisp/muse-publish.el (muse-publish-verse-tag): Unconditionally
delete forward one character, since we are guaranteed to be on a
blank line. Don't delete all initial whitespace of the first
line. This fixes an issue where the output from the verse tag did
not match the output from Muse's verse syntax.
2007-07-29 Michael Olson <[email protected]>
* Relicense to GPLv3.
* Makefile.defs.default: Rename from Makefile.defs. This allows
people to copy this file to Makefile.defs and make changes,
without having the changes be accidentally committed. If
Makefile.defs does not exist, this file is read instead, in order
to minimize inconvenience to the casual user.
* Makefile, contrib/Makefile, examples/Makefile,
experimental/Makefile, lisp/Makefile, texi/Makefile: Use either
Makefile.defs.default or Makefile.defs.
* lisp/muse-mode.el (muse-list-edit-minor-mode-map): Use new
function names.
(muse-l-e-m-m-insert-list-item): Add real documentation.
(muse-l-e-m-m-increase-list-item-indent)
(muse-l-e-m-m-decrease-list-item-indent): Rename for clarity. Add
real documentation.
(muse-list-edit-minor-mode): Improve documentation.
* texi/doclicense.texi (GNU Free Documentation License): Use
pristine copy from Emacs source tree.
* texi/muse.texi (Contributors): Move node and appendix indicators
here, rather than doclicense.texi.
2007-07-29 Jean Magnan de Bornier <[email protected]>
* lisp/muse-latex.el (muse-latex-markup-strings): Change rule
command which did not work correctly
* lisp/muse-context.el (muse-context-markup-strings): Change rule
command which did not work correctly; defined verse commands
(muse-context-markup-specials-literal): Eliminate all unuseful entries
2007-07-29 Michael Olson <[email protected]>
* contrib/httpd.el (httpd-send-file): Use
insert-file-contents-literally instead of insert-file-contents.
* examples/mwolson/muse-init.el (my-muse-prepare-entry-for-xanga):
Use insert-file-contents-literally instead of
insert-file-contents.
* experimental/muse-split.el (muse-publish-file)
(muse-publish-presplit-publish, muse-publish-no-split-function)
(muse-journal-split-by-entry, muse-journal-split-by-month): Use
insert-file-contents-literally instead of insert-file-contents.
* lisp/muse-book.el (muse-book-publish-chapter)
(muse-book-get-directives): Use insert-file-contents-literally
instead of insert-file-contents.
* lisp/muse-http.el (muse-http-render-page): Use
insert-file-contents-literally instead of insert-file-contents.
* lisp/muse-import-latex.el (muse-import-latex): Set marker to
nowhere when done, since they can slow things down.
* lisp/muse-journal.el (muse-journal-html-munge-buffer): Set
marker to nowhere when done, since they can slow things down.
* lisp/muse-poem.el (muse-poem-markup-tag): Set marker to nowhere
when done, since they can slow things down. Use
insert-file-contents-literally instead of insert-file-contents.
* lisp/muse-publish.el (muse-publish-markup-tag)
(muse-publish-markup-word, muse-publish-markup-footnote)
(muse-publish-call-tag-on-buffer): Set markers to nowhere when
done, since they can slow things down.
(muse-insert-file-or-string, muse-publish-file)
(muse-publish-include-tag, muse-published-contents): Use
insert-file-contents-literally instead of insert-file-contents.
(muse-publish-surround-dl): Remove unused variable. Track whether
a term has been found, and handle that case well.
(muse-publish-ensure-blank-line): Use a marker, so that we don't
lose our place when adding a newline. This really fixes the
definition list item bug.
(muse-publish-markup-list): Since people do seem to want
definition lists with no terms, allow this.
(muse-batch-publish-files): Set muse-current-output-style.
* lisp/muse.el (muse-with-temp-buffer): Mention
`insert-file-contents-literally'.
2007-07-28 Michael Olson <[email protected]>
* lisp/muse-mode.el (muse-browse-result): Set
muse-current-output-style.
(muse-mode): Don't duplicate the paragraph-start regexp
unnecessarily.
(muse-list-edit-minor-mode-map): New variable containing the
keymap for Muse list edit minor mode.
(muse-l-e-m-m-list-item-regexp): New variable that matches list
items for Muse list edit minor mode.
(muse-l-e-m-m-insert-list-item,
muse-l-e-m-m-i-list-item-indentation)
(muse-l-e-m-m-d-list-item-indentation): Variants of existing list
item functions that change the list item regexp before calling the
existing function.
(muse-l-e-m-m-data): New variable that keeps track of the fill
data that we overwrite when activating Muse list edit minor mode,
so that we can restore it if the minor mode is toggled off.
(muse-list-edit-minor-mode): New minor mode that is useful for
editing lists in other major modes.
(turn-on-muse-list-edit-minor-mode)
(turn-off-muse-list-edit-minor-mode): New interactive functions
that turn Muse list edit minor mode on and off, respectively.
(muse-on-blank-line, muse-get-paragraph-start): Simplify some
regexps.
* lisp/muse-project.el (muse-project-publish-this-file): Set
muse-current-output-style. This fixes a bug when publishing to a
style that is not first in the list of styles. Thanks to Jean
Magnan de Bornier for the report.
* lisp/muse-publish.el (muse-publish-ensure-blank-line): New
function that ensures that a blank line exists in the line before
point.
(muse-publish-markup-list): Use it, rather than
`muse-publish-ensure-block'. This fixes a bug with definition
list publishing. Thanks to meandtheshell for reporting this.
* lisp/muse-wiki.el (muse-wiki-resolve-project-page): If the
project argument is nil, default to the current project instead of
the first project entry in muse-project-alist. This seems much
more sane to me.
* lisp/muse.el (muse-forward-list-item): Only check the 'face
property if we are in Muse mode or one of its derivatives. This
allows movement on nested lists to work in other modes, and fixes
an issue with altering list indentation in
muse-list-edit-minor-mode.
2007-07-27 Michael Olson <[email protected]>
* AUTHORS: Add new authors.
* README: Permit Muse to be called "Emacs-Muse".
* etc/IDEAS.muse: Remove now-implemented ideas and duplicate idea.
* lisp/muse-publish.el (muse-publish-surround-text): Fix bug
involving list items that have an extra blank line in front.
* texi/muse.texi (Introduction): Mention that Emacs Muse, Muse,
and Emacs-Muse are the same thing.
2007-07-27 Jean Magnan de Bornier <[email protected]>
* lisp/muse-context.el (muse-context-header): Put
starttext after the modules who must be in preamble.
(muse-context-markup-strings): Fixed mistake in begin-example and
end-example.
* lisp/muse-latex2png.el (muse-publish-math-tag): Replaced the
math environment in ConTeXt when centered: "$$ $$" has to be
"\startformula \stopformula".
2007-07-26 Michael Olson <[email protected]>
* lisp/muse-xml-common.el (muse-xml-escape-url): Do not escape
parentheses in URLs.
2007-07-24 Michael Olson <[email protected]>
* examples/QuickStart.muse (Images): Fix typo where some text
existed in the output but not in the example region.
(Source Code): Fix another typo. Explain that publishing from
console or X can make a difference.
* lisp/muse-context.el (muse-context-pdf-program): New option that
determines the program to use for generating PDF files for
ConTeXt.
(muse-context-pdf-cruft): New option that specifies the extensions
of files to remove after generating PDF output successfully.
(muse-context-slides-header): Docfix.
(muse-context-pdf-generate): Use new options.
* lisp/muse-publish.el (muse-publish-lisp-tag): Add missing
save-restriction call. This was causing a world of hurt when
using <lisp> inside of <include>.
* texi/muse.texi (ConTeXt): New section that documents how to use
the ConTeXt publishing styles.
2007-07-23 Michael Olson <[email protected]>
* lisp/muse-context.el: New file that provides support for
publishing documents to the ConTeXt format. Thanks to Jean Magnan
de Bornier for his work on this.
* lisp/muse-docbook.el (muse-docbook-entities)
(muse-docbook-bibliography): Remove unneeded save-restriction use.
* lisp/muse-latex2png.el (muse-publish-latex-tag):
s/contex/context/.
* lisp/muse-latex.el (muse-latex-fixup-citations): Add docstring.
(muse-latex-bibliography): Remove call to `widen', since it is not
needed anymore. Remove unneeded save-restriction use.
("slides", "slides-pdf"): Indent elements uniformly.
2007-07-22 Michael Olson <[email protected]>
* lisp/muse-blosxom.el (muse-blosxom-new-entry):
* lisp/muse-mode.el (muse-insert-tag):
* lisp/muse-project.el (muse-read-project)
(muse-read-project-file):
* lisp/muse-publish.el (muse-publish-get-style): Use
muse-completing-read-function.
* lisp/muse-latex2png.el (muse-publish-latex-tag)
(muse-publish-math-tag): Allow the context style -- which I plan
to include soon -- to work with these tags.
* lisp/muse.el (muse-completing-read-function): New option that
determines which function to call when doing a completing-read.
2007-07-15 Michael Olson <[email protected]>
* lisp/muse-journal.el (muse-journal-html-entry-template)
(muse-journal-rdf-entry-template)
(muse-journal-rss-entry-template): Mention that this can be text
or a filename.
(muse-journal-rdf-entry-template, muse-journal-rss-header)
(muse-journal-rss-footer, muse-journal-rss-entry-template): Add
newlines to make the output look nicer.
(muse-journal-html-munge-buffer, muse-journal-rss-munge-buffer):
Use muse-insert-file-or-string for the entry templates, rather
than muse-insert-markup. This allows <lisp> and <markup> tags to
be acted on. Thanks to Scott Hyde for the report.
(muse-journal-html-munge-buffer): Escape quote of the day using
entire-document specials before snarfing it. Mark entire template
as read-only -- this fixes an incorrect escaping bug. Remove
read-only properties before replacing template matches so that
they can still be escaped with entire-document specials later on.
(muse-journal-rss-munge-buffer): Make sure that title is escaped
properly.
(muse-journal-markup-tags): Rename from
muse-journal-latex-markup-tags, because we will use it for
journal-rss-entry as well.
(muse-journal-qotd-tag): Move higher. Use begin-quote-item and
end-quote-item.
(muse-journal-rss-munge-buffer): Use journal-rss-entry rather than
html.
("journal-latex", "journal-pdf", "journal-book-latex")
("journal-book-pdf"): Use muse-journal-markup-tags rather than
muse-journal-latex-markup-tags.
("journal-rss-entry"): New style that is used by journal-rss and
journal-rdf to mark up individual entries. It is needed so that
we can do something meaningful with the qotd tag.
(muse-journal-rdf-summarize-entries): Set this to nil by default,
because it is annoying. Update docs to mention this.
(muse-journal-rss-summarize-entries): Docfix.
* lisp/muse-publish.el (muse-insert-file-or-string): Use
muse-publish-markup-header-footer-tags. I'm not quite sure how
this change got reverted.
(muse-markup-tag-info): Make into a function. Move common code
here, rather than duplicating it in two places. Deal with case
where muse-publish-use-header-footer-tags is non-nil.
(muse-publish-markup-specials, muse-publish-inhibit-style-hooks)
(muse-inhibit-style-tags): Move higher to avoid byte-compiler
warning.
(muse-publish-use-header-footer-tags): New variable that indicates
whether we should use just the header and footer tags, rather than
the full set.
(muse-insert-file-or-string): Bind
muse-publish-use-header-footer-tags to t.
(muse-publish-markup-tag, muse-publish-call-tag-on-buffer):
Simplify call to muse-markup-tag-info.
(muse-publish-mark-up-tag): Bind
muse-publish-use-header-footer-tags to nil.
* texi/muse.texi (Journal): Update for recent changes.
2007-07-14 Michael Olson <[email protected]>
* lisp/muse-journal.el (muse-journal-rss-munge-buffer): Don't
delete the remainder of the buffer, since this causes the
resulting RDF to have invalid syntax. Thanks to Phillip Lord for
the report and the suggested fix.
* lisp/muse-publish.el (muse-publish-markup-regexps): Add "^" to
beginning of table-el regexp. This fixes a bug where Muse stalls
when trying to publish a malformed table. Thanks to Ye Wenbin for
the report and the suggested fix.
2007-07-12 Michael Olson <[email protected]>
* lisp/muse-wiki.el (muse-wiki-interwiki-regexp): Set to nil by
default, rather than the empty string. This really fixes the bug
that occurred when using Muse with muse-project-alist set to nil.
Thanks to Jonathan Underwood for the report.
(muse-wiki-update-interwiki-regexp): Set
muse-wiki-interwiki-regexp to nil if muse-project-alist is not
defined.
(muse-wiki-handle-implicit-interwiki)
(muse-wiki-handle-explicit-interwiki): Handle case where
muse-wiki-interwiki-regexp is nil.
2007-07-10 Michael Olson <[email protected]>
* lisp/muse-mode.el (muse-grep): Abort search if the current
project contains no directories.
* lisp/muse-project.el (muse-project-file-alist): If
muse-project-alist is not defined, or project is nil, return nil
right away. This ought to fix a bug that occurred when using Muse
with muse-project-alist set to nil.
(muse-project-of-file): Make sure muse-project-alist is not nil.
(muse-project-save-buffers): Make sure project is not nil.
* lisp/muse-wiki.el (muse-wiki-resolve-project-page): Deal with
case where muse-project-alist is nil.
* lisp/muse.el (muse-replace-regexp-in-string): Explicitly check
for XEmacs, since color-theme.el is poorly behaved, and defines
its own replace-in-string. Bad color-theme.el -- no cookie for
you.
2007-07-01 Michael Olson <[email protected]>
* Makefile (.PHONY): Update for new debian package rules.
* lisp/muse-book.el (muse-book-latex-footer): Wrap long line.
* lisp/muse-docbook.el (muse-docbook-fixup-citations): Re-indent.
Use save-restriction properly.
(muse-docbook-entities, muse-docbook-bibliography): : Re-indent.
* lisp/muse-latex.el (muse-latex-footer): Wrap long line.
(muse-latex-fixup-citations): Re-indent. Use save-restriction
properly.
(muse-latex-bibliography): Re-indent.
* lisp/muse-publish.el (muse-publish-get-and-delete-attr): Move
higher. This fixes an error at startup with some versions of
Emacs.
(muse-publish-cite-tag): Re-indent.
* lisp/muse-wiki.el (muse-wiki-handle-explicit-interwiki): Narrow
to the end of the link part, so as to exclude the description from
the match. This fixes a bug with three-part links that have
descriptions. Thanks to everyone who pointed it out.
2007-06-18 Michael Olson <[email protected]>
* lisp/muse-html.el (muse-html-markup-strings): Add anchor.
(muse-xhtml1.1-markup-strings): New option that specifies XHTML
1.1 specific markup strings.
(muse-html-insert-anchor): Use 'anchor string, rather than
hard-coding it. Thanks to Chris Corsair for the suggestion.
("xhtml1.0"): New style that is an alias for the xhtml style.
("xhtml1.1"): New style that publishes XHTML 1.1 compliant output.
2007-06-17 Michael Olson <[email protected]>
* examples/QuickStart.muse: Make images local so that the Info
version of this document works. Add <example> for the Literal
paragraphs chapter, so that it is clear what is happening.
* Makefile: Add elpa target, which is used for building an ELPA
package for Muse.
* Makefile.defs (ELPADIR, ELPADESC): New variables used for
building ELPA packages.
* examples/Makefile (%.html, %.pdf, %.info): Add message to
indicate what we are publishing.
(realclean distclean fullclean): Remove all TeX crud.
* examples/emacs-muse.png, examples/muse-made-with.png: Include so
that the Info version of QuickStart can publish correctly.
* lisp/muse-latex.el (muse-latex-slides-header)
(muse-latex-lecture-notes-header): Docfix.
* lisp/muse-project.el (muse-project-ignore-regexp): Add .git to
the list of things to ignore.
* lisp/muse-publish.el (muse-publish-markup-list): Remove unused