unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* keybinding mystery
@ 2007-10-05  8:28 Gordon Beaton
  2007-10-05  9:26 ` Peter Dyballa
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Gordon Beaton @ 2007-10-05  8:28 UTC (permalink / raw)
  To: help-gnu-emacs

I map ctrl-= to a function like this:

 (global-set-key [(ctrl =)] 'gb-match-paren)

This works fine, unless I run "emacs -nw".

However If I run "emacs -nw" (or "emacs -nw -q --no-site-file"), this
key combination inserts "=" into my text. describe-key seems to
confirm that "ctrl" is lost:

 = runs the command self-insert-command

This is emacs 22.1 on Linux. Other commands that use ctrl don't behave
this way.

How should I bind this key to my function so that it works in both
cases?

/gordon

--

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-10-06 12:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-05  8:28 keybinding mystery Gordon Beaton
2007-10-05  9:26 ` Peter Dyballa
2007-10-05  9:40 ` Tassilo Horn
2007-10-05 10:52   ` Gordon Beaton
     [not found] ` <mailman.1718.1191576401.18990.help-gnu-emacs@gnu.org>
2007-10-05 10:43   ` Gordon Beaton
2007-10-05 11:39 ` Michaël Cadilhac
2007-10-06 12:16   ` Reiner Steib
     [not found] ` <mailman.1725.1191584111.18990.help-gnu-emacs@gnu.org>
2007-10-05 12:05   ` Gordon Beaton
2007-10-05 17:53     ` Sven Joachim

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