From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: acm@muc.de, 37769@debbugs.gnu.org
Subject: bug#37769: global-set-key wrongly downcases the typed key (e.g. S-tab).
Date: Sat, 19 Oct 2019 10:02:15 +0200 [thread overview]
Message-ID: <87v9sli2ns.fsf@gnus.org> (raw)
In-Reply-To: <83tv868r47.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Oct 2019 10:11:52 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> I admit I don't understand what both of you think is not good or make
> no sense. Emacs has been downcasing keys since day one, if the upper
> case has no binding. The reason is to allow the user not to have to
> release the Shift key too fast when typing fast.
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.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-10-19 8:02 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 [this message]
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
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=87v9sli2ns.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=37769@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=eliz@gnu.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).