From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#7802: bug #7802: 24.0.50; Extraneous `mouse-3' event when do `double-mouse-3' Date: Thu, 13 Jan 2011 00:35:24 -0500 Message-ID: References: <6AF23E536D254FC88C35DA0BEC775C1A@us.oracle.com> <7EB632A3268149CA89DA1D58C8046A01@us.oracle.com> <9496EDBB00F3470E9417340D3CDBA5E1@us.oracle.com> <87tyhje666.fsf@gnu.org> <0BC7B2E648C8499CAC13F1D3D3A7A72E@us.oracle.com> <87oc7qeong.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1294898075 13805 80.91.229.12 (13 Jan 2011 05:54:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Jan 2011 05:54:35 +0000 (UTC) Cc: 7802@debbugs.gnu.org To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 13 06:54:29 2011 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.69) (envelope-from ) id 1PdG8j-0006JO-1M for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jan 2011 06:54:29 +0100 Original-Received: from localhost ([127.0.0.1]:51551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdG8i-0001Wt-FM for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jan 2011 00:54:28 -0500 Original-Received: from [140.186.70.92] (port=47232 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdG8Y-0001WL-AI for bug-gnu-emacs@gnu.org; Thu, 13 Jan 2011 00:54:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdG8X-0001R8-7d for bug-gnu-emacs@gnu.org; Thu, 13 Jan 2011 00:54:18 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdG8X-0001R2-5s for bug-gnu-emacs@gnu.org; Thu, 13 Jan 2011 00:54:17 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PdFj7-00026b-Jh; Thu, 13 Jan 2011 00:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jan 2011 05:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7802-submit@debbugs.gnu.org id=B7802.12948964798086 (code B ref 7802); Thu, 13 Jan 2011 05:28:01 +0000 Original-Received: (at 7802) by debbugs.gnu.org; 13 Jan 2011 05:27:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PdFj5-00026N-9w for submit@debbugs.gnu.org; Thu, 13 Jan 2011 00:27:59 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PdFj3-00026B-MM for 7802@debbugs.gnu.org; Thu, 13 Jan 2011 00:27:58 -0500 Original-Received: from cyd by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PdFqG-00080M-Aj; Thu, 13 Jan 2011 00:35:24 -0500 In-Reply-To: <87oc7qeong.fsf@gnu.org> (Jason Rumney's message of "Sun, 09 Jan 2011 11:34:11 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 13 Jan 2011 00:28:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:43325 Archived-At: Jason Rumney writes: >> "Maximum time between mouse clicks to make a double-click. >> Measured in milliseconds. The value nil means disable double-click >> recognition; t means double-clicks have no time limit and are detected >> by position only." [doc string] >> >> "The variable `double-click-time' specifies how much time can elapse >> between clicks and still allow them to be grouped as a multiple click. >> Its value is in units of milliseconds. If the value is `nil', double >> clicks are not detected at all. If the value is `t', then there is no >> time limit. The default is 500." [(emacs) Mouse Buttons] > > 500ms is already a perceptable delay. And some users with motor control > difficulties may set it much longer. If we did this I have no doubt > that YOU would be complaining about the response time of mouse click > events. It's cleaner to let the calling Elisp code worry about this. That is to say, the caller can bind the first click to a command that starts up a timer to execute the "single click" action after a short period, and bind the double click to a command that cancels that timer. I vaguely recall that we used to try to separate single clicks from double-click, and the resulting user experience was rather poor. So it should not be the default, but rather anyone who cares about this issue can do as described above.