From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: I-search: Clicking in minibuf during I-search fails. Date: Sun, 21 Oct 2007 03:26:46 -0400 Message-ID: References: <1191986217.275977.242960@o80g2000hse.googlegroups.com> <1192053098.477874.283490@k79g2000hse.googlegroups.com> <1192404883.312978.212670@t8g2000prg.googlegroups.com> <877iliu3p1.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1192952427 23237 80.91.229.12 (21 Oct 2007 07:40:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2007 07:40:27 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, amicitas@gmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 21 09:40:28 2007 Return-path: Envelope-to: geb-bug-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 1IjVQB-0006BO-T1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Oct 2007 09:40:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjVQ4-00007f-79 for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Oct 2007 03:40:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjVNo-0006hb-Gs for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2007 03:38:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IjVNk-0006en-GL for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2007 03:37:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjVNk-0006eh-1N for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2007 03:37:56 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IjVNj-0005Li-HE for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2007 03:37:55 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IjVCw-0000PX-8Y; Sun, 21 Oct 2007 03:26:46 -0400 In-reply-to: <877iliu3p1.fsf@jurta.org> (message from Juri Linkov on Sat, 20 Oct 2007 02:52:18 +0300) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16796 Archived-At: This bug is caused by the hack in `isearch-edit-string' that uses (let ((cursor-in-echo-area t)) (read-event)) before reading the search string in the minibuffer with `read-from-minibuffer'. When clicking mouse-1 in `read-event' above, it incorrectly handles the mouse click. Why does this code handle the mouse-click at all? It ought to just return the event, right?