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: Tue, 25 Jan 2022 11:19:33 +0100
Message-ID: <87czkgi0cq.fsf@gmail.com>
References: <20220122182635.hi7i2alow4ishyz5.ref@Ergus>
 <20220122182635.hi7i2alow4ishyz5@Ergus> <834k5vmvf0.fsf@gnu.org>
 <87czkhjtes.fsf@gmail.com> <83wnipjohu.fsf@gnu.org>
 <87pmohi818.fsf@gmail.com> <83r18xjlrj.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="32381"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 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 Tue Jan 25 11:27:16 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 1nCJ2i-0008I2-E1
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 11:27:16 +0100
Original-Received: from localhost ([::1]:51542 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 1nCJ2h-0006SC-6A
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 05:27:15 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:41974)
 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 1nCIvi-0003r3-RH
 for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 05:20:02 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:54041)
 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 1nCIvi-0003tv-Fr
 for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 05:20: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 1nCIvi-0003GX-7S
 for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 05:20: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: Tue, 25 Jan 2022 10:20:02 +0000
Resent-Message-ID: <handler.53452.B53452.164310598512526@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.164310598512526
 (code B ref 53452); Tue, 25 Jan 2022 10:20:02 +0000
Original-Received: (at 53452) by debbugs.gnu.org; 25 Jan 2022 10:19:45 +0000
Original-Received: from localhost ([127.0.0.1]:46944 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1nCIvR-0003Fy-Gz
 for submit@debbugs.gnu.org; Tue, 25 Jan 2022 05:19:45 -0500
Original-Received: from mail-wr1-f46.google.com ([209.85.221.46]:43971)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@gmail.com>) id 1nCIvN-0003Fi-2H
 for 53452@debbugs.gnu.org; Tue, 25 Jan 2022 05:19:43 -0500
Original-Received: by mail-wr1-f46.google.com with SMTP id v13so18868449wrv.10
 for <53452@debbugs.gnu.org>; Tue, 25 Jan 2022 02:19:41 -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=9XXbwO2OjsdCWnNBK9CDnC5NwoPPJsmBIi5LsEa5pKg=;
 b=fn3cF2KKKl54v5vzzF0GsYgsrRYmIpxZjaLbn87c3LMcYILWdA/jOEMr3Rpi4C4E33
 ZstY86slwLG5ddshGyW36RAt6Bxb372l7J3IaDFw4L9oHR4j+ELKa0cbldd//wR2Vz9g
 moK5nv8XczvFYKreYZvcbeXPGvGITr3YJmrFbphKP2HuOwW3Vg2mfIf/zELI7/pNhvwm
 LVdHqlxuQ89mNLFilAt+6u68tIc1O4IKvdEQh4L+WVtge1OAA6ODNYENd4PcTixkSFK0
 324/VMI5qk2r9T5HkEm1nKuDSbJDF9I613dHDKS8hGESbZRPvFjtyxnybsvtf8ybfxgj
 OOsQ==
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=9XXbwO2OjsdCWnNBK9CDnC5NwoPPJsmBIi5LsEa5pKg=;
 b=UUH2c2skRU+6fVWUOGqA7WF28pQccxEKE79fnJ/HlS2XkokZ2UDP3VJYtqo7FN2uMS
 oT64A+e650Fjt9MwhshUsiDmLN3fAU6T5ENK4t5r+rSoUoMnO0rSRatuLOtbC7XxW0ra
 cBCGhWJIiqzFSB7N2EspKmPT3jZFaPmHjfi07VKbYOwAECDhCRyocbUpaMgl05jCRVBt
 Uyd/hyImUfH0WxhBOx11VNg2+aCmWm6RgApZJBmUTzeFS05OQZ50ItdPFPSpZJzDIOTm
 Zc93haWkWSS9PtvCbvVy0i3TeCPyIuSlYooGx5AWQ9GO7q4LHPJkrIoG3FXPXSI3uiV+
 EIlg==
X-Gm-Message-State: AOAM5300CU/5dLFCviJwWbm0mTZVvrCr5wQ8veMgYFObl0eJ2lQmHuH6
 ghGwE6/qyj2r+101m+ZAvL1o9BhzRU4=
X-Google-Smtp-Source: ABdhPJwcByVsGhDlV7lIwPUk770Bwc+bz2ECdpCO0mKF6OyM1GvsI7eMnXUEChcZqhIUbaIinC8dYg==
X-Received: by 2002:a05:6000:1ac8:: with SMTP id
 i8mr3144925wry.34.1643105974708; 
 Tue, 25 Jan 2022 02:19:34 -0800 (PST)
Original-Received: from rltb ([2a01:e0a:3f3:fb50:33bb:d674:b1c5:bf7c])
 by smtp.gmail.com with ESMTPSA id r16sm155595wmq.3.2022.01.25.02.19.34
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 25 Jan 2022 02:19:34 -0800 (PST)
In-Reply-To: <83r18xjlrj.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 24 Jan
 2022 15:39:28 +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:225153
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/225153>

>>>>> On Mon, 24 Jan 2022 15:39:28 +0200, Eli Zaretskii <eliz@gnu.org> said:
    >> Why not?

    Eli> Because people will probably  want it applied to any key.  There's
    Eli> nothing special about letters, except that "upper-case" implicitly
    Eli> refers to letters.

Let's start again:

Currently, S-<right> produces S-<right>, but is translated to <right>,
and C-S-a is translated to C-a

If you set translate-upper-case-key-bindings to nil, then S-<right>
produces S-<right>, and C-S-a produces C-S-a

So the effect is as if the option were called
'translate-shift-bindings', but that effect is not called out
anywhere.

So either we fix the behaviour, or the documentation. Would it be that
hard to restrict this to something like [a-z] or !function key? Or we
could always add yet-another-user-option.

Robert
--