Mercurial > emacs
comparison lisp/gnus/message.el @ 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 | 60f509c70b61 |
children | eb9988805a37 |
comparison
equal
deleted
inserted
replaced
111447:c4afb802863e | 111448:321fbae3e04d |
---|---|
320 (const ask)) | 320 (const ask)) |
321 :link '(custom-manual "(message)Message Headers") | 321 :link '(custom-manual "(message)Message Headers") |
322 :group 'message-various) | 322 :group 'message-various) |
323 | 323 |
324 (defcustom message-subject-trailing-was-ask-regexp | 324 (defcustom message-subject-trailing-was-ask-regexp |
325 "[ \t]*\\([[(]+[Ww][Aa][Ss][ \t]*.*[\])]+\\)" | 325 "[ \t]*\\([[(]+[Ww][Aa][Ss]:?[ \t]*.*[\])]+\\)" |
326 "*Regexp matching \"(was: <old subject>)\" in the subject line. | 326 "*Regexp matching \"(was: <old subject>)\" in the subject line. |
327 | 327 |
328 The function `message-strip-subject-trailing-was' uses this regexp if | 328 The function `message-strip-subject-trailing-was' uses this regexp if |
329 `message-subject-trailing-was-query' is set to the symbol `ask'. If | 329 `message-subject-trailing-was-query' is set to the symbol `ask'. If |
330 the variable is t instead of `ask', use | 330 the variable is t instead of `ask', use |
331 `message-subject-trailing-was-regexp' instead. | 331 `message-subject-trailing-was-regexp' instead. |
332 | 332 |
333 It is okay to create some false positives here, as the user is asked." | 333 It is okay to create some false positives here, as the user is asked." |
334 :version "22.1" | 334 :version "24.1" |
335 :group 'message-various | 335 :group 'message-various |
336 :link '(custom-manual "(message)Message Headers") | 336 :link '(custom-manual "(message)Message Headers") |
337 :type 'regexp) | 337 :type 'regexp) |
338 | 338 |
339 (defcustom message-subject-trailing-was-regexp | 339 (defcustom message-subject-trailing-was-regexp |
340 "[ \t]*\\((*[Ww][Aa][Ss][ \t]*.*)\\)" | 340 "[ \t]*\\((*[Ww][Aa][Ss]:?[ \t]*.*)\\)" |
341 "*Regexp matching \"(was: <old subject>)\" in the subject line. | 341 "*Regexp matching \"(was: <old subject>)\" in the subject line. |
342 | 342 |
343 If `message-subject-trailing-was-query' is set to t, the subject is | 343 If `message-subject-trailing-was-query' is set to t, the subject is |
344 matched against `message-subject-trailing-was-regexp' in | 344 matched against `message-subject-trailing-was-regexp' in |
345 `message-strip-subject-trailing-was'. You should use a regexp creating very | 345 `message-strip-subject-trailing-was'. You should use a regexp creating very |