From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: ndame Newsgroups: gmane.emacs.help Subject: Did you already study the handle-shift-selection function? Date: Sun, 4 Aug 2019 21:53:08 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="148832"; mail-complaints-to="usenet@blaine.gmane.org" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 04 21:53:20 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1huMZD-000caC-EA for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Aug 2019 21:53:19 +0200 Original-Received: from localhost ([::1]:49390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huMZC-00062D-G7 for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Aug 2019 15:53:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58843) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huMZ6-00061q-9z for help-gnu-emacs@gnu.org; Sun, 04 Aug 2019 15:53:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huMZ5-00080t-Bx for help-gnu-emacs@gnu.org; Sun, 04 Aug 2019 15:53:12 -0400 Original-Received: from fmfe09.onbox.hu ([46.107.16.202]:59760 helo=web-out.onbox.hu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huMZ4-0007z5-MU for help-gnu-emacs@gnu.org; Sun, 04 Aug 2019 15:53:11 -0400 X-fm-smtp-source: yes Original-Received: from localhost (localhost [188.143.64.183]) by web-out.onbox.hu (Postfix) with SMTP id 461s5J0DTPzxW9 for ; Sun, 4 Aug 2019 21:53:08 +0200 (CEST) X-AccountId: 57978162 X-Originating-Ip: 188.143.64.183 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddruddthedgudeggecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdcuhfftgffgofetkffnnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffkufggtgfvihffsegrtdersgdttdejnecuhfhrohhmpehnuggrmhgvuceovghmrggtshhushgvrhesfhhrvggvmhgrihhlrdhhuheqnecukfhppedukeekrddugeefrdeigedrudekfeenucfrrghrrghmpehhvghloheppdhinhgvthepudekkedrudegfedrieegrddukeefpdhmrghilhhfrhhomhepvghmrggtshhushgvrhesfhhrvggvmhgrihhlrdhhuhdprhgtphhtthhopehhvghlphdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/relaxed; t=1564948388; s=20181004; d=freemail.hu; h=From:Message-ID:Subject:MIME-Version:Content-Type:To:Date; l=3171; bh=UQTCjkb97WNYQLg648axwVZ+lSLZSjwJTx8TVrj4uUE=; b=KVFk7wS7cJAQh6Do1f1TqTycgWxMiY02To9/+AKxqF5fq/fXwpyar0z+10xQbuHr 7sGTGLj7KpvLCEDwoVuBLjnTW+lx1ChzY/q/BsZiRs26t2Y/cG+GJxjhtGD56oCsvV7 9SUquAP2JuN11qqEtANZtfl4gn2yApkU8Y2kX56C5MFAIA3ixWGyZzM7CEc4//qF14N UPYOWKlRpsso9TvHux9gSg1jlzu33/x1t8NCnkgzrDkIRd9nP4O7S2gS064a0efRG7D 32NP1W9pRPygZ/iNFpsQE2RG8OutxtHUL9Td2IBdsOl2WeKJOWp50KAclap9awI0iD7 WTkpg89P0A== X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 46.107.16.202 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.help:121310 Archived-At: >=C2=A0Did you already study the handle-shift-selection function? Thanks, I've taken a look and this seems to solve the issue: =C2=A0 =C2=A0(let ((this-command-keys-shift-translated t)) =C2=A0 =C2=A0 =C2=A0(call-interactively 'next-line))))) though I'm wondering why simply adding the caret to the interactive spec doesn't fix the=C2=A0 issue: =C2=A0 (local-set-key (kbd "S-") (lambda () =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (interactive "^") =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (if (my-context) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (do 'som= ething 'else) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; call S-down = as usual =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (call-interacti= vely 'next-line)))) =C2=A0