help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kill-region without modifying the kill ring


From: Jorge A. Alfaro-Murillo
Subject: Re: kill-region without modifying the kill ring
Date: Fri, 25 Sep 2015 09:51:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Jim Newton writes:
is there a way or an idiom for killing a region without changing the kill ring. I often want to cut several different regions by highlighting them, but then insert a particular thing with C-Y. If I use C-W to kill the region C-Y will yank back the string I just killed rather than the one I want. It would be nice to have a version of C-W which does not effect the kill-ring.

Doesn't selecting the text and using <backspace> do exactly that? By the way, as Tomás suggested, I think that you are better off always killing the region and then using M-y. You never know if you will actually change your mind and use the text you deleted. For an improved version of M-y, try:

https://github.com/browse-kill-ring/browse-kill-ring

Best,
--
Jorge.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]