From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 49194@debbugs.gnu.org, jidanni@jidanni.org
Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality
Date: Thu, 24 Jun 2021 20:46:37 +0200 [thread overview]
Message-ID: <87im23f6cy.fsf@gnus.org> (raw)
In-Reply-To: <83v963rtn3.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 Jun 2021 21:42:56 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> AFAIU, what the OP wants already happens: the newline is saved in
> kill-ring together with the line, and is yanked back with C-y. So I
> don't think I understand the request.
He wants to kill the final line in a buffer (that might not have a
newline character at the end), but end up with a string in the kill ring
that does have a newline at the end.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-06-24 18:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-23 15:34 bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality 積丹尼 Dan Jacobson
2021-06-24 16:11 ` Lars Ingebrigtsen
2021-06-24 17:59 ` 積丹尼 Dan Jacobson
2021-06-24 18:26 ` Lars Ingebrigtsen
2021-06-24 18:42 ` 積丹尼 Dan Jacobson
2021-06-24 18:42 ` Eli Zaretskii
2021-06-24 18:46 ` Lars Ingebrigtsen [this message]
2021-06-24 18:51 ` Eli Zaretskii
2021-06-24 20:20 ` 積丹尼 Dan Jacobson
2021-06-25 6:01 ` Eli Zaretskii
2021-06-25 14:02 ` Lars Ingebrigtsen
2021-06-25 14:03 ` Eli Zaretskii
2021-06-26 17:12 ` 積丹尼 Dan Jacobson
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=87im23f6cy.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=49194@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=jidanni@jidanni.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).