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 s927ObV5025916 for ; Thu, 2 Oct 2014 09:24:39 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx105) with ESMTPS (Nemesis) id 0Lhkyr-1Y4TS230mf-00mqq8 for ; Thu, 02 Oct 2014 09:24:32 +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 s927MbA3024518 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2014 09:22:37 +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 s91MPJgA013240; Thu, 2 Oct 2014 09:22:37 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11298028 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 2 Oct 2014 09:22:37 +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 s927Mbf5008966 for ; Thu, 2 Oct 2014 09:22:37 +0200 Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s927MZUk010134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Oct 2014 09:22:36 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s927MZEN007286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Oct 2014 09:22:35 +0200 Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s927MPli010070 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 2 Oct 2014 09:22:28 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XZaiW-0007xK-DP for LATEX-L@URZ.UNI-HEIDELBERG.DE; Thu, 02 Oct 2014 09:22:24 +0200 Received: from p5b390bcd.dip0.t-ipconnect.de ([91.57.11.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2014 09:22:24 +0200 Received: from news3 by p5b390bcd.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2014 09:22:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Lines: 40 References: <5429D0DF.7060608@morningstar2.co.uk> <10k836fpz0maa.dlg@nililand.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5b390bcd.dip0.t-ipconnect.de User-Agent: 40tude_Dialog/2.0.15.41de X-Spam-Level: X-Spam-Flag: No X-Envelope-From: X-Spam-Status: No, hits=-4.30 required=5 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS Message-ID: <1p1jnnjmq41l6.dlg@nililand.de> Date: Thu, 2 Oct 2014 09:22:08 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Ulrike Fischer Subject: Re: [l3keys] Suggestion: Add a key property for specifying key that /has/ to be used To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was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O2xGDu2qJzRq0O5GZ1eGIE/xyHU0ZJGYHKFJFSp+pNkO1m6xJjryxD0WrFsVqVa1 VDT7bd/Kvb+VJ8GTAnkqGDDaqPO7mZHiIg+p+Ysha8wewn6TPmhP85aG1XttVXWkdIHfEQABW OlH8WS8NsmjfgxZOnhjFfxieSnjEYMxNIJ/1sugLJx6krEODKynML3calSfc5xUwuhBlw90Ur xY12jrkM+giWT9qyKHOsWZ8jPefRugso6u3rp2rFrznTlVfhQVWhjjP76/R4q1xs3b4v2JDg6 3ILxpv4PnnRvMnuGtxipqPFX/196qyEaVw/pABdUDmD6eTIs+35UtIjLcR6R4lIU21TssoGJQ cFtU5nYyztc9OqSMRaTVpYNxFdzgGNtqBDhSe/m/LTnoFjqhp77nHnhcaQzXAD17SeyYTZJc3 DlT+S+Knb+19+P9DWRs0i619jpuqCRUppFfxRwcBQ8bC1t2RYcbb+3Y7ysxxMyITgxAmWidHS 8pGru2DG6ICQNY6Y3lxXfDZ4KY73Hr68SyGpsm/jCl6aeGRqt3 X-UI-Loop:V01:x53hdDoA7bM=:CC+etf/WC6SLZ7NByVipFkxCeckKCqnhiuhXremTs38= X-UI-Out-Filterresults: notjunk:1; X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7612 Am Wed, 1 Oct 2014 17:39:46 +0200 schrieb denis.bitouze@LMPA.UNIV-LITTORAL.FR: >>>> It is normally not the *key* that is required but a *value* >>> Except if some keys are considered as mandatory arguments (and they >>> could not be turned into arguments because keys are much more explicit >>> than arguments). >> No, it is still the value you want. E.g assume that beside your keys >> you also define a key numbermonth=143/6 and a key >> numberdate=143/6/2014 and a key extranumber=143/b and a key >> issuenumber as alias to number. All set the needed value 143. >> >> So which key do you want to declare as required? > > Now I see what you mean and I agree with you. But I guess I'd choose the > second case between the two following cases: > > 1. deliberately providing a many-to-one relation between keys and value, > and writing code that ensures all these values of all theses *number* > keys lead to the single issue's number, > 2. be careful in providing a one-to-one relation between a single > "number" key and issue's number value, and being able to specify that > this key is required. That was what I meant with that you need to be careful to define and use "basic keys". 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. -- Ulrike Fischer http://www.troubleshooting-tex.de/