GNU bug report logs - #29013
25.3; [wishlist] do not yank whitespace

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Thu, 26 Oct 2017 15:41:02 UTC

Severity: wishlist

Found in version 25.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 29013 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 29013 <at> debbugs.gnu.org
Subject: Re: bug#29013: 25.3; [wishlist] do not yank whitespace
Date: Wed, 30 Jun 2021 15:56:12 +0200
Alex Branham <alex.branham <at> 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




This bug report was last modified 4 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.