From: "B. T. Raven" <btraven@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: shift+left/right arrow cannot be bound in Emacs
Date: Mon, 14 Sep 2015 14:47:32 -0500 [thread overview]
Message-ID: <mt788i01p2e@news4.newsguy.com> (raw)
In-Reply-To: <mailman.1119.1442251609.19560.help-gnu-emacs@gnu.org>
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
next prev parent reply other threads:[~2015-09-14 19:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-14 15:29 shift+left/right arrow cannot be bound in Emacs Uwe Brauer
2015-09-14 15:35 ` Kaushal Modi
2015-09-14 16:48 ` Óscar Fuentes
2015-09-14 17:26 ` Uwe Brauer
[not found] ` <mailman.1119.1442251609.19560.help-gnu-emacs@gnu.org>
2015-09-14 18:55 ` Dan Espen
2015-09-14 19:47 ` B. T. Raven [this message]
2015-09-14 21:52 ` Javier
2015-09-15 23:40 ` Emanuel Berg
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mt788i01p2e@news4.newsguy.com \
--to=btraven@nihilo.net \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).