From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Invalid tags table Date: Tue, 20 Nov 2012 13:39:35 -0800 Message-ID: <670E6F0965D747489D695D304459BEB0@us.oracle.com> References: <871ufoovbf.fsf@googlemail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353447590 4457 80.91.229.3 (20 Nov 2012 21:39:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2012 21:39:50 +0000 (UTC) To: "'Thorsten Jolitz'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 20 22:40:02 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 1TavY1-0003ZY-Or for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 22:40:01 +0100 Original-Received: from localhost ([::1]:40906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TavXr-0001gG-8g for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 16:39:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TavXl-0001g3-N6 for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 16:39:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TavXk-0005kQ-LA for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 16:39:45 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:18885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TavXk-0005kJ-Em for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 16:39:44 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qAKLdgJp022907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 Nov 2012 21:39:43 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qAKLdfrG008926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Nov 2012 21:39:42 GMT Original-Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id qAKLdf7s029089; Tue, 20 Nov 2012 15:39:41 -0600 Original-Received: from dradamslap1 (/10.159.225.221) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 20 Nov 2012 13:39:40 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <871ufoovbf.fsf@googlemail.com> Thread-Index: Ac3HYFFlGDrBV92BQcWFjOjjbXJZswABqH7A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:87825 Archived-At: > 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. > > Now I looked through my customisation files and did not find anything > suspicious. Can somebody give me hint what could be the possible cause > of this problem? The file must be valid, since it does work. Which > settings could be responsable for the error-message then? Here are two approaches. Since you mention your init file, I recommend starting with the first one. 1. Recursively bisect your init file (half, quarter, eighth...) until you find exactly which code leads to the problem. 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. At this point, you don't know whether the file is bad or not. But you do say that in some senses the file works, and you do implicate your init file. So I'd say start with #1. HTH. Hopefully someone else will be able to give you a more targeted solution.