From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Robert Pluim <rpluim@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#53452: 29.0.50;
 C-<arrow> selection broken by translate-upper-case-key-bindings
Date: Mon, 24 Jan 2022 11:54:19 +0100
Message-ID: <87czkhjtes.fsf@gmail.com>
References: <20220122182635.hi7i2alow4ishyz5.ref@Ergus>
 <20220122182635.hi7i2alow4ishyz5@Ergus> <834k5vmvf0.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="21303"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Ergus <spacibba@aol.com>, 53452@debbugs.gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 24 11:55:18 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 1nBx0H-0005PG-SD
	for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Jan 2022 11:55:17 +0100
Original-Received: from localhost ([::1]:50402 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 1nBx0G-0004sz-SX
	for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Jan 2022 05:55:16 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:52004)
 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 1nBx03-0004sU-Jb
 for bug-gnu-emacs@gnu.org; Mon, 24 Jan 2022 05:55:03 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:49425)
 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 1nBx02-0004BM-Pa
 for bug-gnu-emacs@gnu.org; Mon, 24 Jan 2022 05:55: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 1nBx02-0005PJ-Jh
 for bug-gnu-emacs@gnu.org; Mon, 24 Jan 2022 05:55:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Robert Pluim <rpluim@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 24 Jan 2022 10:55:02 +0000
Resent-Message-ID: <handler.53452.B53452.164302167020737@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.164302167020737
 (code B ref 53452); Mon, 24 Jan 2022 10:55:02 +0000
Original-Received: (at 53452) by debbugs.gnu.org; 24 Jan 2022 10:54:30 +0000
Original-Received: from localhost ([127.0.0.1]:42328 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1nBwzW-0005OO-4E
 for submit@debbugs.gnu.org; Mon, 24 Jan 2022 05:54:30 -0500
Original-Received: from mail-wr1-f47.google.com ([209.85.221.47]:37782)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@gmail.com>) id 1nBwzT-0005O9-IP
 for 53452@debbugs.gnu.org; Mon, 24 Jan 2022 05:54:29 -0500
Original-Received: by mail-wr1-f47.google.com with SMTP id w11so606331wra.4
 for <53452@debbugs.gnu.org>; Mon, 24 Jan 2022 02:54:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version; bh=qAwx5KcKXxn1XB00DfzOpkwpGMP7IN4NWeiHu0N1XnI=;
 b=eNQjLZrvpeUGBLTWt2YTDlAFP+zEuf+BDgSS8Mxl8d3kSbP48JMbgpQozFQ4LZGpZI
 ssJ7QubQwb9Y+zNsvQijxELgdhH2mDJeQLmiQxm0acAmerqO3k2bTTQuuuBCeTxwBWqb
 xD0BYX7LufH375Ws0AcSO6uPWugK1BaL8uzNcgiF4f5ODz4ap14ebvU9c6386uCPnrn6
 Qu5rFnhcj4pg/cro1BSP2HIbOC5VeKiHOUoxp584o7Ll3MtB2+UqYvNfq5fh6U1i29W0
 SC7/IgMYeldBNMDUi9NsYP+e86w9M5Qs3oGCryhIy7bXt5JfGzqSH3FdLrmgWC2XAFN9
 qSlQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version;
 bh=qAwx5KcKXxn1XB00DfzOpkwpGMP7IN4NWeiHu0N1XnI=;
 b=Wq+ej5W5Qf5/YhGAeudc4nNopG2B4X/+ENXSaFty+5kjW1Saco6sU3hLgGe423Ld7k
 HoAEamFNFTZ7vEIF2JtD4PVI18WkkSenEbi5O6k9PWqUm2/8GkuY9yaQV3RGrhfCiXiV
 0fyJ0QVTvKo5cQm2vRJW8ULwWYmhsgYCRWuDd2e3CZuKUK3+e1gg5mfoL6d/m9QzdnmH
 CCsDQX6ilECqEdj3NqucB0jx/0vE8/Vord2Y31wag72ocpcCyOzkEpq/eVAEos/btnPP
 0o6CZeU38YRUXOZrlJ9wxSdXcKenIcHu2DNp7AHNXflgY9+2UXaNVCQ9xxQJVCq4W7gD
 aMJQ==
X-Gm-Message-State: AOAM531CqeKuMHWi6n1qYDbAFQU1rGHzf5ioZ4FS8V/9jgxJzMT9ZvdE
 qYQ3SrEDpH4HpbAVSQEO4EiAYQyAfsg=
X-Google-Smtp-Source: ABdhPJxnUPIygUToCFSpti1yqhY1gp6D+cY36jYcWV3kSx2N75b4CPHYWDl+5GDaxEqHO1YZqeRwiA==
X-Received: by 2002:a05:6000:1acb:: with SMTP id
 i11mr3036047wry.182.1643021661163; 
 Mon, 24 Jan 2022 02:54:21 -0800 (PST)
Original-Received: from rltb ([2a01:e0a:3f3:fb50:a941:80ce:6692:e00b])
 by smtp.gmail.com with ESMTPSA id x13sm13750881wru.28.2022.01.24.02.54.20
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 24 Jan 2022 02:54:20 -0800 (PST)
In-Reply-To: <834k5vmvf0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 22 Jan
 2022 21:18:11 +0200")
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:225022
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/225022>

>>>>> On Sat, 22 Jan 2022 21:18:11 +0200, Eli Zaretskii <eliz@gnu.org> said:

    >> 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

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

The docstring says:
"If non-nil, interpret upper case keys as lower case (when applicable)."

which strongly implies that this only applies to letters, not keys
like <right>

Robert
--