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 10:31:45 +0200 Message-ID: <83o9ni3l3i.fsf@gnu.org> References: <1b3879d6-f14e-47b0-970f-baf09598fcfd@default> <871skjnpd8.fsf@users.sourceforge.net> <20171128221036.GC14868@ACM> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1512117198 3332 195.159.176.226 (1 Dec 2017 08:33:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 1 Dec 2017 08:33:18 +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 09:33:12 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 1eKgkq-00007L-P6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Dec 2017 09:33:04 +0100 Original-Received: from localhost ([::1]:51264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKgkx-00026A-M0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Dec 2017 03:33:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKgks-00020W-Ff for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 03:33:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKgkn-0006VP-R1 for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 03:33:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKgkn-0006VK-OD for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 03:33:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eKgkn-0004Bv-Hp for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 03:33:01 -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 08:33: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.151211714216060 (code B ref 29478); Fri, 01 Dec 2017 08:33:01 +0000 Original-Received: (at 29478) by debbugs.gnu.org; 1 Dec 2017 08:32:22 +0000 Original-Received: from localhost ([127.0.0.1]:38946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKgk6-0004Av-Oe for submit@debbugs.gnu.org; Fri, 01 Dec 2017 03:32:20 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKgk3-0004Ah-Db for 29478@debbugs.gnu.org; Fri, 01 Dec 2017 03:32:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKgjt-0005wB-RW for 29478@debbugs.gnu.org; Fri, 01 Dec 2017 03:32:10 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKgjt-0005w6-NU; Fri, 01 Dec 2017 03:32:05 -0500 Original-Received: from [176.228.60.248] (port=1812 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eKgjs-0000sR-Vn; Fri, 01 Dec 2017 03:32:05 -0500 In-reply-to: (message from Drew Adams on Tue, 28 Nov 2017 20:33:00 -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:140571 Archived-At: > Date: Tue, 28 Nov 2017 20:33:00 -0800 (PST) > From: Drew Adams > Cc: 29478@debbugs.gnu.org > > > > > The down mouse-button event is no longer listed along with the up > > > > event when you use `C-h k' with a click event. Dunno whether this > > was > > > > by design or is an oversight. > > > > I think if you press and hold the mouse button for (default) half a > > second, when you finally release it, C-h k will report the down mouse > > event. At least this is how GPM behaves for me on a Linux tty. > > Ah yes, thanks. I see that now on MS Windows too. > > > This seems to make sense, because anything bound to a down mouse > > event is going to be something like a drag event, where the mouse > > button is held for an extended period of time. > > Sorry, no, I don't buy that. I mean it's probably true that > most such bindings involve dragging. But (1) a user who wants > to check what `mouse-N' does won't necessarily use it the same > way when checking with `C-h k' as when using it for its real > purpose. And (2) the problem with this is that it is not > easily discoverable. > > I've used Emacs for quite a while. OK, I expected both up and > down to be documented. But even 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)?