unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 37769-done@debbugs.gnu.org
Subject: bug#37769: global-set-key wrongly downcases the typed key (e.g. S-tab).
Date: Sat, 19 Oct 2019 18:26:41 +0000	[thread overview]
Message-ID: <20191019182641.GC7911@ACM> (raw)
In-Reply-To: <83o8yd6prs.fsf@gnu.org>

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	other threads:[~2019-10-19 18:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 19:07 bug#37769: global-set-key wrongly downcases the typed key (e.g. S-tab) Alan Mackenzie
2019-10-17  3:00 ` Lars Ingebrigtsen
2019-10-17  8:16   ` Eli Zaretskii
2019-10-17 15:58   ` Alan Mackenzie
2019-10-18  3:09     ` Lars Ingebrigtsen
2019-10-18  7:11       ` Eli Zaretskii
2019-10-19  8:02         ` Lars Ingebrigtsen
2019-10-19  8:53           ` Andreas Schwab
2019-10-19  9:03             ` Lars Ingebrigtsen
2019-10-19  9:36           ` Eli Zaretskii
2019-10-19 18:26             ` Alan Mackenzie [this message]
2019-10-17  9:17 ` Andreas Schwab
2019-10-17 16:00   ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191019182641.GC7911@ACM \
    --to=acm@muc.de \
    --cc=37769-done@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).