[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29013: 25.3; [wishlist] do not yank whitespace
From: |
Lars Ingebrigtsen |
Subject: |
bug#29013: 25.3; [wishlist] do not yank whitespace |
Date: |
Wed, 30 Jun 2021 15:56:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Alex Branham <alex.branham@gmail.com> writes:
> It would be nice to have an option so that yank never returns pure
> whitespace.
I think that's a good idea -- or, to be more general, I think it would
be nice if there was a way to transform texts before they're put on the
kill ring, and possibly discard them.
So for this particular use case, the transformation function could
return nil to indicate that it shouldn't land in the kill ring.
So I've now added this to Emacs 28 under the name kill-transform-function.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#29013: 25.3; [wishlist] do not yank whitespace,
Lars Ingebrigtsen <=