Mercurial > emacs
annotate lispref/two.el @ 61126:c0aa521e0ca7
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-220
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 45-52)
- Update from CVS
- Update from CVS: texi Makefile.in CVS keyw cruft
- Update from CVS: ChangeLog tweaks
2005-03-29 Reiner Steib <Reiner.Steib@gmx.de>
* etc/gnus-refcard.tex, etc/gnus-logo.eps: New files.
2005-03-25 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/message.el (message-resend): Bind rfc2047-encode-encoded-words.
* lisp/gnus/mm-util.el (mm-replace-in-string): New function.
(mm-xemacs-find-mime-charset-1): Ignore errors while loading
latin-unity, which cannot be used with XEmacs 21.1.
* lisp/gnus/rfc2047.el (rfc2047-encode-function-alist): Rename from
rfc2047-encoding-function-alist in order to avoid conflicting with
the old version.
(rfc2047-encode-message-header): Remove useless goto-char.
(rfc2047-encodable-p): Don't move point.
(rfc2047-syntax-table): Treat `(' and `)' as is.
(rfc2047-encode-region): Concatenate words containing non-ASCII
characters in structured fields; don't encode space-delimited
ASCII words even in unstructured fields; don't break words at
char-category boundaries; encode encoded words in structured
fields; treat text within parentheses as special; show the
original text when error has occurred; move point to the end of
the region after encoding, suggested by IRIE Tetsuya
<irie@t.email.ne.jp>; treat backslash-quoted characters as
non-special; check carefully whether to encode special characters;
fix some kind of misconfigured headers; signal a real error if
debug-on-quit or debug-on-error is non-nil; don't infloop,
suggested by Hiroshi Fujishima <pooh@nature.tsukuba.ac.jp>; assume
the close parenthesis may be included in the encoded word; encode
bogus delimiters.
(rfc2047-encode-string): Use mm-with-multibyte-buffer.
(rfc2047-encode-max-chars): New variable.
(rfc2047-encode-1): New function.
(rfc2047-encode): Use it; encode text so that it occupies the
maximum width within 76-column; work correctly on Q encoding for
iso-2022-* charsets; fold the line before encoding; don't append a
space if the encoded word includes close parenthesis.
(rfc2047-fold-region): Use existing whitespace for LWSP; make it
sure not to break a line just after the header name.
(rfc2047-b-encode-region): Remove.
(rfc2047-b-encode-string): New function.
(rfc2047-q-encode-region): Remove.
(rfc2047-q-encode-string): New function.
(rfc2047-encode-parameter): New function.
(rfc2047-encoded-word-regexp): Don't use shy group.
(rfc2047-decode-region): Follow rfc2047-encoded-word-regexp change.
(rfc2047-parse-and-decode): Ditto.
(rfc2047-decode): Treat the ascii coding-system as raw-text by
default.
2005-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
* lisp/gnus/rfc2047.el (rfc2047-encode-encoded-words): New variable.
(rfc2047-field-value): Strip props.
(rfc2047-encode-message-header): Disabled header folding -- not
all headers can be folded, and this should be done by the message
composition mode. Probably. I think.
(rfc2047-encodable-p): Say that =? needs encoding.
(rfc2047-encode-region): Encode =? strings.
2005-03-25 Jesper Harder <harder@ifa.au.dk>
* lisp/gnus/rfc2047.el (rfc2047-encoded-word-regexp): Support RFC 2231
language tags; remove unnecessary '+'. Reported by Stefan Wiens
<s.wi@gmx.net>.
(rfc2047-decode-string): Don't cons a string unnecessarily.
(rfc2047-parse-and-decode, rfc2047-decode): Use a character for
the encoding to avoid consing a string.
(rfc2047-decode): Use mm-subst-char-in-string instead of
mm-replace-chars-in-string.
2005-03-25 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
* lisp/gnus/rfc2047.el (rfc2047-encode): Use uppercase letters to specify
encodings of MIME-encoded words, in order to improve
interoperability with several broken MUAs.
2005-03-21 Reiner Steib <Reiner.Steib@gmx.de>
* lisp/gnus/gnus-srvr.el (gnus-browse-select-group): Add NUMBER argument and
pass it to `gnus-browse-read-group'.
(gnus-browse-read-group): Add NUMBER argument and pass it to
`gnus-group-read-ephemeral-group'.
* lisp/gnus/gnus-group.el (gnus-group-read-ephemeral-group): Add NUMBER
argument and pass it to `gnus-group-read-group'.
2005-03-19 Aidan Kehoe <kehoea@parhasard.net>
* lisp/gnus/mm-util.el (mm-xemacs-find-mime-charset): Only call
mm-xemacs-find-mime-charset-1 if we have the mule feature
available at runtime.
2005-03-25 Katsumi Yamaoka <yamaoka@jpl.org>
* man/emacs-mime.texi (Display Customization): Markup fixes.
(rfc2047): Update.
2005-03-23 Reiner Steib <Reiner.Steib@gmx.de>
* man/gnus-faq.texi: Replaced with auto-generated version.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 30 Mar 2005 08:14:32 +0000 |
parents | 695cf19ef79e |
children | 9f4849fee703 375f2633d815 |
rev | line source |
---|---|
41193 | 1 ;; Auxilary functions for preparing a two volume manual. |
2 ;; --rjc 30mar92 | |
3 | |
4 (defun volume-aux-markup (arg) | |
5 "Append `vol. NUMBER' to page number. | |
6 Apply to aux file that you save. | |
7 Then insert marked file into other volume's .aux file." | |
8 (interactive "sType volume number, 1 or 2: " ) | |
9 (goto-char (point-min)) | |
10 (while (search-forward "-pg" nil t) | |
11 (end-of-line 1) | |
12 (delete-backward-char 1 nil) | |
13 (insert ", vol.'tie" arg "}"))) | |
14 | |
15 (defun volume-index-markup (arg) | |
16 "Prepend `NUMBER:' to page number. Use Roman Numeral. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
41193
diff
changeset
|
17 Apply only to unsorted index file, |
41193 | 18 Then insert marked file into other volume's unsorted index file. |
19 Then run texindex on that file and save." | |
20 (interactive | |
21 "sType volume number, roman number I or II: " ) | |
22 (goto-char (point-min)) | |
23 (while (search-forward "\\entry" nil t) | |
24 (search-forward "}{" (save-excursion (end-of-line) (point)) nil) | |
25 (insert arg ":"))) | |
26 | |
27 (defun volume-numbers-toc-markup (arg) | |
28 (interactive | |
29 "sType volume number, roman number I or II: " ) | |
30 (goto-char (point-min)) | |
31 (while (search-forward "chapentry" nil t) | |
32 (end-of-line) | |
33 (search-backward "{" nil t) | |
34 (forward-char 1) | |
35 (insert arg ":"))) | |
36 | |
37 (defun volume-header-toc-markup () | |
38 "Insert Volume I and Volume II text into .toc file. | |
39 NOTE: this auxilary function is file specific. | |
40 This is for the *Elisp Ref Manual*" | |
41 (interactive) | |
42 (goto-char (point-min)) | |
43 (insert "\\unnumbchapentry {Volume 1}{}\n\\unnumbchapentry {}{}\n") | |
44 (search-forward "\\unnumbchapentry {Index}") | |
45 (forward-line 1) | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
41193
diff
changeset
|
46 (insert |
41193 | 47 "\\unnumbchapentry {}{}\n\\unnumbchapentry {}{}\n\\unnumbchapentry {}{}\n\\unnumbchapentry {}{}\n\\unnumbchapentry {Volume 2}{}\n\\unnumbchapentry {}{}\n")) |
48 | |
49 | |
50 ;;; In batch mode, you cannot call functions with args; hence this kludge: | |
51 | |
52 (defun volume-aux-markup-1 () (volume-aux-markup "1")) | |
53 (defun volume-aux-markup-2 () (volume-aux-markup "2")) | |
54 | |
55 (defun volume-index-markup-I () (volume-index-markup "I")) | |
56 (defun volume-index-markup-II () (volume-index-markup "II")) | |
57 | |
58 (defun volume-numbers-toc-markup-I () (volume-numbers-toc-markup "I")) | |
59 (defun volume-numbers-toc-markup-II () (volume-numbers-toc-markup "II")) | |
52401 | 60 |
61 ;;; arch-tag: 848955fe-e9cf-45e7-a2f1-570ef156d6a5 |