From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39853 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Sieve support? Date: Fri, 2 Nov 2001 09:50:19 +0100 (CET) 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=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: main.gmane.org 1035175497 30168 80.91.224.250 (21 Oct 2002 04:44:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:44:57 +0000 (UTC) Cc: Return-Path: Original-Received: (qmail 20974 invoked from network); 2 Nov 2001 08:51:21 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 2 Nov 2001 08:51:21 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15za2E-0003QD-00; Fri, 02 Nov 2001 02:50:42 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 02 Nov 2001 02:50:22 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id CAA25379 for ; Fri, 2 Nov 2001 02:50:12 -0600 (CST) Original-Received: (qmail 20956 invoked by alias); 2 Nov 2001 08:50:25 -0000 Original-Received: (qmail 20951 invoked from network); 2 Nov 2001 08:50:24 -0000 Original-Received: from slipsten.extundo.com (195.42.214.241) by gnus.org with SMTP; 2 Nov 2001 08:50:24 -0000 Original-Received: from localhost (jas@localhost) by slipsten.extundo.com (8.11.6/8.11.6) with ESMTP id fA28oJJ16562; Fri, 2 Nov 2001 09:50:20 +0100 X-Authentication-Warning: slipsten.extundo.com: jas owned process doing -bs Original-To: Kai =?iso-8859-1?q?Gro=DFjohann?= In-Reply-To: Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 57 Xref: main.gmane.org gmane.emacs.gnus.general:39853 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39853 On Fri, 2 Nov 2001, Kai Großjohann wrote: > > I don't think the automatically generated code should ever invoke > > "stop", since you may want to put Sieve code after the Gnus generated > > code block. Do you agree? > > Well, err, it would invoke stop only inside the if... Really? I don't know Sieve, but the following seems to be the only explanation about "stop" in the RFC, and it looks like it quits the whole script. I've never used "stop" though, so I may be misreading the RFC. 3.3. Control Structure Stop Syntax: stop The "stop" action ends all processing. If no actions have been executed, then the keep action is taken. > > If you're thinking about crossposting, there is `gnus-sieve-crosspost'. > > Does that mean I get something like > > if foo { > fileinto "bar"; > stop; > } > > when crossposting is off and > > if foo { > fileinto "bar"; > } > > when crossposting is on? That's what I wanted to suggest, too. Right now you get if foo { fileinto "foo" } elsif bar { fileinto "bar } if `gnus-sieve-crosspost' is nil, and if foo { fileinto "foo"; } if bar { fileinto "bar"; } otherwise.