all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* define-key turns to go the wrong way.
@ 2013-04-04  1:45 Peng Dai
  2013-04-04  9:05 ` XeCycle
  2013-04-04  9:31 ` Peter Dyballa
  0 siblings, 2 replies; 3+ messages in thread
From: Peng Dai @ 2013-04-04  1:45 UTC (permalink / raw
  To: help-gnu-emacs

I use ubuntu12.04(32bit,US), and emacs24.2. When I descide to have a new key
"\C-[" and "\C-]" to scroll my window,

so I write the following in the init.el

(global-set-key (kbd "\C-]") (lambda () (interactive) (scroll-up 2)))
(global-set-key (kbd "\C-[") (lambda () (interactive) (scroll-down 2)))

this first is work fine. but the second didn't work.
When I use the "\C-h k" to see what' wrong. It turn out to be "\C-[" was readed as "<ECS>". I search the google with no result, it says it was because of the ISCAE's key value but with no soluvation give.

And I find another key has the same problem,too. like:
"\C-j" turn to be "<SPACE>"
"\C-M-j" turn to be "<RET>j"

Can anyone help.


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

end of thread, other threads:[~2013-04-04  9:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04  1:45 define-key turns to go the wrong way Peng Dai
2013-04-04  9:05 ` XeCycle
2013-04-04  9:31 ` Peter Dyballa

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.