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 o5GHJdon030228 for ; Wed, 16 Jun 2010 19:19:40 +0200 Received: (qmail 8050 invoked by alias); 16 Jun 2010 17:19:33 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 16 Jun 2010 17:19:31 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx050) with SMTP; 16 Jun 2010 19:19:31 +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 o5GHH5t0013208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Jun 2010 19:17:05 +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 o5GArNPW020186; Wed, 16 Jun 2010 19:16:59 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 441131 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 16 Jun 2010 19:16: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 o5GHGx42006680 for ; Wed, 16 Jun 2010 19:16:59 +0200 Received: from mail-fx0-f49.google.com (mail-fx0-f49.google.com [209.85.161.49]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o5GHGl3V012975 for ; Wed, 16 Jun 2010 19:16:51 +0200 Received: by fxm11 with SMTP id 11so985190fxm.22 for ; Wed, 16 Jun 2010 10:16:47 -0700 (PDT) Received: by 10.223.17.136 with SMTP id s8mr279253faa.41.1276708607087; Wed, 16 Jun 2010 10:16:47 -0700 (PDT) Received: from irwin.vpn.uni-freiburg.de (p57B2C85C.dip.t-dialin.net [87.178.200.92]) by mx.google.com with ESMTPS id p21sm12755514fak.45.2010.06.16.10.16.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 16 Jun 2010 10:16:46 -0700 (PDT) Received: by irwin.vpn.uni-freiburg.de (Postfix, from userid 500) id 83C6B19F1A; Wed, 16 Jun 2010 19:23:02 +0200 (CEST) Mail-Followup-To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE References: <02DFADB9-2732-4230-8BFB-DB31CD4F503E@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Message-ID: <20100616172302.GA469@oberdiek.my-fqdn.de> Date: Wed, 16 Jun 2010 19:23:02 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Heiko Oberdiek Subject: Re: Fwd: ansinew.def makes @ other To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <02DFADB9-2732-4230-8BFB-DB31CD4F503E@gmail.com> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe+OynZRhvlGqvET/J 3dm2vHWnQHIuidpgLhS+P7NNYz+zyHLMY9yCwFVO9U8BDPZ87eajeDwRZsgjCv4EL+SDrOuNRrC6 U1EHg==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: 6343 On Tue, Jun 15, 2010 at 10:38:46PM +0930, Will Robertson wrote: > From: Christophe Jorssen > Subject: ansinew.def makes @ other > > Hello all, > > I'm surprised that ansinew.def (from the inputenc package), and probably > other .def, begins with a \makeatletter and ends with a > \makeatother, loosing the catcode that @ had when entering the file. > > Is there a reason for that? Wouldn't it better to save the catcode of @ > and then restore it? > > What do you think? It's a bug, the catcode of `@' should be saved and restored. It doesn't matter, if the the `.def' file is loaded via option of \usepackage, because LaTeX restores the catcode of `@' after the package, but the `.def' file can also be loaded via \inputencoding. Afterwards the catcode of `@' is always 12 regardless the previous settings. BTW, the x-*.def files from package `inputenx' save and restore the catcode of `@'. Yours sincerely Heiko