From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francesco Potorti` Newsgroups: gmane.emacs.bugs Subject: bug#158: Etags completion problem for local tags table Date: Fri, 30 May 2008 09:34:23 +0200 Message-ID: References: Reply-To: Francesco Potorti` , 158@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1212133959 10662 80.91.229.12 (30 May 2008 07:52:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2008 07:52:39 +0000 (UTC) Cc: Emacs Bugs To: Stefan Monnier , 158@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 30 09:53:20 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K1zPx-0001us-7s for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 May 2008 09:52:53 +0200 Original-Received: from localhost ([127.0.0.1]:54272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1zPA-0003iN-RQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 May 2008 03:52:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1zP5-0003hX-4r for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 03:51:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1zP4-0003hD-JQ for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 03:51:58 -0400 Original-Received: from [199.232.76.173] (port=53309 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1zP4-0003hA-Du for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 03:51:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49943) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1zOt-0001qJ-4D; Fri, 30 May 2008 03:51:47 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4U7piIi010639; Fri, 30 May 2008 00:51:44 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4U7j55p008455; Fri, 30 May 2008 00:45:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Francesco Potorti` Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , Francesco Potorti Resent-Date: Fri, 30 May 2008 07:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 158 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by 158-submit@emacsbugs.donarmstrong.com id=B158.12121329297096 (code B ref 158); Fri, 30 May 2008 07:45:04 +0000 Original-Received: (at 158) by emacsbugs.donarmstrong.com; 30 May 2008 07:35:29 +0000 Original-Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4U7ZPCP007090 for <158@emacsbugs.donarmstrong.com>; Fri, 30 May 2008 00:35:26 -0700 Original-Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4-beta #31598) id <01MVE876LQPCAFY1EN@mx.isti.cnr.it> for 158@emacsbugs.donarmstrong.com; Fri, 30 May 2008 09:34:23 +0200 Original-Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4-beta #31599) with ESMTPSA id <01MVE876AQYCAJKWP9@mx.isti.cnr.it>; Fri, 30 May 2008 09:34:23 +0200 Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1K1z83-00006l-9z; Fri, 30 May 2008 09:34:23 +0200 In-reply-to: X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 30 May 2008 03:51:58 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18187 Archived-At: >> In (at least) emacs 22.1, completing reads for find-tag and list-tags >> will use the global tags table list even if a local tags file has >> been specified using a prefix argument for visit-tags-table. > >I believe this has already been fixed in the Emacs-23 CVS repository. >Could you check it? > >About the other problems you mentioned, I don't understand enough of >etags.el's handling of tags-table-list to know what is done on purpose, >what is a limitation, and what is a bug. Francesco? I am not sure what are "the other problems ... mentioned". Anyway, regarding the relationship between tags-file-name and tags-table-list, I always found it confusing. I see three documentation problems: First, the help for both variables says that if you set one, you should not set the other, which is not clear: should one set one or the other? Second, neither help mentions the visit-tags-table function, which I think should be the only way to set those variables interactively. Third, there is no single place where the relationships between the two variables are described.