From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: i-search related Date: Fri, 19 Nov 2004 03:55:19 +0200 Organization: JURTA Message-ID: <87r7mqcztp.fsf@jurta.org> References: <68c73b1a041118040931fbedd@mail.gmail.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100833746 7586 80.91.229.6 (19 Nov 2004 03:09:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2004 03:09:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 19 04:08:55 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CUz8p-0007O8-00 for ; Fri, 19 Nov 2004 04:08:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUzHh-0000eL-Jx for ged-emacs-devel@m.gmane.org; Thu, 18 Nov 2004 22:18:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CUzHW-0000aO-Av for emacs-devel@gnu.org; Thu, 18 Nov 2004 22:17:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CUzHV-0000ZL-Hu for emacs-devel@gnu.org; Thu, 18 Nov 2004 22:17:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUzHV-0000YT-7b for emacs-devel@gnu.org; Thu, 18 Nov 2004 22:17:53 -0500 Original-Received: from [66.33.205.9] (helo=spatula.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CUz8W-0004y2-Bx for emacs-devel@gnu.org; Thu, 18 Nov 2004 22:08:36 -0500 Original-Received: from mail.jurta.org (80-235-37-70-dsl.mus.estpak.ee [80.235.37.70]) by spatula.dreamhost.com (Postfix) with ESMTP id 5E56A17D02D; Thu, 18 Nov 2004 19:08:33 -0800 (PST) Original-To: Dhruva Krishnamurthy In-Reply-To: <68c73b1a041118040931fbedd@mail.gmail.com> (Dhruva Krishnamurthy's message of "Thu, 18 Nov 2004 17:39:54 +0530") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:30062 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30062 Dhruva Krishnamurthy writes: > Hello, > I am using emacs from CVS on XP compiled using MSVC 6.0. > - I invoke isearch "C-s". > - I type some string and it gets into mini-buffer (the focus is in > minibuffer) and things work fine > - I copy some string to clipboard > - Invoke isearch "C-s" > - I then try to paste the copied string, I would expect it to get > copied into mini-buffer (at isearch prompt). Instead, the string gets > copied at the cursor location in the buffer. > > Is this behavior intentional or a bug? M-y is what you need. It adds the last killed text into the search string. C-y (which normally inserts the killed text) in isearch mode adds the rest of the line into the search string. I suspect that you use some other keybinding to paste the copied text like . I think it's better not to rebind it in isearch mode to paste the text into the search string, because this key is more useful to finish isearch mode and insert the copied text to the place where the search was stopped. This way not rebinding and in isearch mode makes it possible to use them to perform the same operations as rebound in isearch mode C-w and C-y normally do. -- Juri Linkov http://www.jurta.org/emacs/