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: Tue, 23 Oct 2007 03:12:36 -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> <87abqc2ibg.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 1193126289 23991 80.91.229.12 (23 Oct 2007 07:58:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2007 07:58:09 +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 Tue Oct 23 09:58:10 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 1IkEeO-0007b3-UT for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2007 09:58:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkEeH-0004Jo-2B for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2007 03:58:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkEVs-0005Gq-Nd for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2007 03:49:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkEVe-00056S-5D for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2007 03:49:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkEVd-000566-25 for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2007 03:49:05 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkEVc-000225-J6 for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2007 03:49:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IkDwK-0008Iw-77; Tue, 23 Oct 2007 03:12:36 -0400 In-reply-to: <87abqc2ibg.fsf@jurta.org> (message from Juri Linkov on Mon, 22 Oct 2007 03:35:43 +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:16807 Archived-At: It doesn't read the mouse button release event (mouse-1), so the mouse release happens in the minibuffer after read-from-minibuffer activates it. I see. It could detect that e is a down-event and reads the next event too, then unreads both after. Does that approach work? If it does, we could make a subroutine to use instead of read-event, which would take care of this, and would return a list of one or two events.