From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#30491: 26.0; (elisp) `Profiling' Date: Sun, 18 Feb 2018 08:22:30 -0800 (PST) Message-ID: References: <> <<837ercc4mp.fsf@gnu.org>> <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1518970896 14994 195.159.176.226 (18 Feb 2018 16:21:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Feb 2018 16:21:36 +0000 (UTC) Cc: 30491@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 18 17:21:32 2018 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 1enRi7-00029Q-Dx for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Feb 2018 17:21:07 +0100 Original-Received: from localhost ([::1]:42791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enRk9-0001V9-3X for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Feb 2018 11:23:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enRk3-0001UV-0G for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2018 11:23:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enRjy-00058q-Mo for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2018 11:23:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42047) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enRjy-00058k-JB for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2018 11:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1enRjy-0004Gr-De for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2018 11:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Feb 2018 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30491 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30491-submit@debbugs.gnu.org id=B30491.151897096216371 (code B ref 30491); Sun, 18 Feb 2018 16:23:02 +0000 Original-Received: (at 30491) by debbugs.gnu.org; 18 Feb 2018 16:22:42 +0000 Original-Received: from localhost ([127.0.0.1]:49944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enRje-0004Fz-4d for submit@debbugs.gnu.org; Sun, 18 Feb 2018 11:22:42 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:34072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enRjc-0004Fm-KK for 30491@debbugs.gnu.org; Sun, 18 Feb 2018 11:22:40 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1IGMYwu112248; Sun, 18 Feb 2018 16:22:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=YjUjbs4680VjuxjUMML4KY/ow/22HMsa1SztFvUN9Gg=; b=oUBAt/zvqgfPh5RHyp5QR25jro7/NRZh+tiiDHpbD4X2ruMX3pgkhpYkmrG2Za9NT2jq d9WrivKHguVeUulN3d+RKP1g0VODM82SffKTD/YuYpZdyX+jdYJSlqDyaIRiJqs7VfSK Z2Cyrl4hQivCKg5AFo/PwVV+G4+kEMNXNmU/jz597/09j3iQPwRkLWYCf/eQVimYpRwx /RbO/dAiR5NyEPbesOsacAuGTz/Xnej3WMK/uANWUVeggGmKaz1/p+hfHh1zyjSa20aq W1tcMQdK5GziW7umqXFk87qZu8l9lQ88LLzQP7AlHcZ1OBT882xwz/7+wMkKNhzFMEy1 ZQ== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2g7cpx0148-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 18 Feb 2018 16:22:34 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w1IGMXu3004971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 18 Feb 2018 16:22:33 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1IGMVlJ016353; Sun, 18 Feb 2018 16:22:31 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4654.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8808 signatures=668674 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=996 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802180221 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:143419 Archived-At: > Not only that, but the normal behavior of non-nil > `mouse-1-click-follows-link' is that if you hold `mouse-1' > depressed for a moment the command simply sets point. > But in the profiler report buffer doing that instead > shows `C-h f' output for the function. >=20 > So it seems that the Profiler report key bindings do > not respect `mouse-1-click-follows-link' for either > a nil or a non-nil value. >=20 > This is bad design, IMO - a design bug. It is pretty > much impossible, it seems, to use `mouse-1' to set > point. My bad about that part. Holding `mouse-1' depressed does not show help on the function. But I was right that it also does not set point (as it should, if `mouse-1-click-follows-link' were respected). Holding `mouse-1' for a moment does nothing different. The slow click just toggles the entry, same as a fast click. --- I was confused here by reading the help for `C-h k' for the `mouse-1' click. At the end of that help I read this: For documentation of the corresponding mouse down event , click and hold the mouse button longer than 0.5 second(s). I was misreading that as applying to the command whose doc I was reading: `profiler-report-toggle-entry'. Instead, that sentence is about the key action I used at the prompt of `C-h k'. I think this help text is unclear. 99% of the text is about a COMMAND - the command bound to the mouse up event. And then, with no separation at all, we read a sentence that is suddenly about the second event you caused in response to the `C-h k' prompt'. This is awful (IMHO). At the very least, that sentence should be set off with a clear separator (e.g. horizontal line or C-l char), and it should be in parentheses. Some better help design is needed for this, in any case. I'm sure I won't be the last user to fall prey to this design gotcha.