GNU bug report logs - #10940
Emacs 24: regression reading comma

Previous Next

Package: emacs;

Reported by: Chris Leyon <cleyon <at> gmail.com>

Date: Sun, 4 Mar 2012 17:14:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 10940 <at> debbugs.gnu.org, Chris Leyon <cleyon <at> gmail.com>
Subject: bug#10940: Emacs 24: regression reading comma
Date: Mon, 05 Mar 2012 11:13:53 +0800
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> In Emacs 23, the lisp reader correctly parses a comma when reading an
>> event modifier, as in the following example specifying the character
>> C-,
>>     (global-set-key [(control ,)] 'my-command)
>
> You did not realize, but the above relies on the old-style backquote
> syntax, which has been further phased out (it's been obsolete for a very
> long time now).  So now (control ,) fails in the same way as (control
> ').  Use [(control ?,)] or [(control \,)] instead (which will work for
> older emacsen as well).

I've added a note to etc/NEWS about this.




This bug report was last modified 10 years and 347 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.