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#35353: 26.2; Buffer *xref*: (1) hard-coded mouse-1, (2) major mode name Date: Mon, 22 Apr 2019 06:08:16 -0700 (PDT) Message-ID: <70e7fbc3-aeb5-460f-9a59-e5dfc902d15f@default> References: <96cafba3-7ba2-4e87-8f9d-e53825fd1dde@default> <94feda5f-7afa-4ab5-96f8-60dfaba7e0a4@default> <469bf659-07b6-8172-287c-2abc53582447@yandex.ru> <83zhoi74vl.fsf@gnu.org> <44b1aa8a-c06c-61f7-0948-0fd20605e938@yandex.ru> <83y34273mu.fsf@gnu.org> <2979c506-20e4-4b9f-0215-6f0241238678@yandex.ru> <83v9z6732b.fsf@gnu.org> <7837cd5b-819b-66b1-c14d-d8742f3860b5@yandex.ru> <017d79f2-f98b-2e61-4abe-5ce9495008b3@orcon.net.nz> 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="9567"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35353@debbugs.gnu.org To: Phil Sainty , Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 22 15:09:18 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIYhB-0002Kp-3V for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Apr 2019 15:09:17 +0200 Original-Received: from localhost ([127.0.0.1]:37321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIYhA-0005VI-1y for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Apr 2019 09:09:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIYgz-0005TI-8K for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 09:09:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIYgx-0002ht-HI for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 09:09:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIYgw-0002hc-QY for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 09:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hIYgw-0006UE-Hl for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 09:09: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: Mon, 22 Apr 2019 13:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35353 X-GNU-PR-Package: emacs Original-Received: via spool by 35353-submit@debbugs.gnu.org id=B35353.155593851124893 (code B ref 35353); Mon, 22 Apr 2019 13:09:02 +0000 Original-Received: (at 35353) by debbugs.gnu.org; 22 Apr 2019 13:08:31 +0000 Original-Received: from localhost ([127.0.0.1]:50168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIYgQ-0006TQ-9Y for submit@debbugs.gnu.org; Mon, 22 Apr 2019 09:08:31 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:46364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIYgO-0006TC-GQ for 35353@debbugs.gnu.org; Mon, 22 Apr 2019 09:08:29 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x3MD4RkY102245; Mon, 22 Apr 2019 13:08:22 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=kUdfjRRoJgnR0rKgpymRHmWxOt0JGQhVhojwyDXUUso=; b=1zs7iOHczopWPcGJppyCFD5NWlEkXLcMudI9E/U3lm5mk7y7PlCeRILh7b+c9dvWe++x 1z/oCh7fIGCQdHLyaHigfEt7Yc82X7pLOskijqpqHSOTWWH+XfETdfCsos7Rq1qrWrlX wglg+9mvqAeqh84HMZK/TEN4AM9idHhIV7eI1E/HBffYfaVTA/PiB9hkb9/o4f9PK5mF ZCDjg5pRYrX0eqiw8NankyfpItBxo9mvzd6t86hL+ihcHB0pxxtcJ1mGwl4LRLPYrTFe UWX/3piPeHjFDDVZb75i+Ly+xW9IKKV9tClkFfHSmq/5KV+/DJXT0K9AFc1M4liV4i60 7A== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2rytusp55y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Apr 2019 13:08:22 +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 x3MD8LGU191280; Mon, 22 Apr 2019 13:08:21 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 2s0f0ux7a6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Apr 2019 13:08:21 +0000 Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x3MD8GQG024697; Mon, 22 Apr 2019 13:08:16 GMT In-Reply-To: <017d79f2-f98b-2e61-4abe-5ce9495008b3@orcon.net.nz> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4834.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9234 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=18 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904220100 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9234 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=18 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-1904220099 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:158031 Archived-At: > > The downside is that the "show location but don't switch windows" actio= n > > becomes harder to invoke: you have to mouse-1 click, wait at least 450m= s > > (by default), then release. >=20 > Perhaps there could be a new user option to choose which of the two > actions should be used by mouse-2 and mouse-1, and then users with > mouse-1-click-follows-link disabled could configure their preferred > action for mouse-2. >=20 > In any case, the NEWS will need to point out the change of behaviour, > so it could always suggest custom key bindings which users could employ > to get different behaviour, if that's simplest. What is the "show location but don't switch windows" action? Is it `xref--show-location' or some command that invokes that function? I don't see (in Emacs 26.2) any mouse action that shows the location but does not switch windows. I see only `C-o' (`xref-show-location-at-point'), whose name says it does that, but only for point, not for the mouse position. (And when I try `C-o' it too switches to another window, the same as `RET'.) In any case, how is Xref different from, say, Occur wrt mouse actions and the general interaction? What makes it so special that it should be problematic to fix this bug? (Node `Xref Commands' of the Emacs manual calls the mode "the special XREF mode". How is it "special"? Or is that supposed to mean only that it is a child of `special-mode'? If that's it then I think this language will only confuse users, most of whom are not aware of `special-mode', or at least not thinking of it here.)