diff options
| author | Alex Schroeder | 2006-01-08 23:48:56 +0000 |
|---|---|---|
| committer | Alex Schroeder | 2006-01-08 23:48:56 +0000 |
| commit | e1b3b7a2d93d2883817969f17d3764f2a15f69bc (patch) | |
| tree | 2701fe643c4ba05952f5e25f18f4cf0df7b82093 | |
| parent | 447505b50802ad56b9cefc966b79db373ae2b846 (diff) | |
| download | emacs-e1b3b7a2d93d2883817969f17d3764f2a15f69bc.tar.gz emacs-e1b3b7a2d93d2883817969f17d3764f2a15f69bc.zip | |
(rmail-reply-regexp): Also ignore mailing list
identifiers sometimes added in square brackets at the beginning of
subject lines.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 120e9990062..b0f39f42cc0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2006-01-09 Alex Schroeder <alex@gnu.org> | ||
| 2 | |||
| 3 | * mail/rmail.el (rmail-reply-regexp): Also ignore mailing list | ||
| 4 | identifiers sometimes added in square brackets at the beginning of | ||
| 5 | subject lines. | ||
| 6 | |||
| 1 | 2006-01-07 Richard M. Stallman <rms@gnu.org> | 7 | 2006-01-07 Richard M. Stallman <rms@gnu.org> |
| 2 | 8 | ||
| 3 | * cus-edit.el (Custom-set, Custom-save): Doc fix. | 9 | * cus-edit.el (Custom-set, Custom-save): Doc fix. |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 45df1aa08be..1ab32aba45d 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -447,8 +447,10 @@ examples: | |||
| 447 | "String to prepend to Subject line when replying to a message.") | 447 | "String to prepend to Subject line when replying to a message.") |
| 448 | 448 | ||
| 449 | ;; Some mailers use "Re(2):" or "Re^2:" or "Re: Re:" or "Re[2]:". | 449 | ;; Some mailers use "Re(2):" or "Re^2:" or "Re: Re:" or "Re[2]:". |
| 450 | ;; This pattern should catch all the common variants. | 450 | ;; This pattern should catch all the common variants. The pattern |
| 451 | (defvar rmail-reply-regexp "\\`\\(Re\\(([0-9]+)\\|\\[[0-9]+\\]\\|\\^[0-9]+\\)?: *\\)*" | 451 | ;; also ignores mailing list identifiers sometimes added in square |
| 452 | ;; brackets at the beginning of subject lines. | ||
| 453 | (defvar rmail-reply-regexp "\\`\\(\\[.+?\\] \\)?\\(Re\\(([0-9]+)\\|\\[[0-9]+\\]\\|\\^[0-9]+\\)?: *\\)*" | ||
| 452 | "Regexp to delete from Subject line before inserting `rmail-reply-prefix'.") | 454 | "Regexp to delete from Subject line before inserting `rmail-reply-prefix'.") |
| 453 | 455 | ||
| 454 | (defcustom rmail-display-summary nil | 456 | (defcustom rmail-display-summary nil |