emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/mail/rmail.el


From: Alex Schroeder
Subject: [Emacs-diffs] Changes to emacs/lisp/mail/rmail.el
Date: Sun, 08 Jan 2006 23:47:07 +0000

Index: emacs/lisp/mail/rmail.el
diff -u emacs/lisp/mail/rmail.el:1.417 emacs/lisp/mail/rmail.el:1.418
--- emacs/lisp/mail/rmail.el:1.417      Sun Jan  8 15:18:55 2006
+++ emacs/lisp/mail/rmail.el    Sun Jan  8 23:47:07 2006
@@ -447,8 +447,10 @@
   "String to prepend to Subject line when replying to a message.")
 
 ;; Some mailers use "Re(2):" or "Re^2:" or "Re: Re:" or "Re[2]:".
-;; This pattern should catch all the common variants.
-(defvar rmail-reply-regexp 
"\\`\\(Re\\(([0-9]+)\\|\\[[0-9]+\\]\\|\\^[0-9]+\\)?: *\\)*"
+;; This pattern should catch all the common variants.  The pattern
+;; also ignores mailing list identifiers sometimes added in square
+;; brackets at the beginning of subject lines.
+(defvar rmail-reply-regexp "\\`\\(\\[.+?\\] 
\\)?\\(Re\\(([0-9]+)\\|\\[[0-9]+\\]\\|\\^[0-9]+\\)?: *\\)*"
   "Regexp to delete from Subject line before inserting `rmail-reply-prefix'.")
 
 (defcustom rmail-display-summary nil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]