Re: I-D ACTION:draft-daboo-sieve-include-04.txt (fwd)
"Nigel Swinson" <Nigel.Swinson@rockliffe.com> Mon, 26 June 2006 19:35 UTC
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id k5QJZq57049237; Mon, 26 Jun 2006 12:35:52 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id k5QJZqjg049234; Mon, 26 Jun 2006 12:35:52 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from mail.rockliffe.com (mail.rockliffe.com [147.208.128.10]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id k5QJZpwH049203 for <ietf-mta-filters@imc.org>; Mon, 26 Jun 2006 12:35:51 -0700 (MST) (envelope-from Nigel.Swinson@rockliffe.com)
X-Spam-Score: 1
Received: from nigelhome (unverified [10.42.44.151]) by mail.rockliffe.com (Rockliffe SMTPRA 7.0.3) with ESMTP id <B0003418194@mail.rockliffe.com>; Mon, 26 Jun 2006 12:35:46 -0700
Message-ID: <030701c69957$e02ae5b0$972c2a0a@nigelhome>
From: Nigel Swinson <Nigel.Swinson@rockliffe.com>
To: Cyrus Daboo <cyrus@daboo.name>
Cc: ietf-mta-filters@imc.org
References: <88A83B5F7DF96A11C64FEA29@ninevah.local>
Subject: Re: I-D ACTION:draft-daboo-sieve-include-04.txt (fwd)
Date: Mon, 26 Jun 2006 20:36:50 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by balder-227.proper.com id k5QJZpwH049224
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>
> Title : SIEVE Email Filtering: Include Extension > Author(s) : C. Daboo > Filename : draft-daboo-sieve-include-04.txt > Pages : 13 > Date : 2006-6-13 Boring nit: - The explicit use of "export and "import", coupled with the default + The explicit use of "export" and "import", coupled with the default Must you do this? In the examples below, script content is indicated by a '|' as the first non-space character on a line for clarity. The '|' characters are not part of the script itself. Means copy/paste of sieve code is awkward. :o( In: The "import" command contains a string list argument that defines one or more variables names of variables exported and set by other scripts which should be made available to the current script. and: If an "import" command lists a variable that has not been exported and set by any other script at that point during the SIEVE execution process, then an error MUST occur. If you remove "and set" as agreed, then what is the difference between import and export? I'm not clear why we can't just have a "global" command with a string list argument of variables instead. Either that or just specify that all variable names starting with "global." have global scope. Must we say this? The "import" command, if present, MUST be used immediately after any "require" commands (at least one of which will be present listing the "include" extension). Multiple "import" commands are allowed. An error occurs if an "import" command appears after a command other than "require" or "import". Use of the "import" command makes the listed variables immediately available for use in the body of the script that uses it. I would imagine a use of import would be linked to some kind of "rule". If later we remove the rule, we may forget to remove the variable names from the "import" and then our "import" command will slowly fill up with silt. I'd prefer to "declare" the variables near their use. Is there some technical reason why we want it that way or are you trying to enforce a script writing prefence? This restriction in C is one of the reasons I tend to convert .c files to .cpp even if I have no immediate plan to use objects. :o( Cheers Nigel
- I-D ACTION:draft-daboo-sieve-include-04.txt (fwd) Cyrus Daboo
- Re: I-D ACTION:draft-daboo-sieve-include-04.txt (… Nigel Swinson
- Re: I-D ACTION:draft-daboo-sieve-include-04.txt (… Mark E. Mallett
- Re: I-D ACTION:draft-daboo-sieve-include-04.txt (… Kjetil Torgrim Homme
- Re: I-D ACTION:draft-daboo-sieve-include-04.txt (… Aaron Stone