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

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

Re: Move yanked entry to front of kill ring instead of other way around


From: Mathias Dahl
Subject: Re: Move yanked entry to front of kill ring instead of other way around
Date: Wed, 05 Dec 2007 18:08:27 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (windows-nt)

bramadams <adams.bram@gmail.com> writes:

> Suppose the ring contains ("a" "b" "c") with "a" as the oldest entry.
> If one presses C-y followed by M-y, one should not immediately move
> the resulting "b" to the front of the kill ring, as there could be
> other M-y or C-_ invocations before the current yank process ends,
> i.e. the actual desired data is found. Then, the ring's front should
> move back to its original position, with the yanked data moved to the
> front (if needed).

IIRC what really happens is that you just move a "pointer" each time
you do M-y, the content itself never moves. When this pointer reach
the end of the ring, it wraps around to the beginning.


reply via email to

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