all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bramadams <adams.bram@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Move yanked entry to front of kill ring instead of other way around
Date: Wed, 21 Nov 2007 02:48:16 -0800 (PST)	[thread overview]
Message-ID: <f42c6c70-aa7b-4aa0-8ed5-741325dff4d7@l22g2000hsc.googlegroups.com> (raw)

Hi,

I'm using OSX Aquamacs 1.2a (based on emacs 22), but the following
issue also occurs on e.g. Slackware 10.2's emacs (21.4.2).

If one kills a number of things in a row, e.g. "haha", "hoho" and
"hihi", and then yanks the second-to-last ("hoho"), the front of the
kill ring has moved to "hoho". If one then wants to yank "hihi", one
needs to cycle back through the whole kill ring until it overflows
again and the last killed entries are reached again. This can be
tedious after editing for a while.

Is there some command which allows to either cycle backwards in the
kill ring (from the front to the newer entries; "undo" does not work
for this), or (better yet) to physically move a yanked entry to the
front of the ring? In that case, in my example "hoho" and "hihi" would
just swap places.

Kind regards,

Bram Adams

             reply	other threads:[~2007-11-21 10:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-21 10:48 bramadams [this message]
2007-11-22  5:54 ` Move yanked entry to front of kill ring instead of other way around 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

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=f42c6c70-aa7b-4aa0-8ed5-741325dff4d7@l22g2000hsc.googlegroups.com \
    --to=adams.bram@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.