From: Eli Zaretskii <eliz@gnu.org>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: Why does C-M-o `split-line' leave trailing space on the old line?
Date: Fri, 17 Nov 2023 20:38:02 +0200 [thread overview]
Message-ID: <83leawns39.fsf@gnu.org> (raw)
In-Reply-To: <ZVeli1dypBZnpRLI@ACM> (message from Alan Mackenzie on Fri, 17 Nov 2023 17:40:27 +0000)
> Date: Fri, 17 Nov 2023 17:40:27 +0000
> From: Alan Mackenzie <acm@muc.de>
>
> Hello, Emacs.
>
> C-M-o, on something like:
>
> foo bar baz
> ^
> point
>
> will split the line into
>
> foo bar
> baz
>
> , but will leave a trailing space on the first line. This is in
> accordance with its documentation in emacs.info, but this peculiarity
> isn't mentioned in the doc string.
>
> I find this trailing space irritating, as I frequently have to remove it
> by hand. What is the motivation for this trailing space
It lets you keep typing right after that.
next prev parent reply other threads:[~2023-11-17 18:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-17 17:40 Why does C-M-o `split-line' leave trailing space on the old line? Alan Mackenzie
2023-11-17 18:38 ` Eli Zaretskii [this message]
2023-11-17 18:59 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83leawns39.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=acm@muc.de \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.