|
From: | B. T. Raven |
Subject: | Re: shift+left/right arrow cannot be bound in Emacs |
Date: | Mon, 14 Sep 2015 14:47:32 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 9/14/2015 12:26 PM, Uwe Brauer wrote:
Uwe Brauer <oub@mat.ucm.es> writes:How are you triying to bind shift+left ?In my Emacs 25.0.50.1 on Kubuntu 15.04 asking for the current binding with C-h k shift+left shows<left> (translated from <S-left>) runs the command left-char (found in ...What says on your system?The same, I think I begin to understand, the reason is that shift+arrows is used for setting the mark (as in MS windows) so it might not be possible to bind these key combination.
I get the same result as Dan: no problem. Try: (global-set-key [(shift up)] (lambda () (interactive) (insert ?¶ ))) (global-set-key [(shift down)] (lambda () (interactive) (insert ?® )))The reason shift left is translated to bare left arrow is that there is no current binding for
(global-set-key [(shift up)] ))) (global-set-key [(shift down)] ))) Ed
[Prev in Thread] | Current Thread | [Next in Thread] |