emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing list identifiers in rmail (was: Changes to emacs/lisp/mail/


From: Henrik Enberg
Subject: Re: Removing list identifiers in rmail (was: Changes to emacs/lisp/mail/rmail.el)
Date: Tue, 10 Jan 2006 19:41:48 +0100 (CET)

> > --- emacs/lisp/mail/rmail.el:1.417  Sun Jan  8 15:18:55 2006
> > +++ emacs/lisp/mail/rmail.el        Sun Jan  8 23:47:07 2006
> > @@ -447,8 +447,10 @@
> >    "String to prepend to Subject line when replying to a message.")
> >  
> >  ;; Some mailers use "Re(2):" or "Re^2:" or "Re: Re:" or "Re[2]:".
> > -;; This pattern should catch all the common variants.
> > -(defvar rmail-reply-regexp 
> > "\\`\\(Re\\(([0-9]+)\\|\\[[0-9]+\\]\\|\\^[0-9]+\\)?: *\\)*"
> > +;; This pattern should catch all the common variants.  The pattern
> > +;; also ignores mailing list identifiers sometimes added in square
> > +;; brackets at the beginning of subject lines.
> > +(defvar rmail-reply-regexp "\\`\\(\\[.+?\\] 
> > \\)?\\(Re\\(([0-9]+)\\|\\[[0-9]+\\]\\|\\^[0-9]+\\)?: *\\)*"
> >    "Regexp to delete from Subject line before inserting 
> > `rmail-reply-prefix'.")
> 
> If this also removes tags in square brackets (like in "[PCL-CVS] foo",
> "[patch] bar", ...), it is not a good idea, IMHO.

Perhaps it should only remove text matched by members in some user
supplied list.  I vaguely remember Gnus having such a feature.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]