<<< Date Index >>>     <<< Thread Index >>>

Re: For 1.5.8: notalternates functionality



On 2005-02-12 22:38:43 +0900, TAKAHASHI Tamotsu wrote:

> Here is my *tested* patch. (Yeah, at last.)
> http://www.momonga-linux.org/~tamo/no_notalt+unlists+unsubscribe.2.diff.gz
> (My changes to unlists and unsubscribe are not described in
> doc/manual.sgml.head yet.)

Thanks a lot.

Your patch introduces interesting and possibly hard to understand
semantics.  In particular, an "alternates" that matches a previous
"unalternates" would remove the exception, but would not add the
pattern to the alternates list.

I have simplified this to make it more similar to the
ignore/unignore behavior we've had for quite some time now: When you
"alternates" a regexp, it's *always* added to the alternates list
(besides possibly removing it from unalternates), and when you
"unalternates" it, it's always added to the unalternates list
(besides possibly removing it from alterantes).

This behavior is no in the CVS, and will be in 1.5.8.

That said, it's not entirely clear to me which behavior is
ultimately the best one...  So this is open for discussion and
(depending on how experience works out) possibly revision in 1.5.9.

Regards,
-- 
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.