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: [ELPA] New package: mctags Date: Fri, 13 Oct 2017 11:47:42 +0300 Message-ID: <83zi8vjuxd.fsf@gnu.org> References: <87h8v439ub.fsf@gmail.com> <837ew0mupm.fsf@gnu.org> <83mv4wl4yv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1507884525 26014 195.159.176.226 (13 Oct 2017 08:48:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Oct 2017 08:48:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: chen bin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 13 10:48:40 2017 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 1e2ve2-00065l-QG for ged-emacs-devel@m.gmane.org; Fri, 13 Oct 2017 10:48:38 +0200 Original-Received: from localhost ([::1]:49028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2veA-0002ZF-8g for ged-emacs-devel@m.gmane.org; Fri, 13 Oct 2017 04:48:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2vdM-0002WO-EB for emacs-devel@gnu.org; Fri, 13 Oct 2017 04:47:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2vdG-0002Hf-Nx for emacs-devel@gnu.org; Fri, 13 Oct 2017 04:47:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2vdG-0002HS-JY; Fri, 13 Oct 2017 04:47:50 -0400 Original-Received: from [176.228.60.248] (port=1267 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2vdG-0001sM-0n; Fri, 13 Oct 2017 04:47:50 -0400 In-reply-to: (message from chen bin on Fri, 13 Oct 2017 12:39:54 +1100) 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:219441 Archived-At: > From: chen bin > Date: Fri, 13 Oct 2017 12:39:54 +1100 > Cc: emacs-devel@gnu.org > > >> - If there are multiple matches, you can filter the candidates in candidate window. > > > > I think xref-find-definitions, when it uses the etags back-end, > > already supports that, doesn't it? > I've been using xref for some time. As I can see, it just gives your > the list of matches in a buffer. It can't filter further with pattern > or negative pattern or combination of patterns. The list is usually very short (most of the time, only one candidate), so the need for sophisticated filtering is quite low. > But it's totally fine if you use mctags only for code navigation and > leave TAGS creation to other solutions. > > Please note mctags RESPECTS the existing tags file created by other > solutions. mctags will NOT override existing TAGS created by other > programs (Makefile, for example) without user's confirmation. I understand. It just seemed to me that, if we ignore for the moment the features for creating/updating TAGS, what's left is very little, and its contribution to the existing functionality is minor. It doesn't seem to justify a new package. Maybe a better way forward is to extend etags.el with a few optional features. Anyway, these are just my opinions. I'd be interested to hear from others. Thanks.