From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Keybinding for finding definition by mouse Date: Tue, 10 Jul 2018 19:16:54 +0300 Message-ID: <83zhyzf4ll.fsf@gnu.org> References: <76face16-e29e-e945-674f-79b8a2f2e498@gmail.com> <83h8l8gwte.fsf@gnu.org> <85166671-9551-cbe8-ee46-19f5996fbcd9@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1531239943 20219 195.159.176.226 (10 Jul 2018 16:25:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2018 16:25:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tobias Gerdin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 10 18:25:39 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fcvSF-0004xo-BD for ged-emacs-devel@m.gmane.org; Tue, 10 Jul 2018 18:25:31 +0200 Original-Received: from localhost ([::1]:48842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcvUL-0007MO-Oy for ged-emacs-devel@m.gmane.org; Tue, 10 Jul 2018 12:27:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcvJn-0000R1-Bj for emacs-devel@gnu.org; Tue, 10 Jul 2018 12:16:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcvJk-0002Mf-MN for emacs-devel@gnu.org; Tue, 10 Jul 2018 12:16:47 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcvJk-0002MY-I3; Tue, 10 Jul 2018 12:16:44 -0400 Original-Received: from [176.228.60.248] (port=1956 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fcvJj-0003Cr-VV; Tue, 10 Jul 2018 12:16:44 -0400 In-reply-to: <85166671-9551-cbe8-ee46-19f5996fbcd9@gmail.com> (message from Tobias Gerdin on Mon, 9 Jul 2018 22:40:33 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227216 Archived-At: > Cc: emacs-devel@gnu.org > From: Tobias Gerdin > Date: Mon, 9 Jul 2018 22:40:33 +0200 > > > I'm also not convinced many people will want such a binding, as most > > of us use the keyboard for these commands. > Could this not partly be because up until now Emacs didn't supply such > commands? (although as of the CEDET merge there is actually > 'semantic-ia-fast-mouse-jump' but since Emacs went in the xref direction > I suspect few make use of it). > > And whether it is in one's interest to use the keyboard or the mouse for > these kind of commands is still is an open question (among others, see > [1]). My observation from co-workers seems to indicate that using the > mouse for this kind of functionality is very common and I think having a > default binding would improve its discoverability (although I am aware > that this is hardly an area of focus in Emacs). > > So I think we should leave this unbound by default, at least for now, > > and rely on people who want this on a mouse click to make their local > > changes. > Unless any of the above makes you reconsider I will not argue against > this. I have submitted a pull request for similar kind of functionality > to CIDER ([2]) where we have decided to add a default binding along with > it so I was hoping to harmonize these with Emacs' xref (which CIDER > doesn't make use of at the moment), but CIDER being out-of-tree there is > obviously more leeway. Thanks. I'd prefer to let people use the new command with their private bindings, before we make a default binding for it. IME, these matters are best discussed with some experience behind us, and we don't yet have such an experience. Binding a command to a mouse gesture of one's liking is a simple matter, so I don't think we inconvenience too much users who'd like to use this new feature.