From: "Drew Adams" <drew.adams@oracle.com>
To: "Karl Fogel" <kfogel@red-bean.com>,
"Mathias Dahl" <mathias.dahl@gmail.com>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: RE: yank-match.el -- yank matches for a regexp from kill-ring
Date: Tue, 17 Jul 2007 12:29:07 -0700 [thread overview]
Message-ID: <BNELLINCGFJLDJIKDGACCEKLCAAA.drew.adams@oracle.com> (raw)
In-Reply-To: <873azmdg0y.fsf@red-bean.com>
> > 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.
next prev parent reply other threads:[~2007-07-17 19:29 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-15 23:38 yank-match.el -- yank matches for a regexp from kill-ring Karl Fogel
2007-07-17 18:44 ` Mathias Dahl
2007-07-17 18:46 ` Karl Fogel
2007-07-17 19:29 ` Drew Adams [this message]
2007-07-17 20:40 ` Mathias Dahl
2007-07-28 20:32 ` T. V. Raman
2008-03-02 16:17 ` Karl Fogel
2008-03-02 17:59 ` Juri Linkov
2008-03-02 19:25 ` Stefan Monnier
2008-03-02 20:07 ` Juri Linkov
2008-03-02 23:50 ` Karl Fogel
2008-03-04 0:35 ` Juri Linkov
2008-03-04 1:16 ` Karl Fogel
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=BNELLINCGFJLDJIKDGACCEKLCAAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=kfogel@red-bean.com \
--cc=mathias.dahl@gmail.com \
/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.