info-gnus-english
[Top][All Lists]
Advanced

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

fancy mail splitting


From: Adam Sjøgren
Subject: fancy mail splitting
Date: Sun, 20 Dec 2015 12:47:47 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (gnu/linux)

  Hi,


I usually create my fancy mail splitting rules by trial and error -
Emacs' regexps are kind of toothpicky when you are used to Perl...

Here is my problem:

I want to have emails with Subject starting with "[git/adm]" to go to
one group, but emails with the Subject starting with "Re: [git/adm]" to
another.

To match "[git/adm]" I can only get this to work:

        ("Subject" ".*\\[git/adm\\].*" "commits.adm")

If I remove either ".*", it doesn't match them.

I can't figure out how to make this _not_ match Subjects prefixed with
"Re: " (or anything else, for that matter).

I tried tacking on "nil nil" and "nil t" to the rule as well, without
hitting the jackpot. I am lost.

Any ideas?


  Thanks!

   Adam

-- 
 "How different? It seems like you are just biased in         Adam Sjøgren
  favour of your own style."                             asjo@koldfront.dk




reply via email to

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