From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Mathias_H=E4bich?= Newsgroups: gmane.emacs.help Subject: Re: Using paste in search Date: Tue, 12 Jun 2007 10:54:43 +0200 Organization: T-Online Message-ID: References: <466e335d$0$79139$e4fe514c@news.xs4all.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181655915 8116 80.91.229.12 (12 Jun 2007 13:45:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 13:45:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 15:45:14 2007 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 1Hy6gJ-0004XO-7r for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 15:45:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hy6gI-0004a6-QV for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 09:45:10 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-X-Trace: news.t-online.com 1181638483 01 20762 bQpR6Q5LFywTe1o 070612 08:54:43 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: JTgUVYZvYewh5oURoo0hq5hPPtomRUXdlxyCiuuYxLOo25d4fzqW4V User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 In-Reply-To: <466e335d$0$79139$e4fe514c@news.xs4all.nl> Original-Xref: shelby.stanford.edu gnu.emacs.help:149331 X-Mailman-Approved-At: Tue, 12 Jun 2007 09:41:56 -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:44931 Archived-At: Cecil Westerhof wrote: > Sometimes I want to search on something I have in my yank-buffer. But when I > give C-y in search mode, it puts the rest of the line where the cursor is > in my search query. Is there a way to get the content of the yank-buffer > into the search query? Try M-y instead. It yanks (pastes) the last entry of the kill-ring and does an instant search. At least it does for me (Emacs 21). M-e C-y (as Steve wrote) works fine under Emacs 21, too. HTH, Mathias