all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Unknown <unknown@unknown.invalid>
Subject: Re: Can't bind "\C-=" and "\C-+" keys
Date: Sat, 12 Oct 2002 20:45:22 +0800	[thread overview]
Message-ID: <fzvbzuzh.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: 5l3crefkwj.fsf@rum.cs.yale.edu

**** 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	other threads:[~2002-10-12 12:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-10 13:26 Can't bind "\C-=" and "\C-+" keys d2002xx
2002-10-10 14:06 ` Stefan Monnier <foo@acm.com>
2002-10-12 12:45   ` Unknown [this message]

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

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

  git send-email \
    --in-reply-to=fzvbzuzh.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me \
    --to=unknown@unknown.invalid \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.