[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to combine spam-split with Subject filtering.
From: |
Uwe Brauer |
Subject: |
Re: How to combine spam-split with Subject filtering. |
Date: |
Thu, 13 Jan 2005 16:04:47 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4.15 (linux) |
>>>>> "Aidan" == Aidan Kehoe <kehoea@parhasard.net> writes:
Aidan> Ar an triú lá déag de mà Eanair, scrÃobh Uwe Brauer:
>> So does isearch-forward-regexp behaves differently from
>> putting this string in a function which uses a regexp search???
Aidan> Yes; if you think about it, when you put a string in a
Aidan> function, you need to do string escaping for characters
Aidan> like \ and ", whereas for isearch-forward-regexp thereâs
Aidan> no need for the string escaping, because no string literal
Aidan> is involved.
Aidan> So typing M-C-s \[POSIBLE SPAM\] RET does the same regexp
Aidan> match as does M-: (re-search-forward "\\[POSIBLE SPAM\\]"
Aidan> nil t) RET . Some variation on this latter is better for
Aidan> building regexps youâre going to use in a program, in my
Aidan> experience.
Ok, now doing
M-: (re-search-forward "\\[POSIBLE SPAM\\]" nil t)
in a spam group which contains a message with this subject, finds this
message. However putting
("Subject" "\\[POSIBLE SPAM\\]" "SPAM.POSS")
into nnimap-split-fancy function, does not find this message that is
it is passed to the next entry the spam-split function.
I tried to run edebug on nnimap-split-fancy, but nothing useful came
out.
I am really puzzled, is there somewhere a bug?
Uwe
- How to combine spam-split with Subject filtering., Uwe Brauer, 2005/01/12
- Re: How to combine spam-split with Subject filtering., Tim McNamara, 2005/01/12
- Re: How to combine spam-split with Subject filtering., Reiner Steib, 2005/01/13
- Re: How to combine spam-split with Subject filtering., Uwe Brauer, 2005/01/13
- Re: How to combine spam-split with Subject filtering., Uwe Brauer, 2005/01/13
- Re: How to combine spam-split with Subject filtering., Aidan Kehoe, 2005/01/13
- Re: How to combine spam-split with Subject filtering.,
Uwe Brauer <=
- Re: How to combine spam-split with Subject filtering., Cor Gest, 2005/01/13
- Re: How to combine spam-split with Subject filtering., Uwe Brauer, 2005/01/14
- Re: How to combine spam-split with Subject filtering., Cor Gest, 2005/01/14
Re: How to combine spam-split with Subject filtering., Hubert Chan, 2005/01/14