From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19468: 25.0.50; UI inconveniences with M-. Date: Fri, 01 May 2015 22:22:19 +0300 Message-ID: <83h9rwqf10.fsf@gnu.org> References: <83zja6b3tc.fsf@gnu.org> <54A24079.4020902@yandex.ru> <54A2FF47.6010207@yandex.ru> <54A86135.7080004@yandex.ru> <54A90002.7080009@gmx.at> <54A9C3FB.7000602@yandex.ru> <54AA3881.3080304@gmx.at> <54ABBB47.7010603@yandex.ru> <837fszx7iy.fsf@gnu.org> <83r3r5wqwv.fsf@gnu.org> <553EBBBF.6070509@yandex.ru> <838udcwbdc.fsf@gnu.org> <553FFC99.5080701@yandex.ru> <834mnzuedd.fsf@gnu.org> <554161A8.30202@yandex.ru> <83618du3q3.fsf@gnu.org> <5542E486.2010107@yandex.ru> <83k2wsssm8.fsf@gnu.org> <5543632C.6000306@yandex.ru> <834mnwsbfb.fsf@gnu.org> <554392E2.7080109@yandex.ru> <83oam4qh2u.fsf@gnu.org> <5543C97C.6050000@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1430508202 8192 80.91.229.3 (1 May 2015 19:23:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 May 2015 19:23:22 +0000 (UTC) Cc: 19468@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 01 21:23:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YoGWk-0004lS-7b for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 May 2015 21:23:10 +0200 Original-Received: from localhost ([::1]:55289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoGWj-00059G-ED for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 May 2015 15:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoGWg-00055x-0t for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 15:23:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoGWc-0008Ep-Pd for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 15:23:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoGWc-0008E3-Ne for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 15:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YoGWc-0006wV-8g for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 15:23:02 -0400 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 May 2015 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19468 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19468-submit@debbugs.gnu.org id=B19468.143050816526659 (code B ref 19468); Fri, 01 May 2015 19:23:02 +0000 Original-Received: (at 19468) by debbugs.gnu.org; 1 May 2015 19:22:45 +0000 Original-Received: from localhost ([127.0.0.1]:58945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoGWK-0006vu-Ng for submit@debbugs.gnu.org; Fri, 01 May 2015 15:22:45 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:40924) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoGWH-0006vf-PO for 19468@debbugs.gnu.org; Fri, 01 May 2015 15:22:43 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NNO00M00Q6XYH00@mtaout24.012.net.il> for 19468@debbugs.gnu.org; Fri, 01 May 2015 22:13:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNO00KA9QR0DZ40@mtaout24.012.net.il>; Fri, 01 May 2015 22:13:48 +0300 (IDT) In-reply-to: <5543C97C.6050000@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102344 Archived-At: > Cc: 19468@debbugs.gnu.org > From: Dmitry Gutov > Date: Fri, 1 May 2015 21:44:12 +0300 > > On 05/01/2015 09:38 PM, Eli Zaretskii wrote: > > > A language-agnostic UI could well ask the back-end for variables, or > > for functions, or for both, or whatever. > > Why would it ask about "functions". How would it know about functions, > or that we want a function right now? If it doesn't, it should ask the user. > > because etags' default is to produce a 140-long list > > of potential matches, which elisp-mode's xref default is to produce > > only one. In most of my use cases, neither is TRT. > > That is no longer true. You should build the current master. The example is still valid. How do you know another back-end won't do something similar? > > It's an annoyance to have to use more than one command for a single > > purpose. > > By default, I don't want to see the list at all, most of the time, just > jump to the only match. We won't have that if xref-find-definitions is lax. Note the "I" vs the "we". If _you_ want to see only one match most of the time, you should be able to customize the feature to do just that. Others could customize it differently, according to their use cases. It will still be the same command, though. Other IDEs ask the user explicitly to specify how wide she wants the search and how detailed the results. We could do that as well, although I think it's less Emacsy. But having just one level is never right in such cases.