From 27410d0ac3406a341cc90ada064047a7f1ea5209 Mon Sep 17 00:00:00 2001 From: Sven Joachim Date: Tue, 9 Nov 2010 10:29:37 +0000 Subject: [PATCH] message.el (message-subject-trailing-was-ask-regexp, message-subject-trailing-was-regexp): Match was: in addition to was. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/message.el | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 01c2e352913..f23809fa42e 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2010-11-09 Sven Joachim + + * message.el (message-subject-trailing-was-ask-regexp) + (message-subject-trailing-was-regexp): Match was: in addition to was. + 2010-11-09 Glenn Morris * nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail) diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 42f67035c13..c305a18bd21 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -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: )\" 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: )\" in the subject line. If `message-subject-trailing-was-query' is set to t, the subject is -- 2.39.5