unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chris Leyon <cleyon@gmail.com>
Cc: 10940@debbugs.gnu.org
Subject: bug#10940: Emacs 24: regression reading comma
Date: Sun, 04 Mar 2012 21:47:36 -0500	[thread overview]
Message-ID: <jwvr4x79365.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CALfY4+83HHrwaLgdTZdpdD0=B89XT_zj_vR3oUZ+z0q+qkTf-g@mail.gmail.com> (Chris Leyon's message of "Sun, 4 Mar 2012 12:11:28 -0500")

> 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).


        Stefan





  reply	other threads:[~2012-03-05  2:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-04 17:11 bug#10940: Emacs 24: regression reading comma Chris Leyon
2012-03-05  2:47 ` Stefan Monnier [this message]
2012-03-05  3:13   ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvr4x79365.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10940@debbugs.gnu.org \
    --cc=cleyon@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).