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

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

bug#23247: 25.0.92: Documentation bug about Control modified key binding


From: Lars Ingebrigtsen
Subject: bug#23247: 25.0.92: Documentation bug about Control modified key bindings
Date: Sat, 12 Oct 2019 21:41:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <eliz@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





reply via email to

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