From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: Re: I-search: Clicking in minibuf during I-search fails. Date: Wed, 24 Oct 2007 02:52:54 +0300 Organization: JURTA Message-ID: <87y7dth3u9.fsf@jurta.org> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193184416 30918 80.91.229.12 (24 Oct 2007 00:06:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2007 00:06:56 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, amicitas@gmail.com To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 24 02:06:53 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 1IkTls-0005He-48 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Oct 2007 02:06:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkTlj-0005qu-Ka for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2007 20:06:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkTlh-0005qp-OA for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2007 20:06:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkTle-0005qa-9q for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2007 20:06:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkTle-0005qX-4H for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2007 20:06:38 -0400 Original-Received: from gnome.kiev.sovam.com ([212.109.32.24]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IkTlZ-0004Ek-HG; Tue, 23 Oct 2007 20:06:34 -0400 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]) by gnome.kiev.sovam.com with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1IkTlW-000M0W-H1; Wed, 24 Oct 2007 03:06:30 +0300 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1IkTlU-000EHf-NV; Wed, 24 Oct 2007 03:06:29 +0300 In-Reply-To: (Richard Stallman's message of "Tue\, 23 Oct 2007 03\:12\:36 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Scanner-Signature: ef6c50392af5ec65634338665e82f3c2 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1661 [Oct 23 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 25 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) 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:16821 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? It works, but there are still problems. The recorded event has the position of the beginning of the echo area, so after unreading this event of clicking the button in the echo area, it puts point to the beginning of the minibuffer before the prompt. -- Juri Linkov http://www.jurta.org/emacs/