message.el (message-subject-trailing-was-ask-regexp, message-subject-trailing-was-regexp): Match was: in addition to was.

This commit is contained in:
Sven Joachim 2010-11-09 10:29:37 +00:00 committed by Katsumi Yamaoka
parent e814121e1b
commit 27410d0ac3
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2010-11-09 Sven Joachim <svenjoac@gmx.de>
* message.el (message-subject-trailing-was-ask-regexp)
(message-subject-trailing-was-regexp): Match was: in addition to was.
2010-11-09 Glenn Morris <rgm@gnu.org>
* nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)

View file

@ -322,7 +322,7 @@ used."
:group 'message-various)
(defcustom message-subject-trailing-was-ask-regexp
"[ \t]*\\([[(]+[Ww][Aa][Ss][ \t]*.*[\])]+\\)"
"[ \t]*\\([[(]+[Ww][Aa][Ss]:?[ \t]*.*[\])]+\\)"
"*Regexp matching \"(was: <old subject>)\" in the subject line.
The function `message-strip-subject-trailing-was' uses this regexp if
@ -331,13 +331,13 @@ the variable is t instead of `ask', use
`message-subject-trailing-was-regexp' instead.
It is okay to create some false positives here, as the user is asked."
:version "22.1"
:version "24.1"
:group 'message-various
:link '(custom-manual "(message)Message Headers")
:type 'regexp)
(defcustom message-subject-trailing-was-regexp
"[ \t]*\\((*[Ww][Aa][Ss][ \t]*.*)\\)"
"[ \t]*\\((*[Ww][Aa][Ss]:?[ \t]*.*)\\)"
"*Regexp matching \"(was: <old subject>)\" in the subject line.
If `message-subject-trailing-was-query' is set to t, the subject is