From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4335 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.user Subject: Re: How to combine spam-split with Subject filtering. Date: Thu, 13 Jan 2005 16:04:47 +0100 Message-ID: <86mzvd9xps.fsf@mat.ucm.es> References: <86zmzeqwcs.fsf@mat.ucm.es> <864qhlr4n0.fsf@mat.ucm.es> <866521cyr5.fsf@mat.ucm.es> <16870.34083.953155.509283@parhasard.net> Reply-To: Uwe Brauer NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138670284 22835 80.91.229.2 (31 Jan 2006 01:18:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:18:04 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:36 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: maportatil06.quim.ucm.es Original-X-Trace: quimby.gnus.org 1105628632 32711 147.96.6.221 (13 Jan 2005 15:03:52 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 13 Jan 2005 15:03:52 +0000 (UTC) X-Hashcash: 1:20:050113:gnu.emacs.gnus::/uom3y7Sb5c0+wnN:000000000000000000000000000000000000000000000003y2O User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4.15 (linux) Cancel-Lock: sha1:P0ZfzawLB2qdvqVdwQn9cU03oXo= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4476 Original-Lines: 33 X-Gnus-Article-Number: 4476 Tue Jan 17 17:33:36 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4335 Archived-At: >>>>> "Aidan" == Aidan Kehoe 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