From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: shift+left/right arrow cannot be bound in Emacs Date: Mon, 14 Sep 2015 14:47:32 -0500 Organization: NewsGuy - Unlimited Usenet $23.95 Message-ID: References: <87fv2huii8.fsf@mat.ucm.es> <87egi1dk0g.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1442260219 22329 80.91.229.3 (14 Sep 2015 19:50:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2015 19:50:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 14 21:50:19 2015 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 1ZbZlb-000791-CX for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Sep 2015 21:50:19 +0200 Original-Received: from localhost ([::1]:43219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbZla-0002yz-Ei for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Sep 2015 15:50:18 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news4 Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: p088d3ffc966730009685e5de9d2dcb30aa58fbe1e6abf969.newsdawg.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: X-Received-Bytes: 1808 X-Received-Body-CRC: 2791992076 Original-Xref: usenet.stanford.edu gnu.emacs.help:214920 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:107204 Archived-At: On 9/14/2015 12:26 PM, Uwe Brauer wrote: > >> Uwe Brauer 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 > >> (translated from ) 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