all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathias Dahl <brakjoller@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Move yanked entry to front of kill ring instead of other way around
Date: Wed, 05 Dec 2007 18:08:27 +0100	[thread overview]
Message-ID: <ueje1jchg.fsf@gmail.com> (raw)
In-Reply-To: 5b0819e7-b752-4d93-ab4d-b7ccfddfaf3b@e6g2000prf.googlegroups.com

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	other threads:[~2007-12-05 17:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-21 10:48 Move yanked entry to front of kill ring instead of other way around bramadams
2007-11-22  5:54 ` Kevin Rodgers
     [not found] ` <mailman.3931.1195711151.18990.help-gnu-emacs@gnu.org>
2007-11-22  8:45   ` bramadams
2007-11-22 16:07     ` Mathias Dahl
2007-11-22 16:34       ` bramadams
2007-11-26 16:17         ` bramadams
2007-12-05 17:08           ` Mathias Dahl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ueje1jchg.fsf@gmail.com \
    --to=brakjoller@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.