Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p7R9sJ5U016035 for ; Sat, 27 Aug 2011 11:54:20 +0200 Received: (qmail 17943 invoked by alias); 27 Aug 2011 09:54:14 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 27 Aug 2011 09:54:14 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx063) with SMTP; 27 Aug 2011 11:54:14 +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 p7R9pKVK019093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 Aug 2011 11:51:20 +0200 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p7R0qe8v002634; Sat, 27 Aug 2011 11:51:19 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1598403 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 27 Aug 2011 11:51:19 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p7R9pJmL027200 for ; Sat, 27 Aug 2011 11:51:19 +0200 Received: from mail-yw0-f49.google.com (mail-yw0-f49.google.com [209.85.213.49]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p7R9pDC5018983 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Sat, 27 Aug 2011 11:51:18 +0200 Received: by ywp17 with SMTP id 17so5109702ywp.22 for ; Sat, 27 Aug 2011 02:51:13 -0700 (PDT) Received: by 10.42.168.66 with SMTP id v2mr2248250icy.104.1314438673239; Sat, 27 Aug 2011 02:51:13 -0700 (PDT) Received: from [10.0.1.106] (182-239-205-120.ip.adam.com.au [182.239.205.120]) by mx.google.com with ESMTPS id p4sm2771028icj.5.2011.08.27.02.51.11 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 27 Aug 2011 02:51:12 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) References: X-Mailer: Apple Mail (2.1081) X-Spam-Whitelist: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id p7R9pJmL027201 Message-ID: <35FEA381-6EA8-4464-9E0F-C504C2D92641@gmail.com> Date: Sat, 27 Aug 2011 19:21:08 +0930 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: l3keys: mirror boolean key To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p4wKdcM+Mw5ofD1NDlpc7xK+0s8ZGMlFLnXOVNg0wZYPIM0enWu4Dr11VOKT Eqd1V8iQXNMadcZlrZ9PbG/3xN9DfJpPDNthghg/zzpHvNYxIXTvqc9t2vnOWSbszmySO7fp9A0G 4njQZWkbKnNnFP7J8kNq8E0163JVTGD5vKedx8PRrCGFsJx4D22UmTZRyo=V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6833 On 26/08/2011, at 3:04 AM, Ulrike Fischer wrote: > Now I want to define a "mirrored" key > > no-sym > > so that "no-sym = true" sets \l_chessfss_sym_bool to false. > > Is there some easy way? Not directly as far as I know (using .code:n = { \bool_set_false:N \l_chessfss_sym_bool } works of course but it's not the best interface), so I think this would be a good addition. (I seem to remember kvoptions has a similar feature.) Which do you think is best to name it? no-sym .bool_unset:N = \l_chessfss_sym_bool no-sym .bool_set_false:N = \l_chessfss_sym_bool no-sym .bool_set_reverse:N = \l_chessfss_sym_bool Cheers, -- Will