aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-09 22:18:59 +0000
committerRichard M. Stallman1994-05-09 22:18:59 +0000
commit4f5d303b2006da209fa295e2f90ea5105e3e2f34 (patch)
tree1eee5696b7a5541f2f637b8eafed9c88d8244cf2
parent080ac1ac22a68da47133a97374b35f81321e051f (diff)
downloademacs-4f5d303b2006da209fa295e2f90ea5105e3e2f34.tar.gz
emacs-4f5d303b2006da209fa295e2f90ea5105e3e2f34.zip
(rmail-make-basic-summary-line): Get all the lines of the From field.
-rw-r--r--lisp/mail/rmailsum.el15
1 files changed, 11 insertions, 4 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 34ee023c9c7..a3f9b4e2e81 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -308,10 +308,17 @@ nil for FUNCTION means all messages."
308 (let* ((from (mail-strip-quoted-names 308 (let* ((from (mail-strip-quoted-names
309 (buffer-substring 309 (buffer-substring
310 (1- (point)) 310 (1- (point))
311 (progn (end-of-line) 311 ;; Get all the lines of the From field
312 (skip-chars-backward " \t") 312 ;; so that we get a whole comment if there is one,
313 (point))))) 313 ;; so that mail-strip-quoted-names can discard it.
314 len mch lo) 314 (let ((opoint (point)))
315 (while (progn (forward-line 1)
316 (looking-at "[ \t]")))
317 ;; Back up over newline, then trailing spaces or tabs
318 (forward-char -1)
319 (skip-chars-backward " \t")
320 (point)))))
321 len mch lo)
315 (if (string-match (concat "^" 322 (if (string-match (concat "^"
316 (regexp-quote (user-login-name)) 323 (regexp-quote (user-login-name))
317 "\\($\\|@\\)") 324 "\\($\\|@\\)")