all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: glen.d.scott@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Yanking regular expression to regular expression search minibuffer or to regular expression search / replace minibuffer
Date: Wed, 20 May 2009 16:41:00 -0700 (PDT)	[thread overview]
Message-ID: <406d2553-3cbd-41af-8db7-7f5b3afadbda@d2g2000pra.googlegroups.com> (raw)

   I have tried to yank to a regular expression search replace
minibuffer, and also to a regular expression search minibuffer with M-
y, but am not meeting with success.

   When I yank the text:
[^A-Z0-9_]

  to a regular expression search minibuffer with the shortcut M-y, the
text that is placed in the minibuffer to search for is the text:
\[\^A-Z0-9_]

(note the leading \ characters before the [ and before the ^
characters)

   When I try to yank the same regexp to the search replace
minibuffer, I get an error:
Previous command was not a yank

and the text does not get yanked into the minibuffer at all.

   What is the way to yank a regular expression into the regular
expression search minibuffer, or even better, into the search /
replace minibuffer?

Thanks,
Glen Scott


             reply	other threads:[~2009-05-20 23:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20 23:41 glen.d.scott [this message]
2009-05-22 12:53 ` Yanking regular expression to regular expression search minibuffer or to regular expression search / replace minibuffer Michael Heerdegen
2009-05-22 20:24   ` glen.d.scott

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=406d2553-3cbd-41af-8db7-7f5b3afadbda@d2g2000pra.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.
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.