From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29478: 26.0.90; `C-h k' followed by mouse clicks no longer shows down event Date: Fri, 01 Dec 2017 18:51:37 +0200 Message-ID: <83bmji2xye.fsf@gnu.org> References: <<1b3879d6-f14e-47b0-970f-baf09598fcfd@default> <871skjnpd8.fsf@users.sourceforge.net>> <<20171128221036.GC14868@ACM>> <> <<83o9ni3l3i.fsf@gnu.org>> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1512154070 22627 195.159.176.226 (1 Dec 2017 18:47:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 1 Dec 2017 18:47:50 +0000 (UTC) Cc: acm@muc.de, 29478@debbugs.gnu.org, npostavs@users.sourceforge.net To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 01 19:47:45 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKqLf-0005LL-3M for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Dec 2017 19:47:43 +0100 Original-Received: from localhost ([::1]:59646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKqLm-0000MN-5e for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Dec 2017 13:47:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKoYk-0003JN-AV for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 11:53:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKoYg-00030l-By for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 11:53:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59862) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKoYg-00030P-8b for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 11:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eKoYg-0003O8-1U for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 11:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Dec 2017 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29478 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 29478-submit@debbugs.gnu.org id=B29478.151214713112962 (code B ref 29478); Fri, 01 Dec 2017 16:53:01 +0000 Original-Received: (at 29478) by debbugs.gnu.org; 1 Dec 2017 16:52:11 +0000 Original-Received: from localhost ([127.0.0.1]:40310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKoXr-0003N0-1j for submit@debbugs.gnu.org; Fri, 01 Dec 2017 11:52:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKoXp-0003Mn-69 for 29478@debbugs.gnu.org; Fri, 01 Dec 2017 11:52:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKoXg-0002TK-3J for 29478@debbugs.gnu.org; Fri, 01 Dec 2017 11:52:04 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKoXf-0002TG-Vu; Fri, 01 Dec 2017 11:52:00 -0500 Original-Received: from [176.228.60.248] (port=3051 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eKoXf-0004qn-4L; Fri, 01 Dec 2017 11:51:59 -0500 In-reply-to: (message from Drew Adams on Fri, 1 Dec 2017 07:35:08 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140589 Archived-At: > Date: Fri, 1 Dec 2017 07:35:08 -0800 (PST) > From: Drew Adams > Cc: acm@muc.de, npostavs@users.sourceforge.net, 29478@debbugs.gnu.org > > > > I would likely never have > > > thought to hold the button pressed for a long time before > > > releasing, just to see what `C-h k' had to tell me. > > > > Alan, can we arrange for the doc string of mouse-N clicks (with or > > without all the possible modifiers) to say something like > > > > For documentation of the corresponding mouse-down event, > > click and hold the mouse button longer than %s sec. > > > > (where %s gets replaced by double-click-time)? > > That's a hack/workaround The previous way, where down-event was described before the up-event, was also a hack. The fundamental problem here is that Emacs doesn't know what the user wants/needs, and the semi-kludgey way we intuit that when processing mouse gestures is part of the reason. > If that's at the end of the doc for the up event > then I suspect some users looking for info about > the down event might never notice it. Well, at least they will now see the documentation of mouse-1, not down-mouse-1, first. And in "C-h c", we were previously showing _only_ down-mouse-1, something that made me mad for years, because in 90% of cases you want to know about mouse-1. So this is some progress, even in this area (although it was not the main drive for the change). > Previously we had two headings for the two events. For "C-h k", yes (and a user who wasn't expecting to see 2 doc strings could easily miss the second one). For "C-h c", no: we only was showing the binding for the down-event.