From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Unwanted keybinding translation Date: Fri, 31 Aug 2012 23:56:25 +0200 Message-ID: <87a9xaafp2.fsf@googlemail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346450025 32264 80.91.229.3 (31 Aug 2012 21:53:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2012 21:53:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 31 23:53:47 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T7Z9s-0003bE-4m for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Aug 2012 23:53:44 +0200 Original-Received: from localhost ([::1]:58164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Z9p-0005Ut-RZ for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Aug 2012 17:53:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Z9l-0005Rq-QG for help-gnu-emacs@gnu.org; Fri, 31 Aug 2012 17:53:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7Z9k-0003Sa-RI for help-gnu-emacs@gnu.org; Fri, 31 Aug 2012 17:53:37 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:35811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Z9k-0003SU-KA for help-gnu-emacs@gnu.org; Fri, 31 Aug 2012 17:53:36 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T7Z9k-0003Pm-0p for help-gnu-emacs@gnu.org; Fri, 31 Aug 2012 23:53:36 +0200 Original-Received: from g231235128.adsl.alicedsl.de ([92.231.235.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Aug 2012 23:53:36 +0200 Original-Received: from tjolitz by g231235128.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Aug 2012 23:53:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: g231235128.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:rs/tLEgXr3kvvVafh2pkJUIjIdI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86613 Archived-At: 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 , 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, , C-M-v, ESC . `-------------------------------------------------------------------- Why is that so? Is that more or less a random thing if uppercase and lowercase keybindings are respected? -- cheers, Thorsten