From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29084 Path: main.gmane.org!not-for-mail From: Colin Rafferty Newsgroups: gmane.emacs.gnus.general Subject: Re: problem with fancy-split's ! operator; bug? Date: 04 Feb 2000 08:08:50 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165816 743 80.91.224.250 (21 Oct 2002 02:03:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:03:36 +0000 (UTC) Keywords: split,code,nnmail-split-it,latter,former Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 66C73D051F for ; Fri, 4 Feb 2000 08:11:52 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id HAB03166; Fri, 4 Feb 2000 07:10:24 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 04 Feb 2000 07:09:48 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id HAA12754 for ; Fri, 4 Feb 2000 07:09:36 -0600 (CST) Original-Received: from hqvsbh1.ms.com (hqvsbh1.ms.com [205.228.12.103]) by mailhost.sclp.com (Postfix) with ESMTP id 324C4D0521 for ; Fri, 4 Feb 2000 08:09:33 -0500 (EST) Original-Received: (from uucp@localhost) by hqvsbh1.ms.com (8.9.3/fw v1.30) id IAA13475 for ; Fri, 4 Feb 2000 08:09:32 -0500 (EST) Original-Received: from localhost(127.0.0.1) by hqvsbh1 via smap (4.1) id sma.9496697531.012360; Fri, 4 Feb 00 08:09:13 -0500 Original-Received: by hqvsbh1.ms.com (8.9.3/8.9.3(vs)) id IAA12345 for ; Fri, 4 Feb 2000 08:09:12 -0500 (EST) X-Authentication-Warning: hqvsbh1.ms.com: Processed from queue /var/spool/mqueue-vs X-Authentication-Warning: hqvsbh1.ms.com: Processed by uucp with -C /etc/mail/sendmail.vs.cf X-Interface: IDMZ Original-Received: from unknown(144.14.9.190) by hqvsbh1 via smap (4.1) id sma.9496697321.010711; Fri, 4 Feb 00 08:08:52 -0500 Original-Received: from sag3 (sag3.morgan.com [144.14.193.113]) by safid1.morgan.com (8.8.5/hub+ldap v2.4) with ESMTP id IAA01713 for ; Fri, 4 Feb 2000 08:08:51 -0500 (EST) Original-Received: (craffert@localhost) by sag3 (980427.SGI.8.8.8/sendmail.cf.client v1.05) id IAA66354; Fri, 4 Feb 2000 08:08:50 -0500 (EST) Original-To: GNUS Mailing List X-Attribution: > Mail-Copies-To: never X-Face: y,o:AU/bfCrS+zS/W"^puB!rT!G7?U1Mvp1Hd{6h^>X4@Xp5,|g+rG>4gv/iy^&x9`k#s!]X~{]Js>@A4c}4Z"Ct7=#1nPS:?mrWH8c#>$)>/Wc5yuX_OFO1(4cZM{LvsKWVQSl~/i>!n[-B*i-alq[/m\bsdy;W4p(_ic;$BE.oG@eJf@sr#x#}FT<=H8Ozu%g;JpVz:v_~vt[>ef/MeNeo3~D^R]]*bB7{HB|E1$wfMzw X-Y-Zippy: ..Everything is....FLIPPING AROUND!! In-Reply-To: Toby Speight's message of "03 Feb 2000 19:50:52 +0000" Original-Lines: 41 User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/21.2 (Millenium) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29084 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29084 Toby Speight writes: >>> Colin Rafferty 0> In article , 0> > wrote: >>> However, here is the code: >>> >>> ;; Builtin ! operation. >>> ((eq (car split) '!) >>> (funcall (cadr split) (nnmail-split-it (caddr split)))) >>> >>> It should be this (to match `:'): >>> >>> ;; Builtin ! operation. >>> ((eq (car split) '!) >>> (nnmail-split-it (save-excursion (funcall (cadr split) (nnmail-split-it (caddr split)))))) >>> >>> I'm not sure that Lars should change the code to match documentation, >>> since there may be many people out there who depend on this. > Can you give an example of something that works with the former code, > that behaves differently in the latter? Just about anything. Since the former code expects a list of groups in which to put the mail, and the latter code expects a split to parse, pretty much anything will owrk differently. For example, if I had a .gnus that looked like this: (defun test-split (dummy) '("one "two")) (setq nnmail-split-fancy '(! test-split "dummy")) Then in the former, the resulting split would be ("one" "two"), but in the latter, the resulting split would be ("one"). -- Colin