Mercurial > emacs
diff lisp/gnus/gnus-art.el @ 72653:87c011891481
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 131-133)
- Update from CVS
2006-09-05 Daiki Ueno <ueno@unixuser.org>
* lisp/pgg.el (pgg-clear-string): Alias to clear-string for backward
compatibility.
* lisp/pgg-gpg.el (pgg-gpg-process-region): Avoid display blinking with
inhibit-redisplay; encode passphrase with locale-coding-system.
2006-09-04 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/gnus-art.el (article-decode-encoded-words): Make it fast.
2006-09-04 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/gnus-art.el (article-decode-encoded-words): Don't infloop in XEmacs.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-424
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 05 Sep 2006 08:17:35 +0000 |
parents | de654a6735da |
children | afe113527b71 84dd84b43e1b |
line wrap: on
line diff
--- a/lisp/gnus/gnus-art.el Tue Sep 05 06:59:53 2006 +0000 +++ b/lisp/gnus/gnus-art.el Tue Sep 05 08:17:35 2006 +0000 @@ -2381,22 +2381,23 @@ (error)) gnus-newsgroup-ignored-charsets)) (inhibit-read-only t) - start) - (save-restriction - (article-narrow-to-head) - (while (not (eobp)) - (setq start (point)) - (if (prog1 - (looking-at "\ + end start) + (goto-char (point-min)) + (when (search-forward "\n\n" nil 'move) + (forward-line -1)) + (setq end (point)) + (while (not (bobp)) + (while (progn + (forward-line -1) + (and (not (bobp)) + (memq (char-after) '(?\t ? ))))) + (setq start (point)) + (if (looking-at "\ \\(?:Resent-\\)?\\(?:From\\|Cc\\|To\\|Bcc\\|\\(?:In-\\)?Reply-To\\|Sender\ \\|Mail-Followup-To\\|Mail-Copies-To\\|Approved\\):") - (while (progn - (forward-line) - (if (eobp) - nil - (memq (char-after) '(?\t ? )))))) - (funcall gnus-decode-address-function start (point)) - (funcall gnus-decode-header-function start (point))))))) + (funcall gnus-decode-address-function start end) + (funcall gnus-decode-header-function start end)) + (goto-char (setq end start))))) (defun article-decode-group-name () "Decode group names in `Newsgroups:'."