From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: Move yanked entry to front of kill ring instead of other way around Date: Wed, 05 Dec 2007 18:08:27 +0100 Message-ID: References: <3252530c-264f-4a07-b129-bc539ca6344a@i12g2000prf.googlegroups.com> <35e81a0c-c827-41b7-bbfe-7395ef5ec900@s36g2000prg.googlegroups.com> <5b0819e7-b752-4d93-ab4d-b7ccfddfaf3b@e6g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196876528 21346 80.91.229.12 (5 Dec 2007 17:42:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 17:42:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 05 18:42:18 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IzyGB-00005d-Ib for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Dec 2007 18:42:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzyFu-00072D-RU for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Dec 2007 12:41:54 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-X-Trace: individual.net GxZPyDPFBWGz2G50qxHp0gW0UNhQ6Budz0+uSWwIZn+G4iawZz Cancel-Lock: sha1:9LyFiW4b6/oQ2webtD50MJkr04A= sha1:K4fMlprK5rWLEz5ARJqDmAu0Mok= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (windows-nt) Original-Xref: shelby.stanford.edu gnu.emacs.help:154429 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49858 Archived-At: bramadams 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.