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

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

Unwanted keybinding translation


From: Thorsten Jolitz
Subject: Unwanted keybinding translation
Date: Fri, 31 Aug 2012 23:56:25 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

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





reply via email to

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