From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: glen.d.scott@gmail.com Newsgroups: gmane.emacs.help 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) Organization: http://groups.google.com Message-ID: <406d2553-3cbd-41af-8db7-7f5b3afadbda@d2g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242917351 13289 80.91.229.12 (21 May 2009 14:49:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2009 14:49:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 21 16:49:05 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M79Zv-0008MY-DU for geh-help-gnu-emacs@m.gmane.org; Thu, 21 May 2009 16:49:03 +0200 Original-Received: from localhost ([127.0.0.1]:45710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M79Zu-0006HP-S9 for geh-help-gnu-emacs@m.gmane.org; Thu, 21 May 2009 10:49:02 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!d2g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 209.17.182.60 Original-X-Trace: posting.google.com 1242862860 25930 127.0.0.1 (20 May 2009 23:41:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 20 May 2009 23:41:00 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d2g2000pra.googlegroups.com; posting-host=209.17.182.60; posting-account=1qBFsQkAAACspKBaprAD6gK56C9oKeFK User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:169352 X-Mailman-Approved-At: Thu, 21 May 2009 10:47:46 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64611 Archived-At: 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