Gnus development mailing list
 help / color / mirror / Atom feed
* nnmail-split-fancy
@ 2005-08-22 23:06 Sebastian Luque
  2005-08-22 23:43 ` nnmail-split-fancy Katsumi Yamaoka
  0 siblings, 1 reply; 10+ messages in thread
From: Sebastian Luque @ 2005-08-22 23:06 UTC (permalink / raw)


Hello,

Can somebody please clarify why using concat to provide a regexp in the
following nnmail-split-fancy is not allowed?  For example:

(setq nnmail-split-fancy
      '(| ("from" (concat "my " "regexp") "MyGroup")
	  (: spam-split)
	  "mail.misc"))

does not work, and would send all messages to the bogus group, but without
using concat:

(setq nnmail-split-fancy
      '(| ("from" "my regexp" "MyGroup")
	  (: spam-split)
	  "mail.misc"))

is fine.  The reason I want to use concat is to simplify maintenance of
the regexps in several lines.

Thanks in advance,

-- 
Sebastian P. Luque




^ permalink raw reply	[flat|nested] 10+ messages in thread
* nnmail-split-fancy
@ 2006-07-29  5:06 Alok G. Singh
  2006-07-30 12:57 ` nnmail-split-fancy Adrian Aichner
  0 siblings, 1 reply; 10+ messages in thread
From: Alok G. Singh @ 2006-07-29  5:06 UTC (permalink / raw)



The spam system at work adds the following regexp to the subject to identify spam: "{Spam\\?}". I verified this regexp using regexp-builder in the summary buffer. 

When I try and add a rule to nnmail-split-fancy 
          (subject "{Spam\\?}" "mail.spam")
it does not send mails with {Spam?} in their subjects to mail.spam. A couple of sample subject headers are below.

Subject: {Spam?} This stock has amazing ...
Subject: {Spam?}

Is it something wrong in the regexp or something to do with nnmail-split-fancy-match-partial-words ?

-- 
Alok

Creditor, n.:
	A man who has a better memory than a debtor.




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-07-31  7:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <keiu85nbax.fsf@msil.sps.mot.com>
1999-07-04  3:13 ` nnmail-split-fancy Lars Magne Ingebrigtsen
1999-07-04 17:00   ` nnmail-split-fancy E. David Bell
1999-07-05  4:22     ` nnmail-split-fancy Lars Magne Ingebrigtsen
1999-07-05  9:00       ` nnmail-split-fancy E. David Bell
1999-07-06  4:07         ` nnmail-split-fancy Lars Magne Ingebrigtsen
2005-08-22 23:06 nnmail-split-fancy Sebastian Luque
2005-08-22 23:43 ` nnmail-split-fancy Katsumi Yamaoka
2006-07-29  5:06 nnmail-split-fancy Alok G. Singh
2006-07-30 12:57 ` nnmail-split-fancy Adrian Aichner
2006-07-31  7:21   ` nnmail-split-fancy Alok G. Singh

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).