Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Sep 2008 15:20:57 +0200 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id m8IDKpxZ020833 for ; Thu, 18 Sep 2008 15:20:51 +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 m8IDExDV016206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Sep 2008 15:14:59 +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 m8HM1hU1005980; Thu, 18 Sep 2008 15:14:59 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 45825 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 18 Sep 2008 15:14:59 +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 m8IDExbp010015 for ; Thu, 18 Sep 2008 15:14:59 +0200 Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.242]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id m8IDErW0016393 for ; Thu, 18 Sep 2008 15:14:57 +0200 Received: by rv-out-0708.google.com with SMTP id c5so3623796rvf.10 for ; Thu, 18 Sep 2008 06:14:53 -0700 (PDT) Received: by 10.141.151.20 with SMTP id d20mr1940641rvo.232.1221743693033; Thu, 18 Sep 2008 06:14:53 -0700 (PDT) Received: from ?129.127.15.244? ( [129.127.15.244]) by mx.google.com with ESMTPS id l31sm670871rvb.2.2008.09.18.06.14.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Sep 2008 06:14:52 -0700 (PDT) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) References: <48D22952.9000204@morningstar2.co.uk> <27990a880809180405v7d5b816fk93b12cd51c6f442e@mail.gmail.com> <48D24A18.8000208@morningstar2.co.uk> X-Mailer: Apple Mail (2.929.2) X-Spam-Whitelist: Message-ID: <7293C1B4-F130-48A4-81CB-B9B2598CA394@gmail.com> Date: Thu, 18 Sep 2008 22:44:49 +0930 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: \char_set_catcode:nn To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <48D24A18.8000208@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -2.599 () BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 18 Sep 2008 13:20:57.0944 (UTC) FILETIME=[630BCD80:01C91991] Status: R X-Status: X-Keywords: X-UID: 5357 On 18/09/2008, at 10:01 PM, Joseph Wright wrote: > To save everyone a little time, how about the following for a > comprehensive set (following the \char_if_ names where > available): > > \def_new:Npn \char_make_escape:N #1 { > \char_set_catcode:nn {`#1} {\c_zero} > } [etc.] Great, thanks! I've added this code to the repository but the documentation still needs a little work. And unit tests need to be written, too. Does anyone have any objections to the command names? As opposed to something like \char_set_catcode_escape:N instead. I *hope* no-one disagrees with the idea of these commands (with the argument that the plain catcode number should be used instead); to me they seem quite "at home" with the philosophy of the expl3 syntax. Cheers, Will