all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Yanking regular expression to regular expression search minibuffer or to regular expression search / replace minibuffer
@ 2009-05-20 23:41 glen.d.scott
  2009-05-22 12:53 ` Michael Heerdegen
  0 siblings, 1 reply; 3+ messages in thread
From: glen.d.scott @ 2009-05-20 23:41 UTC (permalink / raw)
  To: help-gnu-emacs

   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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-22 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.