unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 39545@debbugs.gnu.org, kuba.orlik@sealcode.org
Subject: bug#39545: 26.3; C-S-a gets translated to C-a in message-mode
Date: Mon, 10 Feb 2020 11:38:33 -0800	[thread overview]
Message-ID: <87imkekzba.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <83o8u6b6hp.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 10 Feb 2020 21:13:38 +0200")


On 02/10/20 21:13 PM, Eli Zaretskii wrote:
>> From: Eric Abrahamsen <eric@ericabrahamsen.net>
>> Date: Mon, 10 Feb 2020 10:36:02 -0800
>> Cc: kuba.orlik@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.





  reply	other threads:[~2020-02-10 19:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-10 11:39 bug#39545: 26.3; C-S-a gets translated to C-a in message-mode kuba.orlik--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-02-10 18:36 ` Eric Abrahamsen
2020-02-10 19:07   ` Noam Postavsky
2020-02-10 19:13   ` Eli Zaretskii
2020-02-10 19:38     ` Eric Abrahamsen [this message]
2020-08-20 14:12     ` Lars Ingebrigtsen

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=87imkekzba.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=39545@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=kuba.orlik@sealcode.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).