# HG changeset patch # User Chong Yidong # Date 1233198104 0 # Node ID a00762725924861957f394da9e07f166459cc48d # Parent e981ad018a7c4766cbade144d36cbe1d2ffb961c (rmail-show-message): Unquote From lines. diff -r e981ad018a7c -r a00762725924 lisp/mail/rmail.el --- a/lisp/mail/rmail.el Thu Jan 29 03:00:26 2009 +0000 +++ b/lisp/mail/rmail.el Thu Jan 29 03:01:44 2009 +0000 @@ -2539,9 +2539,15 @@ (t)) (rmail-decode-region (point-min) (point-max) coding-system view-buf))) + (with-current-buffer rmail-view-buffer + ;; Unquote quoted From lines + (goto-char (point-min)) + (while (re-search-forward "^>+From " nil t) + (beginning-of-line) + (delete-char 1) + (forward-line)) + (goto-char (point-min))) ;; Copy the headers to the front of the message view buffer. - (with-current-buffer rmail-view-buffer - (goto-char (point-min))) (rmail-copy-headers beg end) ;; Add the separator (blank line) between headers and body; ;; highlight the message, activate any URL like text and add