GNU bug report logs - #23247
25.0.92: Documentation bug about Control modified key bindings

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Fri, 8 Apr 2016 21:56:02 UTC

Severity: minor

Tags: fixed

Found in version 25.0.92

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23247 in the body.
You can then email your comments to 23247 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23247; Package emacs. (Fri, 08 Apr 2016 21:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kaushal Modi <kaushal.modi <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 08 Apr 2016 21:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kaushal Modi <kaushal.modi <at> gmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 25.0.92: Documentation bug about Control modified key bindings
Date: Fri, 08 Apr 2016 21:54:56 +0000
[Message part 1 (text/plain, inline)]
This discussion recently came up on emacs.stackexchange..
http://emacs.stackexchange.com/a/21524/115

The emacs manual (C-h i g (emacs) Modifier Keys) says the below:

"A <Control>-modified alphabetical character is always considered
case-insensitive: Emacs always treats ‘C-A’ as ‘C-a’, ‘C-B’ as ‘C-b’,
and so forth. The reason for this is historical."

But I am able to bind something like

(global-set-key (kbd "C-S-n") #'previous-line)

and have C-n and "C-N" call different commands.

Does that piece of information about Control-modified alphabetical
characters need correction or clarification?

Thanks.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23247; Package emacs. (Sat, 09 Apr 2016 06:52:02 GMT) Full text and rfc822 format available.

Message #8 received at 23247 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kaushal Modi <kaushal.modi <at> gmail.com>
Cc: 23247 <at> debbugs.gnu.org
Subject: Re: bug#23247: 25.0.92: Documentation bug about Control modified key
 bindings
Date: Sat, 09 Apr 2016 09:50:47 +0300
> From: Kaushal Modi <kaushal.modi <at> gmail.com>
> Date: Fri, 08 Apr 2016 21:54:56 +0000
> 
> This discussion recently came up on emacs.stackexchange.. http://emacs.stackexchange.com/a/21524/115
> 
> The emacs manual (C-h i g (emacs) Modifier Keys) says the below: 
> 
> "A <Control>-modified alphabetical character is always considered
> case-insensitive: Emacs always treats ‘C-A’ as ‘C-a’, ‘C-B’ as ‘C-b’,
> and so forth. The reason for this is historical."
> 
> But I am able to bind something like
> 
> (global-set-key (kbd "C-S-n") #'previous-line)
> 
> and have C-n and "C-N" call different commands.

Did you try that on a text terminal as well?

> Does that piece of information about Control-modified alphabetical characters need correction or clarification?

Not sure we want to enter these details in a user manual.  Also, "C-N"
and "C-S-n" are not the same thing in this context.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23247; Package emacs. (Sat, 12 Oct 2019 19:42:01 GMT) Full text and rfc822 format available.

Message #11 received at 23247 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23247 <at> debbugs.gnu.org, Kaushal Modi <kaushal.modi <at> gmail.com>
Subject: Re: bug#23247: 25.0.92: Documentation bug about Control modified
 key bindings
Date: Sat, 12 Oct 2019 21:41:40 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> The emacs manual (C-h i g (emacs) Modifier Keys) says the below: 
>> 
>> "A <Control>-modified alphabetical character is always considered
>> case-insensitive: Emacs always treats ‘C-A’ as ‘C-a’, ‘C-B’ as ‘C-b’,
>> and so forth. The reason for this is historical."
>> 
>> But I am able to bind something like
>> 
>> (global-set-key (kbd "C-S-n") #'previous-line)
>> 
>> and have C-n and "C-N" call different commands.
>
> Did you try that on a text terminal as well?
>
>> Does that piece of information about Control-modified alphabetical
>> characters need correction or clarification?
>
> Not sure we want to enter these details in a user manual.  Also, "C-N"
> and "C-S-n" are not the same thing in this context.

I think it would make sense to at least mention these wrinkles in the
user manual -- many people don't care about running Emacs in a terminal,
and being able to bind shifted alphabetical characters opens up a whole
new range of user-definable keystrokes.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23247; Package emacs. (Sun, 13 Oct 2019 06:14:01 GMT) Full text and rfc822 format available.

Message #14 received at 23247 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 23247 <at> debbugs.gnu.org, kaushal.modi <at> gmail.com
Subject: Re: bug#23247: 25.0.92: Documentation bug about Control modified
 key bindings
Date: Sun, 13 Oct 2019 09:12:48 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: Kaushal Modi <kaushal.modi <at> gmail.com>,  23247 <at> debbugs.gnu.org
> Date: Sat, 12 Oct 2019 21:41:40 +0200
> 
> >> But I am able to bind something like
> >> 
> >> (global-set-key (kbd "C-S-n") #'previous-line)
> >> 
> >> and have C-n and "C-N" call different commands.
> >
> > Did you try that on a text terminal as well?
> >
> >> Does that piece of information about Control-modified alphabetical
> >> characters need correction or clarification?
> >
> > Not sure we want to enter these details in a user manual.  Also, "C-N"
> > and "C-S-n" are not the same thing in this context.
> 
> I think it would make sense to at least mention these wrinkles in the
> user manual -- many people don't care about running Emacs in a terminal,
> and being able to bind shifted alphabetical characters opens up a whole
> new range of user-definable keystrokes.

It's OK to mention that, but please also add a note that this only
works on GUI frames.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23247; Package emacs. (Sun, 13 Oct 2019 18:07:01 GMT) Full text and rfc822 format available.

Message #17 received at 23247 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23247 <at> debbugs.gnu.org, kaushal.modi <at> gmail.com
Subject: Re: bug#23247: 25.0.92: Documentation bug about Control modified
 key bindings
Date: Sun, 13 Oct 2019 20:06:37 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> It's OK to mention that, but please also add a note that this only
> works on GUI frames.

OK; done.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 13 Oct 2019 18:07:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 23247 <at> debbugs.gnu.org and Kaushal Modi <kaushal.modi <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 13 Oct 2019 18:07:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Nov 2019 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.