help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't bind "\C-=" and "\C-+" keys


From: d2002xx
Subject: Re: Can't bind "\C-=" and "\C-+" keys
Date: Sat, 12 Oct 2002 20:45:22 +0800
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i586-pc-linux-gnu)

**** Post for FREE via your newsreader at post.usenet.com ****

The nice guy "Stefan Monnier <foo@acm.com>"
<monnier+gnu.emacs.help/news/@flint.cs.yale.edu> wrote:

>>>>>> "d2002xx" == d2002xx  <d2002xx@myrealbox.com> writes:
>> When I bind the two keys by (global-set-key "\C-=" 'undo) and
>> (global-set-key "\C-+" 'redo), Emacs says "Invalid modifiers in
>> string".
>
> C-= and C-+ are not characters, so you can't put them into a string.
> Thus you need to use something like
>
>         (global-set-key [(control ?+)] 'redo)

It works!! Thank you!!!

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
                      http://www.usenet.com
Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


reply via email to

[Prev in Thread] Current Thread [Next in Thread]