GNU bug report logs -
#39545
26.3; C-S-a gets translated to C-a in message-mode
Previous Next
Full log
Message #20 received at 39545 <at> debbugs.gnu.org (full text, mbox):
On 02/10/20 21:13 PM, Eli Zaretskii wrote:
>> From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
>> Date: Mon, 10 Feb 2020 10:36:02 -0800
>> Cc: kuba.orlik <at> sealcode.org
>>
>> > 1. M-x message-mode
>> > 2. Enter some text
>> > 3. Press C-S-a
>> >
>> > The point moves to the beggining of the line, but doesn't select the
>> > text along the way, as C-S-a usually does
>>
>> C-S-a doesn't "usually" do that -- maybe it's a part of `cua-mode'
>
> No, it's a normal Emacs "shift-selection" feature: any cursor motion
> command (C-a in this case) typed with the Shift key held will select
> the text it moves across. You can see it in *scratch* in "emacs -Q",
> even.
>
>> and that's not getting enabled in `message-mode'?
>
> No, I think it's because in message-mode C-a is bound to
> message-beginning-of-line, and that doesn't have "^" in its
> interactive spec, like beginning-of-line does.
Oops, thanks to both of you for the correction! I tested in *scratch*
and saw "C-e (translated from C-S-e) runs the command move-end-of-line"
and checked no further.
Maybe we can see what Lars thinks about changing the interactive spec
for the message function.
This bug report was last modified 4 years and 360 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.