emacs-devel
[Top][All Lists]
Advanced

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

RE: yank-match.el -- yank matches for a regexp from kill-ring


From: Drew Adams
Subject: RE: yank-match.el -- yank matches for a regexp from kill-ring
Date: Tue, 17 Jul 2007 12:29:07 -0700

> > This sounds very handy. I cannot say I have been longing for such a
> > command, but now that I know it exist I will probably find uses for
> > it. Taking advantage of what is in the kill ring is something I have
> > mostly underestimated.
> >
> > There isn't any other way to do this in standard Emacs, is it?
>
> I don't know of any existing feature that does this.  Part of my
> purpose in posting here was to find out.
>
> If there is no such feature, I would like to install this code.  But
> I'll wait a bit longer for comments.

Sounds good to me.

This falls into the category of things that complement the cycling of `M-y',
which is mainly useful for only the first several items of the kill-ring.

Here are two other approaches in the same category.

* browse-kill-ring.el - see
http://www.emacswiki.org/cgi-bin/wiki/BrowseKillRing

* In Icicles, `C-y' with a negative prefix arg uses completion to let you
yank a kill-ring entry (actually, any number of such entries, any number of
times). The completion can be regexp/substring-based.

yank-match.el uses an approach analogous to that of `M-r' for matching a
regexp against the minibuffer history. It can require some cycling to get
the right match. The Icicles approach uses completion instead, so you can
pick a matching candidate directly without cycling.





reply via email to

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