From: glen.d.scott@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Yanking regular expression to regular expression search minibuffer or to regular expression search / replace minibuffer
Date: Fri, 22 May 2009 13:24:37 -0700 (PDT) [thread overview]
Message-ID: <8bd0b7a4-f1dd-457b-81ee-2484cd71bf69@y6g2000prf.googlegroups.com> (raw)
In-Reply-To: vs7vdnt5mei.fsf@pax07e3.mipool.uni-jena.de
> glen.d.sc...@gmail.com writes:
> > What is the way to yank a regular expression into the regular
> > expression search minibuffer, or even better, into the search /
> > replace minibuffer?
On May 22, 5:53 am, Michael Heerdegen <ab...@127.0.0.1> wrote:
> I think M-e is what you are looking for.
Thank you Michael! You're right!
When typing into the minibuffer for a regular expression search,
hitting M-e goes into an edit mode for the minibuffer where you can
use commands such as C-y to yank regular expressions (or anything
else).
About my question on how to yank a regular expression into the
search / replace minibuffer, silly me! I missed the fact that the
minibuffer for search / replace directly allows one to use C-y to do a
yank. Once you've done the C-y, it is possible to use M-y to cycle
back through the kill ring (just like regular editing in a standard
buffer). No wonder emacs was giving me the "Previous command was not a
yank" error when trying to directly start with an M-y!!!
prev parent reply other threads:[~2009-05-22 20:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-20 23:41 Yanking regular expression to regular expression search minibuffer or to regular expression search / replace minibuffer glen.d.scott
2009-05-22 12:53 ` Michael Heerdegen
2009-05-22 20:24 ` glen.d.scott [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8bd0b7a4-f1dd-457b-81ee-2484cd71bf69@y6g2000prf.googlegroups.com \
--to=glen.d.scott@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).