[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29013: 25.3; [wishlist] do not yank whitespace
From: |
Andreas Schwab |
Subject: |
bug#29013: 25.3; [wishlist] do not yank whitespace |
Date: |
Thu, 26 Oct 2017 17:52:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
On Okt 26 2017, Alex Branham <alex.branham@gmail.com> wrote:
> It would be nice to have an option so that yank never returns pure
> whitespace. The current behavior is such that if we have:
>
> #+BEGIN_EXAMPLE
> some text here
>
> some text there|
> #+END_EXAMPLE
>
>
> with | representing where point is, if you execute C-SPC C-a M-w C-p C-k C-p
> C-y then you end up with:
>
> #+BEGIN_EXAMPLE
>
> some text here
> some text there
> #+END_EXAMPLE
>
>
> but I would like to end up with:
>
> #+BEGIN_EXAMPLE
> some text there
> some text here
> some text there
> #+END_EXAMPLE
Just type M-y (yank-pop) to get the next element from the kill ring.
You can also use DEL to delete the empty line without polluting the kill
ring.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."