Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* fancy mail splitting
@ 2015-12-20 11:47 Adam Sjøgren
  2015-12-21  4:48 ` B.V. Raghav
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Sjøgren @ 2015-12-20 11:47 UTC (permalink / raw)
  To: info-gnus-english

  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


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <m33cm9oqgi.fsf.p_oster_2000.yahoo.com@post2k.freeuk.com>]

end of thread, other threads:[~2015-12-21 17:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-20 11:47 fancy mail splitting Adam Sjøgren
2015-12-21  4:48 ` B.V. Raghav
2015-12-21 14:52   ` Adam Sjøgren
2015-12-21 16:55     ` Adam Sjøgren
     [not found]   ` <mailman.311.1450709592.843.info-gnus-english@gnu.org>
2015-12-21 17:09     ` Cor
     [not found] <m33cm9oqgi.fsf.p_oster_2000.yahoo.com@post2k.freeuk.com>
2003-02-27 13:50 ` Kai Großjohann
     [not found]   ` <m3y940wtvq.fsf.p_oster_2000.bigfoot.com@post2k.freeuk.com>
2003-03-02 12:13     ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).