From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 18 07:15:07 2016 Received: (at submit) by debbugs.gnu.org; 18 Feb 2016 12:15:07 +0000 Received: from localhost ([127.0.0.1]:60247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWNUA-0006DK-Vb for submit@debbugs.gnu.org; Thu, 18 Feb 2016 07:15:07 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58738) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWNU9-0006CY-3u for submit@debbugs.gnu.org; Thu, 18 Feb 2016 07:15:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWNU2-0006bH-Cb for submit@debbugs.gnu.org; Thu, 18 Feb 2016 07:14:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWNU2-0006b6-A7 for submit@debbugs.gnu.org; Thu, 18 Feb 2016 07:14:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWNU0-00051i-TY for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 07:14:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWNTx-0006ZA-Oe for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 07:14:56 -0500 Received: from mail.muc.de ([193.149.48.3]:39643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWNTx-0006Z3-IA for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 07:14:53 -0500 Received: (qmail 59770 invoked by uid 3782); 18 Feb 2016 12:14:52 -0000 Received: from acm.muc.de (p548A4834.dip0.t-ipconnect.de [84.138.72.52]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 18 Feb 2016 13:14:50 +0100 Received: (qmail 3562 invoked by uid 1000); 18 Feb 2016 12:17:15 -0000 Date: Thu, 18 Feb 2016 12:17:15 +0000 To: bug-gnu-emacs@gnu.org Subject: emacs-25: Double clicks don't get through to C-h c. Message-ID: <20160218121715.GC1769@acm.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) Hello, Emacs. In the emacs-25 branch, start Emacs with emacs -Q. In the *scratch* buffer, do C-h c followed by a double click on the left mouse button. Examine the *Messages* buffer. There it will be reported that " at that spot runs the command mouse-drag-region". This is wrong - the event handling code has got impatient and returned the info for rather than waiting for the actual complete event which is a double click. However, a double click in the *scratch* buffer without C-h c is read correctly, marking the word under the mouse. It would be nice to be able to find out what this command is that does the marking. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 18 11:58:25 2016 Received: (at 22731) by debbugs.gnu.org; 18 Feb 2016 16:58:25 +0000 Received: from localhost ([127.0.0.1]:33150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWRuL-0006MD-Lk for submit@debbugs.gnu.org; Thu, 18 Feb 2016 11:58:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45358) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWRuK-0006Lz-KN for 22731@debbugs.gnu.org; Thu, 18 Feb 2016 11:58:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWRuC-0002FQ-9R for 22731@debbugs.gnu.org; Thu, 18 Feb 2016 11:58:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWRuC-0002FF-2w; Thu, 18 Feb 2016 11:58:16 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1853 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aWRuA-0001SG-1V; Thu, 18 Feb 2016 11:58:15 -0500 Date: Thu, 18 Feb 2016 18:58:30 +0200 Message-Id: <83vb5mt0p5.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-reply-to: <20160218121715.GC1769@acm.fritz.box> (message from Alan Mackenzie on Thu, 18 Feb 2016 12:17:15 +0000) Subject: Re: bug#22731: emacs-25: Double clicks don't get through to C-h c. References: <20160218121715.GC1769@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22731 Cc: 22731@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Thu, 18 Feb 2016 12:17:15 +0000 > From: Alan Mackenzie > > In the emacs-25 branch, start Emacs with emacs -Q. > > In the *scratch* buffer, do C-h c followed by a double click on the left > mouse button. > > Examine the *Messages* buffer. There it will be reported that > " at that spot runs the command mouse-drag-region". This > is wrong - the event handling code has got impatient and returned the > info for rather than waiting for the actual complete > event which is a double click. > > However, a double click in the *scratch* buffer without C-h c is read > correctly, marking the word under the mouse. It would be nice to be > able to find out what this command is that does the marking. We never had such a feature in Emacs, AFAICS, so you are asking for an enhancement. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 18 12:00:43 2016 Received: (at control) by debbugs.gnu.org; 18 Feb 2016 17:00:43 +0000 Received: from localhost ([127.0.0.1]:33154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWRwZ-0006RW-30 for submit@debbugs.gnu.org; Thu, 18 Feb 2016 12:00:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47046) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWRwX-0006RH-F6 for control@debbugs.gnu.org; Thu, 18 Feb 2016 12:00:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWRwR-0003le-Ak for control@debbugs.gnu.org; Thu, 18 Feb 2016 12:00:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWRwR-0003lN-7n for control@debbugs.gnu.org; Thu, 18 Feb 2016 12:00:35 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aWRwQ-0001xS-Qb for control@debbugs.gnu.org; Thu, 18 Feb 2016 12:00:34 -0500 Subject: control message for bug 7520 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 18 Feb 2016 12:00:34 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) forcemerge 22731 7520 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 18 17:37:09 2016 Received: (at 22731) by debbugs.gnu.org; 18 Feb 2016 22:37:09 +0000 Received: from localhost ([127.0.0.1]:33303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWXC9-0007XR-13 for submit@debbugs.gnu.org; Thu, 18 Feb 2016 17:37:09 -0500 Received: from mail.muc.de ([193.149.48.3]:12849) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWXC6-0007XI-Db for 22731@debbugs.gnu.org; Thu, 18 Feb 2016 17:37:06 -0500 Received: (qmail 29974 invoked by uid 3782); 18 Feb 2016 22:37:05 -0000 Received: from acm.muc.de (p548A4834.dip0.t-ipconnect.de [84.138.72.52]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 18 Feb 2016 23:37:03 +0100 Received: (qmail 12365 invoked by uid 1000); 18 Feb 2016 22:39:29 -0000 Date: Thu, 18 Feb 2016 22:39:29 +0000 To: Eli Zaretskii Subject: Re: bug#22731: emacs-25: Double clicks don't get through to C-h c. Message-ID: <20160218223928.GB2697@acm.fritz.box> References: <20160218121715.GC1769@acm.fritz.box> <83vb5mt0p5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83vb5mt0p5.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22731 Cc: 22731@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Eli. On Thu, Feb 18, 2016 at 06:58:30PM +0200, Eli Zaretskii wrote: > > Date: Thu, 18 Feb 2016 12:17:15 +0000 > > From: Alan Mackenzie > > > > In the emacs-25 branch, start Emacs with emacs -Q. > > > > In the *scratch* buffer, do C-h c followed by a double click on the left > > mouse button. > > > > Examine the *Messages* buffer. There it will be reported that > > " at that spot runs the command mouse-drag-region". This > > is wrong - the event handling code has got impatient and returned the > > info for rather than waiting for the actual complete > > event which is a double click. > > > > However, a double click in the *scratch* buffer without C-h c is read > > correctly, marking the word under the mouse. It would be nice to be > > able to find out what this command is that does the marking. > We never had such a feature in Emacs, AFAICS, so you are asking for an > enhancement. OK, I read the fine manual a little bit, and discovered that on a double click, the Emacs core generates 4 events: a down-mouse, a click, a double-down-mouse, then a double-click. And naturally enough, C-h c only responds to the first event. This is crazy: if somebody only wants to read about a down-mouse, they'd only have clicked a down-mouse. Anybody doing a double-click to C-h c clearly wants to know what's bound to that, not to the mouse-down. To me, it's definitely a bug. The problem also occurs with C-h k. It's easy enough to fix, though: diff --git a/lisp/help.el b/lisp/help.el index 061daac..6f57159 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -613,7 +613,10 @@ describe-key-briefly (when (null (cdr yank-menu)) (setq saved-yank-menu (copy-sequence yank-menu)) (menu-bar-update-yank-menu "(any string)" nil)) - (setq key (read-key-sequence "Describe key (or click or menu item): ")) + (while + (progn + (setq key (read-key-sequence "Describe key (or click or menu item): ")) + (not (sit-for (/ double-click-time 1000.0) t)))) ;; Clear the echo area message (Bug#7014). (message nil) ;; If KEY is a down-event, read and discard the @@ -750,7 +753,10 @@ describe-key (when (null (cdr yank-menu)) (setq saved-yank-menu (copy-sequence yank-menu)) (menu-bar-update-yank-menu "(any string)" nil)) - (setq key (read-key-sequence "Describe key (or click or menu item): ")) + (while + (progn + (setq key (read-key-sequence "Describe key (or click or menu item): ")) + (not (sit-for (/ double-click-time 1000.0) t)))) (list key (prefix-numeric-value current-prefix-arg) > Thanks. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 19 02:55:14 2016 Received: (at 22731) by debbugs.gnu.org; 19 Feb 2016 07:55:14 +0000 Received: from localhost ([127.0.0.1]:33440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWfuE-0007K6-8F for submit@debbugs.gnu.org; Fri, 19 Feb 2016 02:55:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33372) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWfuD-0007Js-0F for 22731@debbugs.gnu.org; Fri, 19 Feb 2016 02:55:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWfu3-0000Zg-Fk for 22731@debbugs.gnu.org; Fri, 19 Feb 2016 02:55:07 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWfu3-0000Za-C9; Fri, 19 Feb 2016 02:55:03 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2640 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aWfu2-00059R-8u; Fri, 19 Feb 2016 02:55:02 -0500 Date: Fri, 19 Feb 2016 09:54:59 +0200 Message-Id: <831t89t9rg.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-reply-to: <20160218223928.GB2697@acm.fritz.box> (message from Alan Mackenzie on Thu, 18 Feb 2016 22:39:29 +0000) Subject: Re: bug#22731: emacs-25: Double clicks don't get through to C-h c. References: <20160218121715.GC1769@acm.fritz.box> <83vb5mt0p5.fsf@gnu.org> <20160218223928.GB2697@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22731 Cc: 22731@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Thu, 18 Feb 2016 22:39:29 +0000 > Cc: 22731@debbugs.gnu.org > From: Alan Mackenzie > > The problem also occurs with C-h k. It's easy enough to fix, though: Please push to master, and thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 19 15:09:58 2016 Received: (at 22731-done) by debbugs.gnu.org; 19 Feb 2016 20:09:58 +0000 Received: from localhost ([127.0.0.1]:34295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWrNF-0001Bn-Qr for submit@debbugs.gnu.org; Fri, 19 Feb 2016 15:09:57 -0500 Received: from mail.muc.de ([193.149.48.3]:60136) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWrNE-0001Be-P9 for 22731-done@debbugs.gnu.org; Fri, 19 Feb 2016 15:09:57 -0500 Received: (qmail 48764 invoked by uid 3782); 19 Feb 2016 20:09:55 -0000 Received: from acm.muc.de (p548A4E9B.dip0.t-ipconnect.de [84.138.78.155]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 19 Feb 2016 21:09:54 +0100 Received: (qmail 29103 invoked by uid 1000); 19 Feb 2016 20:12:20 -0000 Date: Fri, 19 Feb 2016 20:12:20 +0000 To: Eli Zaretskii Subject: Re: bug#22731: emacs-25: Double clicks don't get through to C-h c. Message-ID: <20160219201220.GE3193@acm.fritz.box> References: <20160218121715.GC1769@acm.fritz.box> <83vb5mt0p5.fsf@gnu.org> <20160218223928.GB2697@acm.fritz.box> <831t89t9rg.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <831t89t9rg.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22731-done Cc: 22731-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On Fri, Feb 19, 2016 at 09:54:59AM +0200, Eli Zaretskii wrote: > > Date: Thu, 18 Feb 2016 22:39:29 +0000 > > Cc: 22731@debbugs.gnu.org > > From: Alan Mackenzie > > The problem also occurs with C-h k. It's easy enough to fix, though: > Please push to master, and thanks. Done. Marking the bug as fixed. -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Aug 09 13:17:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 19 Mar 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator