From: NAGY Andras <nagya@inf.elte.hu>
Subject: Re: Sieve support?
Date: Sat, 03 Nov 2001 01:35:24 +0100 [thread overview]
Message-ID: <dzcu1wcsncj.fsf@pandora.inf.elte.hu> (raw)
In-Reply-To: <ilu4roesae0.fsf@dhcp128.extundo.com>
On Thu, 01 Nov 2001, at 17:50, Simon Josefsson <jas@extundo.com> 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?
Yes, that's why I would still prefer the elsif way.
On Fri, 02 Nov 2001, at 18:48, Amos Gouaux <amos+lists.ding@utdallas.edu> wrote:
> kg> if foo {
> kg> fileinto "bar";
> kg> stop;
> kg> }
>
> I've tended to do this for mailing list folder stuffing. Main
> reason for it is out of paranoia that if I've got a vacation item at
> the bottom of the script, there's no way at all that a list or list
> admin will have to deal with it.
Well, you can set crosspost to nil, and add something like
else {
# vacation stuff, storing in "mail.misc", etc
}
after the generated part.
How about a trade-off? :-) Let's introduce a new variable instead of
-crosspost, defining which control structures to use when building the
script? Say,
gnus-sieve-script-flavour:
if (default): [if () { fileinto }]*, crossposting
elsif: `if ... [elsif () { fileinto } ]*', no crossposting, no stop
stop: [if () { fileinto; stop; }]*, no crossposting, with stop
Andras
next prev parent reply other threads:[~2001-11-03 0:35 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-21 13:01 Simon Josefsson
2001-10-21 14:02 ` Kai Großjohann
2001-10-22 1:21 ` Daniel Pittman
2001-11-01 0:53 ` Simon Josefsson
2001-11-01 16:08 ` Kai Großjohann
2001-11-01 16:50 ` Simon Josefsson
2001-11-02 8:25 ` Kai Großjohann
2001-11-02 8:50 ` Simon Josefsson
2001-11-02 9:14 ` Kai Großjohann
2001-11-02 12:39 ` Simon Josefsson
2001-11-02 16:24 ` Kai Großjohann
2001-11-02 17:52 ` Amos Gouaux
2001-11-02 22:29 ` Kai Großjohann
2001-11-04 14:49 ` Steinar Bang
2001-11-04 17:35 ` Amos Gouaux
2001-11-04 18:06 ` Simon Josefsson
2001-11-04 18:44 ` Amos Gouaux
2001-11-02 17:48 ` Amos Gouaux
2001-11-02 19:59 ` Simon Josefsson
2001-11-03 0:35 ` NAGY Andras [this message]
2001-11-03 18:58 ` possible gnus-sieve bug NAGY Andras
2001-11-03 19:06 ` Simon Josefsson
2001-11-04 13:17 ` NAGY Andras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dzcu1wcsncj.fsf@pandora.inf.elte.hu \
--to=nagya@inf.elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).