From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: File local variable name containing ':' Date: Fri, 03 Sep 2010 23:27:08 +0200 Message-ID: References: <87r5hbzomj.fsf@stats.ox.ac.uk> <87lj7ihp3c.fsf@stats.ox.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283549241 6787 80.91.229.12 (3 Sep 2010 21:27:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2010 21:27:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Davison Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 03 23:27:20 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ordn4-0000Iy-KW for ged-emacs-devel@m.gmane.org; Fri, 03 Sep 2010 23:27:18 +0200 Original-Received: from localhost ([127.0.0.1]:34839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ordn4-0005LM-0a for ged-emacs-devel@m.gmane.org; Fri, 03 Sep 2010 17:27:18 -0400 Original-Received: from [140.186.70.92] (port=60429 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ordmx-0005LH-Jy for emacs-devel@gnu.org; Fri, 03 Sep 2010 17:27:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ordmw-000321-OI for emacs-devel@gnu.org; Fri, 03 Sep 2010 17:27:11 -0400 Original-Received: from impaqm5.telefonica.net ([213.4.138.5]:49604) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ordmw-00031s-I8 for emacs-devel@gnu.org; Fri, 03 Sep 2010 17:27:10 -0400 Original-Received: from IMPmailhost5.adm.correo ([10.20.102.126]) by IMPaqm5.telefonica.net with bizsmtp id 2M1L1f01E2jdgqJ3RMT95P; Fri, 03 Sep 2010 23:27:09 +0200 Original-Received: from ceviche.home ([83.61.33.16]) by IMPmailhost5.adm.correo with BIZ IMP id 2MT81f0030LsqWj1lMT8Vf; Fri, 03 Sep 2010 23:27:09 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Original-Received: by ceviche.home (Postfix, from userid 20848) id 4245C660DC; Fri, 3 Sep 2010 23:27:08 +0200 (CEST) In-Reply-To: <87lj7ihp3c.fsf@stats.ox.ac.uk> (Dan Davison's message of "Fri, 03 Sep 2010 10:35:35 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129658 Archived-At: > Fair enough. What about requiring that the separating colon is followed > by whitespace. Is the backwards incompatibility cost too high there? We could do that. E.g. if there's only 1 colon, we know what to do, and if there's more than 1 we can force the separating one to be followed by something like [[ "(]. > Or could colons in the variable name be escaped with a backslash? That would be a good simple and reliable option, indeed, since a\:b already represents the same symbol as a:b in Elisp. Stefan