Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t5CB0SFc026492 for ; Fri, 12 Jun 2015 13:00:29 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx008) with ESMTPS (Nemesis) id 0LbyKq-1ZUhAg1P5I-00jLEY for ; Fri, 12 Jun 2015 13:00:22 +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 t5CAx1eD019934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Jun 2015 12:59:01 +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 t5C9OXbv004981; Fri, 12 Jun 2015 12:59:01 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12189883 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 12 Jun 2015 12:59:01 +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 t5CAx0B7025641 for ; Fri, 12 Jun 2015 12:59:00 +0200 Received: from ix.urz.uni-heidelberg.de (cyrus-portal01.urz.uni-heidelberg.de [129.206.100.97]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t5CAx0DM019925 for ; Fri, 12 Jun 2015 12:59:00 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by ix.urz.uni-heidelberg.de (Postfix) with ESMTPS id 4F21D242F8DD for ; Fri, 12 Jun 2015 12:59:00 +0200 (CEST) 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 t5CAwtE8009296 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 12 Jun 2015 12:58:58 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z3Mfn-0003hA-1k for LATEX-L@URZ.UNI-HEIDELBERG.DE; Fri, 12 Jun 2015 12:58:55 +0200 Received: from p5b391df3.dip0.t-ipconnect.de ([91.57.29.243]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jun 2015 12:58:55 +0200 Received: from news3 by p5b391df3.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jun 2015 12:58:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Lines: 30 References: <557AAB6A.2060109@morningstar2.co.uk> 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: p5b391df3.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=-2.50 required=6 tests=AWL,BAYES_20,L_P0F_UNKN,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS Message-ID: <4x0uuwrujdy7$.dlg@nililand.de> Date: Fri, 12 Jun 2015 12:58:40 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Ulrike Fischer Subject: Re: Error with \keys_if_choice_exist if the value is hidden in a macro 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 not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:rhjqOuta+7k=:WgQR1YmpD41uO7J6JvudwlRFe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iCHn3vZ9WZaPZ2RlBr+G oayfMstTxNLpvEChoBqPm2mnz21/D3ErazQJjoxZCd10NddHsa4N4YVNulnoeXAZsLjcSFo+t 9k0WnbowJaCyUlat8iZhgftBy3Jsw56e2HfUQlb1fgQVjHgJftN57TrxXhbCK5FwWC+R2pPCA SrWKtIyMNJOW4bTbRClR6pn+oPV7v7zEuvNXMf8uTiTHJczLEzYKq6TvDG0DaoiXZVTSSNOfN WR6cGoq0Zy9OFZ7Wew/JhMfY5AxNVAuW4xmwn6VPE2cFZlqFDRrMLhWxgiIC7tp1LlKJPGgMm Tm7ZH+q3f5xPduaKU8g8pr39Z0z+2DseNz1RbJc4MTwjQC5BFO+TqzIlEx84K/ko39h6tBDfH 7lQIXH/KPRBkGa+9DEePQlYRNx0ixMJi/oAOqFSO+l0RQeHk73 X-UI-Loop:V01:QeTnB7L8Ks8=:jcc7MuUXK3AiLo/OzZ+mM3OmM8U+ti7s7PE9ypQoyMw= 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: 7728 Am Fri, 12 Jun 2015 10:50:34 +0100 schrieb Joseph Wright: >> Why is the T-branch executed in the second case? Is is a bug? > Yes: That's a relieve. I was really very bewildered ;-) Btw: I came across the problem because I was looking for a way to get \keys_set:nn { test } {type=\testvalue} working, if \testvalue expands to a known choice. Is there some good way to do it? \exp_args:Nnx\keys_set:nn { test } {type=\testvalue} works but could lead to problems if more keys are in the list. > P.S. Will also look at your TeX-sx question on key setting! Thanks, it is not pressing but imho a better solution than an explicit "known" group would be fine. I already run into an error when I forgot to put a key in this group ;-(. -- Ulrike Fischer http://www.troubleshooting-tex.de/