[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26928: 25.1; The xref-find-definitions cannot recognize the `tags' f
From: |
Eli Zaretskii |
Subject: |
bug#26928: 25.1; The xref-find-definitions cannot recognize the `tags' file generated by ctags |
Date: |
Sun, 14 May 2017 21:15:08 +0300 |
> From: palagend <palagend@163.com>
> Date: Sun, 14 May 2017 22:12:23 +0800
>
> I use `ctags -R' command in the working directory `/usr/include',
> generating a file named `tags' in the directory.And then I open one file in
> `/usr/include' and then key in `M-x xref-find-definitions',the emacs
> says that the tags file is not valid.
You need to use 'etags', not 'ctags'. It will create a file named
'TAGS', in upper-case. Try "M-x xref-find-definitions" after telling
Emacs to read it with "M-x visit-tags-table".
If 'etags' produces a TAGS file that xref-find-definitions says is
invalid, please send the TAGS file as an attachment, so we could
investigate.
Thanks.