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 t7OMDRNn027272 for ; Tue, 25 Aug 2015 00:13:28 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx007) with ESMTPS (Nemesis) id 0LrJIS-1YksAQ0Xl6-0139ZP for ; Tue, 25 Aug 2015 00:13:22 +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 t7OMBgPc009621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Aug 2015 00:11:42 +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 t7OM19Ae015547; Tue, 25 Aug 2015 00:11:42 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12511332 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 25 Aug 2015 00:11:42 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7OMBgph016920 for ; Tue, 25 Aug 2015 00:11:42 +0200 Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com [209.85.213.170]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t7OMBdg2009599 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Tue, 25 Aug 2015 00:11:41 +0200 Received: by igfj19 with SMTP id j19so67120582igf.1 for ; Mon, 24 Aug 2015 15:11:38 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.88.41 with SMTP id bd9mr18249163igb.4.1440454298268; Mon, 24 Aug 2015 15:11:38 -0700 (PDT) Received: by 10.36.81.201 with HTTP; Mon, 24 Aug 2015 15:11:38 -0700 (PDT) References: <55DBB7F6.1070307@clear.net.nz> <55DABA1D.3050706@morningstar2.co.uk> Content-Type: text/plain; charset=UTF-8 Message-ID: Date: Tue, 25 Aug 2015 00:11:38 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Bruno Le Floch Subject: Re: Catcode changes To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <55DABA1D.3050706@morningstar2.co.uk> 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:xsMG5/bLTXo=:SCC0XirPJkJR2cZ9MxofX6mJus pHxD2C6rszcJQ+4cdo/zTLmmZz4Ua+kp4buNY0JPlHgYcuQvglaqwVK5wG6pHrHHw0AuX3o0p Z6mQ6Hy3+JM1B4RVIlPpcurDeoTzgpcG5BS5yEgsqV2AeHIBO8U0oRjrxuo7QiX+L3OBYHRbz e7NdW58tIdEXvjQIddtswAXJteDDkYgaDUYhzkR+8hepLOkyfehnuWwAftu6SPn3r1t4uPunG YNma1qspuME2dkELjxbRohs/PCexgyN4/YApCnQxvXsMKsFJuKl5F4OG/JK1zBaFZnrYX8tsn levjY4OKOyoFU1oyE0ysLbXU5Stk0yqr8C0w41rR3JuexmFJYwBH4HJL7KEX/PJk4mNV9JL3z CPFmwEHyrYEVG5rJy0JJmCM2mSWOKELApByjpzk6Kpb9lpsABhPhv6CR7w4VnJ87sE0YXOnAb gVOjt4ij91cbCtPW9nn1QSo/8FZSM6imGeLlvodIbu6SssEDH+wSO7VRVi+s8iJNy1AVZ2yZe ++HmVLv1GTBdVcOyIaJGDbMykwVnrqOUw1IIkPFaKhlvJ2E9At9aR8NYCkVzwzmAHEjMF8ghZ ggZyuPZP7G0HZuxRJPOS8iQd4lY0DFa+dlj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0ECoAgWiSbrbB9jctjMn56s4wMWpyZ JXjiuZr3xJBwZ4ca29pxLJUu7TskdXk2yemVA4pnmCBCD/GZF23aJIrijCZI424rSzLZhcnQg o+sAoPaX67w+0MLjoavoUXkg+ItOgTsrPrEzfU05osnPScxbJ3hTEhxCfXlbCjTvh5R4RoUEL Ah8wjbaB5nkFvWzrhdZHv/g+NOZPj5GTftFg5uYHULfCcmmOYIk8FnGmRTwA4gugxy905Z9jI lZU+Jm2NG9CgXoD81+DGbLEJkEk9e4qHSXQeK+nx5PtxsqHQk4kn1URWaK8Rd3nBLxYQuTNWU 9eJZ/NErfP0JzKsB9e7fB3u9LbVJvWlNiSE6MDFnXbPiFwCE2iACuwWaxBi6JKaxUyJA68Gc1 yf8noK7TInhl11RTJaLgt0R3Er5u//EjttVdhFPHi0LpMQnH1hID X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7829 On 8/24/15, Joseph Wright wrote: > On 25/08/2015 01:33, aparsloe wrote: >> It has taken me a while to get to grips with \tl_set_rescan:Nnn >> {setup} {tokens}, not least the fact that *omission* from the setup >> means "revert to usual catcode". I think this is worth documenting in >> interface3.pdf, since it seems not unreasonable (at least it did to me) >> to suppose that if one has explicitly changed a catcode using >> \tl_set_rescan:Nnn, only a similarly explicit change would revert the >> catcode to its usual value. In particular it would be helpful to >> document the fact that using an empty setup { } reverts everything to >> usual values. >> >> Andrew > > I see what you mean: I'll add a note that any chars not set up > explicitly will have the *current* catcode applied. (That's not quite > the same as saying the 'usual' value.) > > Worth noting perhaps that rescanning tokens is in general a bit tricky > to use safely. (Certainly if possible I find other ways of solving > problems.) (Off-list to avoid noise.) If you do change the doc, please include a comment along those lines (that rescanning is typically not the best approach). Bruno