From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: Invalid tags table Date: Tue, 20 Nov 2012 23:09:51 +0100 Message-ID: <87obisncy8.fsf@googlemail.com> References: <871ufoovbf.fsf@googlemail.com> <670E6F0965D747489D695D304459BEB0@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1353449395 20763 80.91.229.3 (20 Nov 2012 22:09:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2012 22:09:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 20 23:10:06 2012 Return-path: Envelope-to: geh-help-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 1Taw17-0003S7-9s for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 23:10:05 +0100 Original-Received: from localhost ([::1]:49209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Taw0w-00082S-RT for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 17:09:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Taw0r-00082N-8M for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 17:09:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Taw0q-0006Cr-5N for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 17:09:49 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:38951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Taw0p-0006Ck-VB for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 17:09:48 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Taw0y-0003Md-V0 for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 23:09:56 +0100 Original-Received: from e178190131.adsl.alicedsl.de ([85.178.190.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Nov 2012 23:09:56 +0100 Original-Received: from tjolitz by e178190131.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Nov 2012 23:09:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178190131.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:SR2bEMkuDv6NzAKtLRtIMjqLrRE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87826 Archived-At: "Drew Adams" writes: >> I have a tags table (etags format) that works before I load my init.el >> file. After I load it, M-. (find-tag) gives me an error-message: >> >> visit-tags-table-buffer: File /my/dir/TAGS is not a valid >> tags table. > 2. `M-x debug-on-entry visit-tags-table-buffer', then step through the > debugger looking for what goes wrong: what it expects to see in the > file vs what it thinks it really does see. I tried this first, since I have quite a lot of customisation files. That was a great tip, I wasn't even aware of this option, and it helped me to figure out quickly that (file-exists-p) returned 'nil' on my tags file, and the reason was actually trivial: a surprising uppercase L in a directory-name I overlooked, so I mispelled the path in customizable variable 'tags-table-list'. Now it works. Thanks a lot. -- cheers, Thorsten