Re: I-D ACTION:draft-daboo-sieve-include-03.txt (fwd)
"Nigel Swinson" <Nigel.Swinson@rockliffe.com> Tue, 30 August 2005 21:33 UTC
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j7ULXQ22016030; Tue, 30 Aug 2005 14:33:26 -0700 (PDT) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j7ULXQKI016029; Tue, 30 Aug 2005 14:33:26 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from rockpub4.rockliffe.com (rockpub4.rockliffe.com [147.208.128.11]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j7ULXQqe016018 for <ietf-mta-filters@imc.org>; Tue, 30 Aug 2005 14:33:26 -0700 (PDT) (envelope-from Nigel.Swinson@rockliffe.com)
X-Spam-Score: 1
Received: from nigelhome (unverified [10.42.40.203]) by rockliffe.com (Rockliffe SMTPRA 6.3.21) with ESMTP id <B0000350698@mail.rockliffe.com>; Tue, 30 Aug 2005 14:33:21 -0700
Message-ID: <006701c5adaa$8bb70480$dbfac350@nigelhome>
From: Nigel Swinson <Nigel.Swinson@rockliffe.com>
To: Kjetil Torgrim Homme <kjetilho@ifi.uio.no>
Cc: Sieve Mailing List <ietf-mta-filters@imc.org>
References: <twig.1125014327.8763@serendipity.palo-alto.ca.us> , <twig.1125014327.8763@serendipity.palo-alto.ca.us> <twig.1125020754.94965@serendipity.palo-alto.ca.us> <1125054534.15136.180.camel@chico.njus.no> <005c01c5aa44$49f18430$cf0ac050@nigelhome> <1125069059.15136.206.camel@chico.njus.no> , <1125069059.15136.206.camel@chico.njus.no> <twig.1125083963.7536@serendipity.palo-alto.ca.us> <028101c5ac9a$342ccee0$dbfac350@nigelhome> <4314936A.2060903@isode.com> <00e501c5ad87$f8987b60$662c2a0a@rockliffe.com> <1125435523.9108.53.camel@vingodur.ifi.uio.no>
Subject: Re: I-D ACTION:draft-daboo-sieve-include-03.txt (fwd)
Date: Tue, 30 Aug 2005 22:34:02 +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.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j7ULXQqe016023
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>
> the consequence of this is that global variables are only visible in > included scripts if they require the "include" extension themselves. I > don't think this natural behaviour, and why I have advocated making > variables global by default. > > there is an alternative which may be easier to get consensus for: the > change of text above, and an extra extension, call it "globals". > "globals" adds the :global modifier for "set" _and_ makes already > declared globals available to the current script. ... where a global variable is available both to the current script, to all scripts it includes, and all scripts that include it. Either of the above would be fine by me, and I agree the latter would be preferable :o) I consider the contents of a .siv file to be a script. And that you can build larger scripts by using the include extension. To declare that "there is only one script" seems quite confusing to me, as what then do you call a .siv file that is included by the parent siv file? Is it not a script too? Conveniently, the abstract of the include spec already seems to already fit with my definition of a script. > this means that a script will only be able to use the variables it has > set itself unless it explicitly asks to import the globals. .. and it uses the :global modifier when it uses the set action. > "globals" can be put in the "include"-document, or in a separate > document. I favour the former as I think there is a natural connection. > (it could also be in "variables", but that would delay the document > needlessly.) I agree, and again I think it preferable to change the word "global" to "file" in the variables draft in order to avoid confusion generated when reading include+variables. I would settle for what Aaron just suggested, but it still means we end up with two meanings for the word "global". Nigel
- I-D ACTION:draft-daboo-sieve-include-03.txt (fwd) Cyrus Daboo
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Aaron Stone
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Kjetil Torgrim Homme
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Aaron Stone
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Nigel Swinson
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Kjetil Torgrim Homme
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Kjetil Torgrim Homme
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Aaron Stone
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Nigel Swinson
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Aaron Stone
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Kjetil Torgrim Homme
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Aaron Stone
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Kjetil Torgrim Homme
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Nigel Swinson
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Cyrus Daboo
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Arnt Gulbrandsen
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Kjetil Torgrim Homme
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Cyrus Daboo
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Ned Freed
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Aaron Stone
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Nigel Swinson
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Alexey Melnikov
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Nigel Swinson
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Kjetil Torgrim Homme
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Aaron Stone
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Nigel Swinson
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Kjetil Torgrim Homme
- Re: I-D ACTION:draft-daboo-sieve-include-03.txt (… Alexey Melnikov