Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t6EA58a4022768 for ; Tue, 14 Jul 2015 12:05:09 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx002) with ESMTP (Nemesis) id 0MPGiG-1ZJKnu3TiC-004Qe6 for ; Tue, 14 Jul 2015 12:05:03 +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 t6EA3aWW029750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jul 2015 12:03:36 +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 t6E8bu7g003551; Tue, 14 Jul 2015 12:03:36 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12372664 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 14 Jul 2015 12:03:35 +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 t6EA3Zsn017521 for ; Tue, 14 Jul 2015 12:03:35 +0200 Received: from ftx-008-i765.relay.mailchannels.net (ftx-008-i765.relay.mailchannels.net [50.61.143.65]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t6EA3RIZ029639 for ; Tue, 14 Jul 2015 12:03:31 +0200 X-Sender-Id: netnames|x-authuser|joseph.wright@morningstar2.co.uk Received: from smtp3.easily.co.uk (ip-10-237-13-110.us-west-2.compute.internal [10.237.13.110]) by relay.mailchannels.net (Postfix) with ESMTPA id 2E1001D10E3 for ; Tue, 14 Jul 2015 10:03:25 +0000 (UTC) X-Sender-Id: netnames|x-authuser|joseph.wright@morningstar2.co.uk Received: from smtp3.easily.co.uk (smtp3.easily.co.uk [10.83.15.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.5.1); Tue, 14 Jul 2015 10:03:26 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: netnames|x-authuser|joseph.wright@morningstar2.co.uk X-MailChannels-Auth-Id: netnames X-MC-Loop-Signature: 1436868205570:2325812331 X-MC-Ingress-Time: 1436868205570 Received: from [139.222.114.154] (port=55578 helo=[139.222.114.154]) by smtp3.easily.co.uk with esmtpa (Exim 4.43) id 1ZEx3b-0008Vm-3P for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 14 Jul 2015 11:03:23 +0100 References: <11lm3sqjz6xux$.dlg@nililand.de> <5595661F.1070304@morningstar2.co.uk> <55962878.5030204@morningstar2.co.uk> <55A4A8D2.6060304@morningstar2.co.uk> <1bc6qigbj7juc.dlg@nililand.de> <55A4CB65.9050302@morningstar2.co.uk> <1nk3r88bkot3p$.dlg@nililand.de> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-AuthUser: joseph.wright@morningstar2.co.uk Message-ID: <55A4DE6A.4010307@morningstar2.co.uk> Date: Tue, 14 Jul 2015 11:03:22 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Order of key declarations To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <1nk3r88bkot3p$.dlg@nililand.de> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: 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:gbTP9G37WqE=:WMsbnCZuBudIvbhDdWlWcU1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pXqe5J3xbO1jztos X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7771 On 14/07/2015 10:19, Ulrike Fischer wrote: > Am Tue, 14 Jul 2015 09:42:13 +0100 schrieb Joseph Wright: > >> I was thinking of >> >> \keys_define:nn {test} >> { >> testa .code:n = {\tl_show:n {#1}}, >> testa .value_required:, >> testb .code:n = {\tl_show:n {#1}}, >> testb .value_required:, >> testb .default:n = {} >> } >> >> \keys_set:nn {test} {testa,testb} >> >> where one might expect to get an error only in the first case. That's >> not currently the situation! > > Hm. My first reaction was that it works as expected. If I explictly > require that the *user* gives a value, a *package* default doesn't > make sense and shouldn't replace the user action. That's entirely logical and as you say what currently happens, it's just it's not documented (or I think tested). I'll address that so we have a clear position :-) > It is also consistent with the other way round: > > \documentclass{article} > \usepackage{expl3} > \begin{document} > \ExplSyntaxOn > \keys_define:nn {test} > { > testb .code:n = {#1}, > testb .value_forbidden:, > testb .default:n = {xxx} > } > > \keys_set:nn {test} {testb} > > \end{document} Again, probably should document this. Time-allowing I will do an update to l3keys today to address all of the points raised. -- Joseph Wright