diff options
| author | Katsumi Yamaoka | 2010-11-12 05:59:53 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-11-12 05:59:53 +0000 |
| commit | 2f0e0dc8be44dba7d4cf8750844f1e8cbe22b740 (patch) | |
| tree | 73334128d2b182fb8a67e96113dd908d7a7f4b99 | |
| parent | 537c0c7219fa072fb7d62acf3c30ac844f7e8ac7 (diff) | |
| download | emacs-2f0e0dc8be44dba7d4cf8750844f1e8cbe22b740.tar.gz emacs-2f0e0dc8be44dba7d4cf8750844f1e8cbe22b740.zip | |
gnus-art.el (article-treat-non-ascii): Keep text properties.
gnus.texi (Article Washing): Fix typo.
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 4 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 10 |
4 files changed, 17 insertions, 5 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index d878a017855..1069a42513a 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-11-12 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus.texi (Article Washing): Fix typo. | ||
| 4 | |||
| 1 | 2010-11-11 Noorul Islam <noorul@noorul.com> | 5 | 2010-11-11 Noorul Islam <noorul@noorul.com> |
| 2 | 6 | ||
| 3 | * org.texi: Fix typo | 7 | * org.texi: Fix typo |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 9afbc67877d..2bab960f0a7 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -9664,8 +9664,8 @@ an attempt to provide more quoting characters. If you see something | |||
| 9664 | like @code{\222} or @code{\264} where you're expecting some kind of | 9664 | like @code{\222} or @code{\264} where you're expecting some kind of |
| 9665 | apostrophe or quotation mark, then try this wash. | 9665 | apostrophe or quotation mark, then try this wash. |
| 9666 | 9666 | ||
| 9667 | @item W A | 9667 | @item W U |
| 9668 | @kindex W A (Summary) | 9668 | @kindex W U (Summary) |
| 9669 | @findex gnus-article-treat-non-ascii | 9669 | @findex gnus-article-treat-non-ascii |
| 9670 | @cindex Unicode | 9670 | @cindex Unicode |
| 9671 | @cindex Non-@acronym{ASCII} | 9671 | @cindex Non-@acronym{ASCII} |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 64752711f98..11118ed1ed7 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-11-12 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-art.el (article-treat-non-ascii): Keep text properties. | ||
| 4 | |||
| 1 | 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org> | 5 | 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 6 | ||
| 3 | * mm-decode.el (mm-dissect-buffer): Pass sender's mail address to | 7 | * mm-decode.el (mm-dissect-buffer): Pass sender's mail address to |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 82de5b46475..a5d9a279ddb 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -2130,14 +2130,18 @@ try this wash." | |||
| 2130 | (save-excursion | 2130 | (save-excursion |
| 2131 | (when (article-goto-body) | 2131 | (when (article-goto-body) |
| 2132 | (let ((inhibit-read-only t) | 2132 | (let ((inhibit-read-only t) |
| 2133 | replace) | 2133 | replace props) |
| 2134 | (while (not (eobp)) | 2134 | (while (not (eobp)) |
| 2135 | (if (not (setq replace (if (featurep 'xemacs) | 2135 | (if (not (setq replace (if (featurep 'xemacs) |
| 2136 | (get-char-table (following-char) table) | 2136 | (get-char-table (following-char) table) |
| 2137 | (aref table (following-char))))) | 2137 | (aref table (following-char))))) |
| 2138 | (forward-char 1) | 2138 | (forward-char 1) |
| 2139 | (delete-char 1) | 2139 | (if (prog1 |
| 2140 | (insert replace)))))))) | 2140 | (setq props (text-properties-at (point))) |
| 2141 | (delete-char 1)) | ||
| 2142 | (add-text-properties (point) (progn (insert replace) (point)) | ||
| 2143 | props) | ||
| 2144 | (insert replace))))))))) | ||
| 2141 | 2145 | ||
| 2142 | (defun article-translate-characters (from to) | 2146 | (defun article-translate-characters (from to) |
| 2143 | "Translate all characters in the body of the article according to FROM and TO. | 2147 | "Translate all characters in the body of the article according to FROM and TO. |