diff options
| author | Miles Bader | 2005-04-13 04:58:05 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-04-13 04:58:05 +0000 |
| commit | ff5e68bf328c4d576285e6d0177ebdf347580c5d (patch) | |
| tree | 5f1b129241938f976f9002ee5166f769f8828789 | |
| parent | 759e9f0c428f8c5ed9f413cbadb75487e8a4d622 (diff) | |
| download | emacs-ff5e68bf328c4d576285e6d0177ebdf347580c5d.tar.gz emacs-ff5e68bf328c4d576285e6d0177ebdf347580c5d.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-254
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 62-64)
- Merge from emacs--cvs-trunk--0
- Update from CVS
- (mm-string-to-multibyte): Use Gnus trunk definition.
2005-04-13 Miles Bader <miles@gnu.org>
* lisp/gnus/mm-util.el (mm-string-to-multibyte): Use Gnus trunk definition.
2005-04-12 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/nnrss.el (nnrss-node-text): Replace CRLFs (which might be
contained in text because xml.el decodes entities) with LFs.
| -rw-r--r-- | lisp/gnus/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/gnus/mm-util.el | 7 | ||||
| -rw-r--r-- | lisp/gnus/nnrss.el | 7 |
3 files changed, 20 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 2dad5e1eb26..aecd7b20c04 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2005-04-13 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * mm-util.el (mm-string-to-multibyte): Use Gnus trunk definition. | ||
| 4 | |||
| 5 | 2005-04-12 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 6 | |||
| 7 | * nnrss.el (nnrss-node-text): Replace CRLFs (which might be | ||
| 8 | contained in text because xml.el decodes entities) with LFs. | ||
| 9 | |||
| 1 | 2005-04-11 Lute Kamstra <lute@gnu.org> | 10 | 2005-04-11 Lute Kamstra <lute@gnu.org> |
| 2 | 11 | ||
| 3 | * message.el (message-make-date): Handle byte-compiler warnings | 12 | * message.el (message-make-date): Handle byte-compiler warnings |
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index 0ee52e797d0..6fe69f2edd5 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el | |||
| @@ -91,7 +91,12 @@ | |||
| 91 | ;; (string-to-multibyte s) ~= (decode-coding-string s 'binary) | 91 | ;; (string-to-multibyte s) ~= (decode-coding-string s 'binary) |
| 92 | ;; (string-make-multibyte s) ~= (decode-coding-string s locale-coding-system) | 92 | ;; (string-make-multibyte s) ~= (decode-coding-string s locale-coding-system) |
| 93 | (string-as-multibyte . identity) | 93 | (string-as-multibyte . identity) |
| 94 | (string-to-multibyte . mm-string-as-multibyte) | 94 | (string-to-multibyte |
| 95 | . (lambda (string) | ||
| 96 | "Return a multibyte string with the same individual chars as string." | ||
| 97 | (mapconcat | ||
| 98 | (lambda (ch) (mm-string-as-multibyte (char-to-string ch))) | ||
| 99 | string ""))) | ||
| 95 | (multibyte-string-p . ignore) | 100 | (multibyte-string-p . ignore) |
| 96 | ;; It is not a MIME function, but some MIME functions use it. | 101 | ;; It is not a MIME function, but some MIME functions use it. |
| 97 | (make-temp-file . (lambda (prefix &optional dir-flag) | 102 | (make-temp-file . (lambda (prefix &optional dir-flag) |
diff --git a/lisp/gnus/nnrss.el b/lisp/gnus/nnrss.el index 006e309c3ff..04bebec79a6 100644 --- a/lisp/gnus/nnrss.el +++ b/lisp/gnus/nnrss.el | |||
| @@ -679,8 +679,11 @@ It is useful when `(setq nnrss-use-local t)'." | |||
| 679 | (text (if (and node (listp node)) | 679 | (text (if (and node (listp node)) |
| 680 | (nnrss-node-just-text node) | 680 | (nnrss-node-just-text node) |
| 681 | node)) | 681 | node)) |
| 682 | (cleaned-text (if text (gnus-replace-in-string | 682 | (cleaned-text (if text |
| 683 | text "^[\000-\037\177]+\\|^ +\\| +$" "")))) | 683 | (gnus-replace-in-string |
| 684 | (gnus-replace-in-string | ||
| 685 | text "^[\000-\037\177]+\\|^ +\\| +$" "") | ||
| 686 | "\r\n" "\n")))) | ||
| 684 | (if (string-equal "" cleaned-text) | 687 | (if (string-equal "" cleaned-text) |
| 685 | nil | 688 | nil |
| 686 | cleaned-text))) | 689 | cleaned-text))) |