[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kill-region without modifying the kill ring
From: |
tomas |
Subject: |
Re: kill-region without modifying the kill ring |
Date: |
Fri, 25 Sep 2015 14:15:23 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Sep 25, 2015 at 01:32:14AM -0700, Jim Newton wrote:
> 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.
delete-region is advertised to do that, but a quick test
in my case seems to do the same as kill. I haven't the time
now to debug that, might just be an idiosyncracy of my
less-than-organized .emacs
> It would be nice to have a version of C-W which does not effect the kill-ring.
Not an answer to your original request, but with M-y you can
replace the just-yanked text with previous kills, so perhaps
you might achieve the effect you're after by first yanking
with C-y, then with M-y (and with consecutive M-y you can
even "walk back" your kill history).
regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlYFOtsACgkQBcgs9XrR2kbonwCePdzK5Uc++roPrA9nhgS/k886
QXgAn3wywDXBD0rgcinn7S3VVGmzCU5Y
=Xqp9
-----END PGP SIGNATURE-----
Message not available
Re: kill-region without modifying the kill ring, Jorge A. Alfaro-Murillo, 2015/09/25
Message not available