Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s92BZNEP030595 for ; Thu, 2 Oct 2014 13:35:24 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx105) with ESMTPS (Nemesis) id 0MfB5C-1Xu33p1ZJy-00OpiP for ; Thu, 02 Oct 2014 13:35:16 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s92BXc3F031121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2014 13:33:39 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s927mrxu023365; Thu, 2 Oct 2014 13:33:38 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11308499 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 2 Oct 2014 13:33:38 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s92BXcY6029786 for ; Thu, 2 Oct 2014 13:33:38 +0200 Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s92BX3HY030764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Oct 2014 13:33:06 +0200 Received: from [192.168.43.90] (unknown [37.160.140.31]) (Authenticated sender: frnchfrgg) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 7B833D480BF for ; Thu, 2 Oct 2014 13:32:21 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 References: <5429D0DF.7060608@morningstar2.co.uk> <10k836fpz0maa.dlg@nililand.de> <1p1jnnjmq41l6.dlg@nililand.de> Content-Type: text/plain; charset=utf-8; format=flowed Message-ID: <542D37EA.1080101@free.fr> Date: Thu, 2 Oct 2014 13:32:58 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: "Julien RIVAUD (_FrnchFrgg_)" Subject: Re: [l3keys] Suggestion: Add a key property for specifying key that /has/ to be used To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <1p1jnnjmq41l6.dlg@nililand.de> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-MIME-Autoconverted: from 8bit to quoted-printable by relay2.uni-heidelberg.de id s92BXc3F031121 Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:hF+3ZTMxSNk=:0iEK3dSnuWQVLXYLo3H6g4A7dV eKbctB2ATdx8zSd3TD6sbo7l0N8KIBdADrdNTyTrXbfW76ofBVg9IybUnpFSNJO9UNfXKFJZe WQaub470vHAEaUW/DqkenP7CvLwEiokU4dyaoVaKKUyZm5KEFSm28e0mSinjLU5xX4ycpoghA oZyXXT0vtF2E+7H5q92FHVpn09vWTq4MtUhwx6mVuiSb5iymptCDoFP6zR1bTx+ZczFBuPZhl znotwJDEyLHeGSpDZ4WI7hzUOIlTseFtoAnShnbVylUiDWV8WMbNDTSSSRa3wg8YQ08ROCmtk ji1JRAk+ZZBESAWIuVKjGcCKJUBk8csMXSO4I0Ra/ffJpQIHhg1kNtMLKVhD4Dzs4dyOcDoLw x/dAzHf3kwwfgk/C77FvcUairOWk/+2zbslDSkHKhQVU2wfVEWtB5TgwIDf+GJXf+IYI3YwYC RC/Qrej3+8CiKd264CVB25NTISsbVxu+4urM0NjAt2K1uLH/XDOJJO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95aeo7FF9KXmttZkLUaZ+WIjjp1ySXE= X-UI-Out-Filterresults: notjunk:1; X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by h1439878.stratoserver.net id s92BZNEP030595 Status: R X-Status: X-Keywords: X-UID: 7613 Le 02/10/2014 09:22, Ulrike Fischer a écrit : > Beside this there is also the timing problem Joseph mentioned: when > should be tested if a key has been used? It is obviously not the key > code of the key that can do it. So imho you are not looking for a > .required property but a .enableifsettest property which adds and > sets some boolean which you can later check. Or better yet, use an initial value for your property that unambiguously represents "not set", and validate that at the beginning. Since you need to have an extra step to check if the required properties have been set, you can as well use a token list to store the value instead of directly an int for instance, and first check if it is your special "not set" value, then cast it to integer yourself. Julien "_FrnchFrgg_" Rivaud