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 o8I6v8Fp028186 for ; Sat, 18 Sep 2010 08:57:09 +0200 Received: (qmail 15070 invoked by alias); 18 Sep 2010 06:57:03 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 18 Sep 2010 06:57:03 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx059) with SMTP; 18 Sep 2010 08:57: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 o8I6td1c030181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 18 Sep 2010 08:55:39 +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 o8HN2dVZ020290; Sat, 18 Sep 2010 08:55:20 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 438175 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 18 Sep 2010 08:55:20 +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 o8I6tK0h028050 for ; Sat, 18 Sep 2010 08:55:20 +0200 Received: from mail-px0-f177.google.com (mail-px0-f177.google.com [209.85.212.177]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o8I6siOI026183 for ; Sat, 18 Sep 2010 08:54:48 +0200 Received: by pxi4 with SMTP id 4so1142248pxi.22 for ; Fri, 17 Sep 2010 23:55:14 -0700 (PDT) Received: by 10.114.109.8 with SMTP id h8mr6705979wac.78.1284792914043; Fri, 17 Sep 2010 23:55:14 -0700 (PDT) Received: from [10.0.1.107] (182-239-167-130.ip.adam.com.au [182.239.167.130]) by mx.google.com with ESMTPS id d39sm8085635wam.16.2010.09.17.23.55.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Sep 2010 23:55:12 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii X-Priority: 3 References: <0BFA7483-6E3E-45D0-9094-3DEE5D880A1E@gmail.com> <1816801436.1740507.1284759290533.JavaMail.fmail@mwmweb010> 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 o8I6tK0h028051 Message-ID: <67153566-3F38-428D-B5CB-DCF66544891F@gmail.com> Date: Sat, 18 Sep 2010 16:25:08 +0930 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: Consistently active characters To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <1816801436.1740507.1284759290533.JavaMail.fmail@mwmweb010> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p6i75npGen84eVAEFK/syJmFuaL1OLtauwJ5R/kaZ9HAe8peGX1DeqJL7BW4 1X28hmBsSaikXt0ebYfUaHmtXkk7HChP+4IT8uNdVgNwDH5hrhnvoJ4U9x3qC9CkHcMikBVzVkV0 aKFtQ==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: 6403 On 18/09/2010, at 7:04 AM, Uwe Lueck wrote: > Will Robertson , 17.09.2010 07:21:30: >> >> \def\foo{... >> \lccode`#1=`\~ > > ! Illegal parameter number in definition of \foo. > > And according to my own experience, it must be \lccode`\~=`#1..., > cf. doc.sty \@sverb/\do@noligs and below. Oops, yes, that's of course what I meant :) I was writing off the cuff (and the \def\foo was implied to be inside another macro, say). On 18/09/2010, at 9:03 AM, Heiko Oberdiek wrote: > \providecommand*{\MakeActiveDef}[1]{% > \catcode`#1\active > \begingroup > \lccode`\~`#1% > \lowercase{\endgroup \def ~}% > } Ah, this is nice. Better than what I was thinking of as you no longer need a stray active character floating around. I've added these tentatively to expl3 in the "candidates" module under the names \char_active_set:Npn, \char_active_set_eq:NN, and so on. Thanks Uwe and Heiko, -- Will