Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s91FgW3R006976 for ; Wed, 1 Oct 2014 17:42:33 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx102) with ESMTPS (Nemesis) id 0MB1nE-1XPQPd2vQ4-009zGq for ; Wed, 01 Oct 2014 17:42:26 +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 s91FeDfu017316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Oct 2014 17:40:13 +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 s91Cpf9S029879; Wed, 1 Oct 2014 17:40:12 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11345129 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 1 Oct 2014 17:40:12 +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 s91FeCoi020141 for ; Wed, 1 Oct 2014 17:40:12 +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 s91Fe2gp011512 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 1 Oct 2014 17:40:05 +0200 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XZM0W-0006ha-R7 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 01 Oct 2014 17:40:00 +0200 Received: from mail-1y.bbox.fr ([194.158.98.14]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZM0J-0006bk-HZ for public-LATEX-L-0lvw86wZMd8wwC3q1xGJAzLcMfAFj/UcfwJ6n/Uicl4@plane.gmane.org; Wed, 01 Oct 2014 17:39:47 +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 3ED2111F for ; Wed, 1 Oct 2014 17:39:47 +0200 (CEST) References: <5429D0DF.7060608@morningstar2.co.uk> <10k836fpz0maa.dlg@nililand.de> 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 s91FeCoi020142 Message-ID: Date: Wed, 1 Oct 2014 17:39:46 +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: (Ulrike Fischer's message of "Wed, 1 Oct 2014 17:06:46 +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 s91FeDfu017316 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:RqWAQRHKG8M=:yze4HnqvnmljOTVFVMxKqF+zFy uSANvQVFEehflCKlijvAQVRSIfsHZRyfVrcVjmG+Kpr6iVbogQhgu+PUuh71aSQPHCXwHYeTg 9Y0YQ2RwyGkeSe6Aj7BAaH8dezsuIEmF0cAssQpFJ4ybDF+tWS8bAAqxaj0kxJMXN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iAbWel5ubhIIV6hRhQLnSxMoNRCmctqeVhJ qzhDILEGdPWfKuwc42sGR9nvAQKC3aDmDEp+ZQZ2EFK3g+G1qRRxfp2rllB3l+7KvpiPfpig/ DBlN6+eSIe/6pN93Lf/aoFQLfK2s6UUjqnIAFQcg3qMyiFTTL5HJS7z+TT4wlKIeEoYuRp3AD XkDi+IEHc57hbd4cxYpkWRaCrX8l+YgcPrQIKjoPMjCkYtQZ1RRncH98P+3wGsg3Ky93atEV3 WVLD1UzRUnD+iU+bF7e/3NrG90+gYWPgguoaNz0xdGt+sdKUpC X-UI-Loop:V01:y0keA08Gz28=:adj1pOOTquNH+dcVLj97X+2QEhceyfWz8BpxCYa7IsA= 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 s91FgW3R006976 Status: R X-Status: X-Keywords: X-UID: 7611 Le 01/10/14 à 17h06, Ulrike Fischer a écrit : > Am Wed, 1 Oct 2014 16:46:13 +0200 schrieb > denis.bitouze-/xtQRdnxTdLaUcvLomQ+0NOM1ZH/LfCJ@public.gmane.org: > >>> 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. >>> Imho it is easier and more logical to test for the value and emit an >>> error if is doesn't exist. > >> OK but, AFAICS, there isn't any high level key property for this (and >> that's the point of this thread): > > The question is if the high level key property is the correct place > to declare such a requirement on a value. I must admit that's an open question :) >>> (Actually I wouldn't emit an error. As almost everyone is using >>> scrollmode today error message are often ignored. > >> Most of the TeX editors highlight errors, no? At least it is the case >> for TeXstudio, for instance. > > Sure but a lot of users tend to ignore them as long as the document > compiles. They often don't understand what the error means and so > turn a blind eye on it. You wouldn't believe how many people start > the correct errors only when the 100-error limit is reached and > nothing works ;-) I must admit that's a closed question ;) -- Denis