On Wed, 26 Oct 2011 10:41:45 +0200, Nicolas wrote:

> You  may be  interrested in  trying the  following hack  (or something
> similar)  which makes  fancy splitting  use a  greedy yet  much slower
> backward searching algorithm:

> (defadvice nnmail-split-it (around my-greedy-nnmail-split-it activate)
>   "Around advice temporarily replacing `re-search-backward' with
> `posix-search-backward'."
>   (flet ((re-search-backward (regexp &optional bound noerr count)
>          (posix-search-backward regexp bound noerr count)))
>       ad-do-it))

Thanks for the suggestion - it doesn't seem to work, though:

I added the defadvice to my .gnus (and eval'ed it); the split I am using
is this:

  ("X-Bugzilla-Product" "\\(\\w+\\)" "bugzilla.\\1")

and the email has this header:

  X-Bugzilla-Product: evince

But B q says:

  This message would go to bugzilla.e

If I type M-x posix-search-backward \w+ I only get one char matched -
same as typing C-u M-x \w+ - so maybe I overlooked something, or some
other remedy is needed?


  Best regards,

    Adam

-- 
 "I always liked songs with parentheses in the title."        Adam Sjøgren
                                                         [email protected]


_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to