changeset 111448:321fbae3e04d

message.el (message-subject-trailing-was-ask-regexp, message-subject-trailing-was-regexp): Match was: in addition to was.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Tue, 09 Nov 2010 10:29:37 +0000
parents c4afb802863e
children 132f2dfd549f
files lisp/gnus/ChangeLog lisp/gnus/message.el
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Tue Nov 09 00:00:46 2010 -0800
+++ b/lisp/gnus/ChangeLog	Tue Nov 09 10:29:37 2010 +0000
@@ -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)
--- a/lisp/gnus/message.el	Tue Nov 09 00:00:46 2010 -0800
+++ b/lisp/gnus/message.el	Tue Nov 09 10:29:37 2010 +0000
@@ -322,7 +322,7 @@
   :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 @@
 `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