Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s92EmMkJ001714 for ; Thu, 2 Oct 2014 16:48:23 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx004) with ESMTPS (Nemesis) id 0MJVgR-1XXmw73fdD-0039LB for ; Thu, 02 Oct 2014 16:48:17 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s92EjtlR017097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2014 16:45:55 +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 s92D9F5w013240; Thu, 2 Oct 2014 16:45:55 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11322473 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 2 Oct 2014 16:45:55 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s92EjsND015878 for ; Thu, 2 Oct 2014 16:45:55 +0200 Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s92Ejc2T016942 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 2 Oct 2014 16:45:40 +0200 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XZhdP-0007mx-SH for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 02 Oct 2014 16:45:35 +0200 Received: from mail-1y.bbox.fr ([194.158.98.14]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZhdB-0007fA-G1 for public-LATEX-L-0lvw86wZMd8wwC3q1xGJAzLcMfAFj/UcfwJ6n/Uicl4@plane.gmane.org; Thu, 02 Oct 2014 16:45:21 +0200 Received: from drums.chezmoi.fr.i-did-not-set--mail-host-address--so-tickle-me (static-176-182-191-61.ncc.abo.bbox.fr [176.182.191.61]) by mail-1y.bbox.fr (Postfix) with ESMTP id 19BA21A9 for ; Thu, 2 Oct 2014 16:45:21 +0200 (CEST) References: <5429D0DF.7060608@morningstar2.co.uk> <10k836fpz0maa.dlg@nililand.de> <1p1jnnjmq41l6.dlg@nililand.de> <542D37EA.1080101@free.fr> X-Url: http://gte.univ-littoral.fr/members/dbitouze/pub/latex X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id s92EjtND015879 Message-ID: Date: Thu, 2 Oct 2014 16:45:19 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: =?utf-8?Q?Denis_Bitouz=C3=A9?= 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: <542D37EA.1080101@free.fr> (Julien RIVAUD's message of "Thu, 2 Oct 2014 13:32:58 +0200") Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-MIME-Autoconverted: from 8bit to quoted-printable by relay.uni-heidelberg.de id s92EjtlR017097 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:D0HmpunLiHk=:YwZsMC91OmFg8jKyfm+OZufWEM gX8TOvdm9kAVlxzqqcXX8x+j3V8cEt56BI31OoDdg6UPAnW1YVmkvyYTbk7riyhkpQ6KCz+99 BwDI/Qn0w68XK6gZj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Gtqa1fYzaoF9eOzQVfr5KljinlDAwe8OBb97exXUuLV4r5/TZfiX6VwrF9bSiRZ7y0cOgaRO3 vxvBlUSq8WCvk/XKdKicwpnubW5TjwZbjAXjJ1m/cihgqGLslCFxlNPk3AFsdQIaT+VyOb0Dh eZK3F9be+LzlyvQ+NmX06LlWrd7SjoHTixzy5AYWAYUabA7xa5AN0I9hw6rDF4SEIVeEOYdmm 5WPlpXqCEbMJCSHnqYtVcSeLbuY8QP/6F8nMtbvvkCOiKazc9fCC+N+CNFRLtkJx+ydwQFA7T WjZHyk36TPNuAu9kOUTEnLeGpNJw8v3EaXUyqn38kBp0qJkHbi X-UI-Loop:V01:JAEo4l6ndVA=:597Lw+85MvHzjffFBjVdSerqGapkqOt1LXAggczMXYs= 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 s92EmMkJ001714 Status: R X-Status: X-Keywords: X-UID: 7616 Le 02/10/14 à 13h32, "Julien RIVAUD (_FrnchFrgg_)" a écrit : > 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. Indeed. Maybe I was wrong, but it came to my mind that I wouldn't be the only one who needs such checks. And, instead of leaving each one hacking this by hands more or less properly, a general LaTeX3 frame could be useful. -- Denis