From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: xref-find-matches and stuff Date: Sat, 09 May 2015 11:05:31 +0300 Message-ID: <83a8xep450.fsf@gnu.org> References: <5546DD4A.2080709@yandex.ru> <87r3qvnld1.fsf@gmail.com> <5548E08A.4090305@yandex.ru> <87mw1jndul.fsf@gmail.com> <554964CE.3040809@yandex.ru> <87oalxn756.fsf@gmail.com> <554AAD41.6060506@yandex.ru> <87vbg4lgn6.fsf@gmail.com> <554CB069.8090002@yandex.ru> <87sib7j9yf.fsf@gmail.com> <554CE8B2.7080408@yandex.ru> <87fv76kj0s.fsf@gmail.com> <554D11AB.6040609@yandex.ru> <87bnhuka8x.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1431158737 14456 80.91.229.3 (9 May 2015 08:05:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 May 2015 08:05:37 +0000 (UTC) Cc: emacs-devel@gnu.org, eller.helmut@gmail.com, dgutov@yandex.ru To: Vitalie Spinu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 09 10:05:28 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YqzlI-00027v-5g for ged-emacs-devel@m.gmane.org; Sat, 09 May 2015 10:05:28 +0200 Original-Received: from localhost ([::1]:58623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqzlH-0007Vr-C6 for ged-emacs-devel@m.gmane.org; Sat, 09 May 2015 04:05:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqzlD-0007Va-Th for emacs-devel@gnu.org; Sat, 09 May 2015 04:05:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yqzl8-0001pJ-Eb for emacs-devel@gnu.org; Sat, 09 May 2015 04:05:23 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:61048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yqzl8-0001nR-6L for emacs-devel@gnu.org; Sat, 09 May 2015 04:05:18 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NO200L00P22MQ00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sat, 09 May 2015 11:05:16 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NO200L0CP4SFLB0@a-mtaout21.012.net.il>; Sat, 09 May 2015 11:05:16 +0300 (IDT) In-reply-to: <87bnhuka8x.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186352 Archived-At: > From: Vitalie Spinu > Date: Fri, 08 May 2015 23:52:30 +0200 > Cc: Helmut Eller , emacs-devel > > >>> Dmitry Gutov on Fri, 8 May 2015 22:42:35 +0300 wrote: > > > > And my point is, the backends should be made well enough that you > > generally won't want to use a symbol from the 2nd backend that isn't > > in the first one. Ideally because there will be no such symbols. > > I am afraid this is an impossible task. Can you tell why? > Anyways, I am summarizing my point in a final attempt to "make a case";) > > - IMENU operates on what I work, is always up-to date, works with > non-programming modes (org, latex etc), non-visiting buffers > (*scratch*) and any project-less file/language what I might open for > whatever cursory reason. Stuff works out of the box - no tagging, no > REPL is required. > > - REPLs are good, but work only on loaded files. Usually these cannot > work with multiple projects or multi-language projects. Cross > references support is lacking for many REPLs. > > - TAGs can support multiple projects but cannot do what Imenu can and > will never be as smart as REPLs can be. No support for less common > languages. Limited UI in emacs is a hindrance for common users (I > cannot comment about ggtags though). To me, this means we need to have a single back-end for each situation, and ideally also a mechanism to choose that single back-end automatically. I see no reasons to conclude that we need more than one in each use case.