From: Thorsten Jolitz <tjolitz@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Unwanted keybinding translation
Date: Fri, 31 Aug 2012 23:56:25 +0200 [thread overview]
Message-ID: <87a9xaafp2.fsf@googlemail.com> (raw)
Hi List,
I have the following in my .emacs (since the C-M-v keybinding does not
work on the console in my case):
,---------------------------------------------------------
| ; global key for scroll up a window
| (global-set-key (kbd "C-v") 'scroll-up-command)
|
| ; global key for scroll down a window
| (global-set-key (kbd "M-v") 'scroll-down-command)
|
| ; global key for scroll up other window
| (global-set-key (kbd "C-S-v") 'scroll-other-window)
|
| ; global key for scroll down other window
| (global-set-key (kbd "M-S-v") 'scroll-other-window-down)
`---------------------------------------------------------
(I know that C-v and M-v are the defaults, but if I don't redefine theme
here things don't work out at all)
When I do C-h k 'M-V' I get:
,----------------------------------------------------------------------
| M-v (translated from M-V) runs the command scroll-down-command, which
| is an interactive compiled Lisp function in `window.el'.
|
| It is bound to <prior>, M-v.
`----------------------------------------------------------------------
while doing C-h k 'C-V' I get, as expected:
,--------------------------------------------------------------------
| C-S-v runs the command scroll-other-window, which is an interactive
| built-in function in `C source code'.
|
| It is bound to C-S-v, <M-next>, C-M-v, ESC <next>.
`--------------------------------------------------------------------
Why is that so? Is that more or less a random thing if uppercase and
lowercase keybindings are respected?
--
cheers,
Thorsten
next reply other threads:[~2012-08-31 21:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-31 21:56 Thorsten Jolitz [this message]
2012-09-01 7:26 ` Unwanted keybinding translation Oleksandr Gavenko
2012-09-01 12:45 ` Thorsten Jolitz
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=87a9xaafp2.fsf@googlemail.com \
--to=tjolitz@googlemail.com \
--cc=help-gnu-emacs@gnu.org \
/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.