bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37769: global-set-key wrongly downcases the typed key (e.g. S-tab).


From: Alan Mackenzie
Subject: bug#37769: global-set-key wrongly downcases the typed key (e.g. S-tab).
Date: Sat, 19 Oct 2019 18:26:41 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

Hello, Eli.

On Sat, Oct 19, 2019 at 12:36:07 +0300, Eli Zaretskii wrote:
> > From: Lars Ingebrigtsen <larsi@gnus.org>
> > Cc: acm@muc.de,  37769@debbugs.gnu.org
> > Date: Sat, 19 Oct 2019 10:02:15 +0200

> > The complaint is that the interactive spec of global-set-key downcases
> > whatever the user enters.

> > M-x global-set-key RET C-S-o

> > will bind C-o, not C-S-o.  (Well, the case in question was about TAB,
> > aka C-i, but...)  This is surprising, and should be fixed, I think (and
> > the patch suggested fixes this).

> > I entered the discussion because I thought that this would be a bad
> > change on ttys, because Emacs would then go ahead and bind the `C-S-o'
> > key -- which then couldn't be used by the user, because there's no way
> > to use shifted control keys under a tty.  At least I don't think so?

> > If this is the case, I think the original patch should be applied, but
> > if we're running in an environment where `C-S-o' can't be entered (i.e.,
> > not on a gui), then the command should error out or give a warning, at
> > least.

> Ah, okay.  Yes, I think Alan's change should be installed, but FWIW I
> don't see a need for any warning (and we will have hard time knowing
> when to show it, given the different capabilities of different
> terminal emulators).

Thanks, I've installed it, together with an entry in NEWS.

With this, I'm closing the bug.

> Thanks.

-- 
Alan Mackenzie (Nuremberg, Germany).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]