From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#53452: 29.0.50;
 C-<arrow> selection broken by translate-upper-case-key-bindings
Date: Sat, 22 Jan 2022 21:18:11 +0200
Message-ID: <834k5vmvf0.fsf@gnu.org>
References: <20220122182635.hi7i2alow4ishyz5.ref@Ergus>
 <20220122182635.hi7i2alow4ishyz5@Ergus>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="13077"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 53452@debbugs.gnu.org
To: Ergus <spacibba@aol.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 22 20:19:35 2022
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1nBLvD-0003Ev-7P
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jan 2022 20:19:35 +0100
Original-Received: from localhost ([::1]:47882 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1nBLvC-0003Wb-1g
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jan 2022 14:19:34 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:43634)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1nBLug-0003Vh-Tg
 for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2022 14:19:03 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:45026)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1nBLug-0007xD-Fe
 for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2022 14:19:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nBLug-00040n-9o
 for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2022 14:19:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 22 Jan 2022 19:19:02 +0000
Resent-Message-ID: <handler.53452.B53452.164287911815386@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 53452
X-GNU-PR-Package: emacs
Original-Received: via spool by 53452-submit@debbugs.gnu.org id=B53452.164287911815386
 (code B ref 53452); Sat, 22 Jan 2022 19:19:02 +0000
Original-Received: (at 53452) by debbugs.gnu.org; 22 Jan 2022 19:18:38 +0000
Original-Received: from localhost ([127.0.0.1]:37929 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1nBLuI-000405-2M
 for submit@debbugs.gnu.org; Sat, 22 Jan 2022 14:18:38 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:42778)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1nBLuH-0003zr-8f
 for 53452@debbugs.gnu.org; Sat, 22 Jan 2022 14:18:37 -0500
Original-Received: from [2001:470:142:3::e] (port=56990 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1nBLuA-0007sh-NQ; Sat, 22 Jan 2022 14:18:31 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=qz2j/DvCqeA4HScOg5mDUDXT/ZQbmmn2bxC4qe4FWtE=; b=lscCwSKxINVL
 LkF87cfw1JEC16hEBeXywB6Tn2e4/sez0KDYlsfjvfxD2xMK50ihC1D3fFKdPM/3wn3H+Qu6+kkqG
 vZ+GqV9NemHoKovkXUv2eW2VQvzL2S0vrtdlxevfM2sNpsB2sP1MENO6wxoSSqHoYLNeA/icgW8QK
 o/kDUJf7WBJVA86W9rNDihBi8XOeL42hSjMIxQndGxe8lEh+eId+UXJjkGOo4pon6MNi7nC1rqTGy
 +C93SjqQPhuKqv8gDZGdh5EB69onTuu4/WNtr4C1WnUdyzbuG+qxVXwTMq14PwpJ2EeBW/4gT4Ao5
 MMMQN0t5Um+ejpgQTx5pAg==;
Original-Received: from [87.69.77.57] (port=4061 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1nBLuA-0003ss-67; Sat, 22 Jan 2022 14:18:30 -0500
In-Reply-To: <20220122182635.hi7i2alow4ishyz5@Ergus> (bug-gnu-emacs@gnu.org)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:224857
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/224857>

> Date: Sat, 22 Jan 2022 19:26:35 +0100
> From:  Ergus via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> When translate-upper-case-key-bindings is nil; the shift-arrow selection
> does not work
> 
> emacs -Q
> M-: (setq translate-upper-case-key-bindings nil)
> S-<right>  // says it is not bound... somehow expected.
> 
> M-: (keymap-global-set "S-<right>" #'right-char)
> S-<right>  // Now moves point but with no selection
> 
> I don't know where/how emacs recognizes the Shift in this case, but
> somehow it is not working

It sounds like it cannot work in that case, because shift-select
_requires_ that a key was shift-translated, and setting
translate-upper-case-key-bindings to nil disables that translation.