unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Thorsten Jolitz'" <tjolitz@googlemail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: Invalid tags table
Date: Tue, 20 Nov 2012 13:39:35 -0800	[thread overview]
Message-ID: <670E6F0965D747489D695D304459BEB0@us.oracle.com> (raw)
In-Reply-To: <871ufoovbf.fsf@googlemail.com>

> 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.




  reply	other threads:[~2012-11-20 21:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20 20:47 Invalid tags table Thorsten Jolitz
2012-11-20 21:39 ` Drew Adams [this message]
2012-11-20 22:09   ` Thorsten Jolitz
2012-11-20 22:25     ` Drew Adams
2012-11-20 23:01       ` Thorsten Jolitz
2012-11-22 16:50     ` Stefan Monnier
2012-11-23 12:46       ` Thorsten Jolitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=670E6F0965D747489D695D304459BEB0@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tjolitz@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).