From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#30516: 26.0; `C-h k' for mouse click is now confusing and less useful Date: Sun, 14 Jul 2019 14:58:06 -0700 (PDT) Message-ID: <4de5ee40-0cc6-4432-aebf-a6ed6e1cb025@default> References: <495d5021-ac3d-4042-80a7-4bc26d21f1e6@default> <87blxwzkak.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="224065"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 30516@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 14 23:59:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmmWR-000w4s-TX for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Jul 2019 23:59:08 +0200 Original-Received: from localhost ([::1]:34330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmmWQ-0005Xx-JS for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Jul 2019 17:59:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45048) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmmWN-0005Xn-EI for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2019 17:59:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmmWM-0003BG-8f for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2019 17:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmmWM-0003B6-3H for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2019 17:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmmWM-00038R-09 for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2019 17:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jul 2019 21:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30516 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 30516-submit@debbugs.gnu.org id=B30516.156314149811998 (code B ref 30516); Sun, 14 Jul 2019 21:59:01 +0000 Original-Received: (at 30516) by debbugs.gnu.org; 14 Jul 2019 21:58:18 +0000 Original-Received: from localhost ([127.0.0.1]:46134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmmVd-00037R-DG for submit@debbugs.gnu.org; Sun, 14 Jul 2019 17:58:17 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:34574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmmVb-000377-1q for 30516@debbugs.gnu.org; Sun, 14 Jul 2019 17:58:15 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6ELs4Hm103106; Sun, 14 Jul 2019 21:58:09 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-2018-07-02; bh=ViNvekppsxQbZ5LJNYRqg6tFS/V6q8HuwiPKmCoMG7I=; b=Fwwi0BDzNZ85qQKStdjCI69jaTirsRJ03Xoa80zrczzmiDL7B7WoFEHvmmBfozid2smZ 2uHDv6Z/gxpm274LtrLxiUY4XX6SdDIFmzrENdv5czlE8M3QNCUuQYhtZeboMxnuh4P8 Ly+rwm3X4ovDnpiOXmuAg+zeDQikIU6kFIYTz5JZjbO35uh0MJqB0RGZ3wysE+Aja2jI Vx+uKuvjMrcfIGP9xeWuMdUudjDCNAEDJ3eWykSGC8ilTK0o8MtFEqdb6nvNAae40q4x FPwWmOSrIBR6KWPt+QP0Yq8fgtzr+Ve6fbRdGqigIFOEqiQmPhe7TUzpt0HyzeWEFOjc 4g== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2tq78pbf2p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 14 Jul 2019 21:58:09 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6ELvun4014229; Sun, 14 Jul 2019 21:58:08 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 2tq5bbh74g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 14 Jul 2019 21:58:08 +0000 Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x6ELw6xo021443; Sun, 14 Jul 2019 21:58:07 GMT In-Reply-To: <87blxwzkak.fsf@mouse.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4861.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9318 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=957 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907140275 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9318 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907140274 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: 209.51.188.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:163051 Archived-At: > > A change for the worse seems to have been made to the help displayed > > by `C-h k' for a mouse click. > > > > Instead of clearly showing two separate help sections, one for the up > > event and one for the down event, what you see now is help for the up > > event followed immediately - with no separation, by this sentence: > > > > For documentation of the corresponding mouse down > > event , click and hold the mouse button > > longer than 0.5 second(s). >=20 > If I `C-h k mouse-1', I get the contents below, so I'm unable to > reproduce this. Are you still seeing this on the trunk, or do you have > a different recipe for how to reproduce it? Still seeing it, `emacs -Q`, Emacs 26.2. Please reread the bug report carefully. It describes perfectly what I (still) see. --- What you report corresponds instead to what happens if you do what it says in that somewhat puzzling final paragraph, quoted in the bug report: For documentation of the corresponding mouse down event , click and hold the mouse button longer than 0.5 second(s). An ordinary `mouse-1' _click_ does NOT produce the output you describe. To get that, you need to _press_ `mouse-1', _hold_ it pressed more than half a second, and then release it. The help I described is what you get when you click `mouse-1'. And it does NOT describe the _click_. It describes only the last event of the click. I imagine that someone intentionally implemented this help "improvement", and that you will thus say that it is behaving as designed. The bug report is to say that, whether by design or accident, the behavior is worse, not better, now. For users, that is. IMHO. If some real problem (e.g. a bug) existed that provoked this change, are you sure that it was worse than the new behavior? What was that problem, if there was one? Was it new, or had it always been with us over the decades? In any case, this bug report counts one user as not appreciating the new behavior. Do with it what you will. But it's hard to understand that you could not repeat the reported behavior. Just click. Normally. > at that spot runs the command mouse-drag-region (found > in global-map), which is an interactive compiled Lisp function in > =E2=80=98mouse.el=E2=80=99. >=20 > It is bound to . >=20 > (mouse-drag-region START-EVENT) >=20 > Set the region to the text that the mouse is dragged over. > Highlight the drag area as you move the mouse. > This must be bound to a button-down mouse event. > In Transient Mark mode, the highlighting remains as long as the mark > remains active. Otherwise, it remains until the next input event. >=20 > When the region already exists and =E2=80=98mouse-drag-and-drop-region=E2= =80=99 > is non-nil, this moves the entire region of text to where mouse > is dragged over to. >=20 You skipped this line, which occurs after that text and before the next text you cite: ----------------- up-event ---------------- > at that spot runs the command mouse-set-point (found in > global-map), which is an interactive compiled Lisp function in > =E2=80=98mouse.el=E2=80=99. >=20 > It is bound to . >=20 > (mouse-set-point EVENT &optional PROMOTE-TO-REGION) >=20 > Probably introduced at or before Emacs version 22.1. (That last ("Probably...") line is not in the Emacs 26.2 output that I see. Perhaps it was added afterward.) > Move point to the position clicked on with the mouse. > This should be bound to a mouse click event type. > If PROMOTE-TO-REGION is non-nil and event is a multiple-click, select > the corresponding element around point, with the resulting position of > point determined by =E2=80=98mouse-select-region-move-to-beginning=E2=80= =99.