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: Tue, 28 Apr 2015 17:57:06 +0300 Message-ID: <83618gwbb1.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> <83pp6pwqnw.fsf@gnu.org> <553EB74A.4030208@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1430233109 22740 80.91.229.3 (28 Apr 2015 14:58:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2015 14:58:29 +0000 (UTC) Cc: dgutov@yandex.ru, 19468@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 28 16:58:19 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 1Yn6xf-0005Fa-Hk for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Apr 2015 16:58:11 +0200 Original-Received: from localhost ([::1]:33955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn6xf-0006CT-4R for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Apr 2015 10:58:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn6xc-0006BP-5e for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2015 10:58:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yn6xX-0008O8-5U for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2015 10:58:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn6xX-0008Ny-2U for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2015 10:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yn6xW-0002yX-JN for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2015 10:58: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: Tue, 28 Apr 2015 14:58: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.143023305811401 (code B ref 19468); Tue, 28 Apr 2015 14:58:02 +0000 Original-Received: (at 19468) by debbugs.gnu.org; 28 Apr 2015 14:57:38 +0000 Original-Received: from localhost ([127.0.0.1]:42882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn6x7-0002xo-85 for submit@debbugs.gnu.org; Tue, 28 Apr 2015 10:57:37 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:36923) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn6x5-0002xa-2C for 19468@debbugs.gnu.org; Tue, 28 Apr 2015 10:57:35 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NNI00300UNWGQ00@a-mtaout22.012.net.il> for 19468@debbugs.gnu.org; Tue, 28 Apr 2015 17:57:13 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNI00302UVCEF40@a-mtaout22.012.net.il>; Tue, 28 Apr 2015 17:57:12 +0300 (IDT) In-reply-to: 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:102168 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , 19468@debbugs.gnu.org > Date: Mon, 27 Apr 2015 18:54:05 -0400 > > > - If I do have a tags table loaded, it's likely for a different project than > > Emacs. This is most likely true for the majority of our users. > > I really think the etags backend should only return data when the TAGS > file is in one of the parents of the current directory. That goes back to the "working on several projects" discussion of yore. Specifically, you might be working on two related packages (e.g., one calls the other) that live in two different directories. > And it should also be able to keep several independent TAGS tables > opened for different projects in different directory trees. It already does that. > > I think Eli (and everyone like-minded) should advise elisp-xref-find and > > xref-identifier-completion-table-function instead, inside their init script, > > like suggested by Daniel in another thread. > > It seems a common enough request that we should accommodate > them better. At the very least provide a minor mode which sets up > such advice. User options if possible, minor modes if not, yes.