[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x list-tags gets [No match]
From: |
Liang Wang |
Subject: |
Re: M-x list-tags gets [No match] |
Date: |
Thu, 29 Sep 2011 21:12:38 +0800 |
On Tue, Sep 27, 2011 at 10:27 PM, Liang Wang <address@hidden> wrote:
> Hi,
>
> When I run M-x list-tags TAB, I get [No match].
>
> Here is the way I create TAGS file for Emacs source tree.
>
> $ cd src
> $ etags -o TAGS.sub *.[hc]
> $ cd ../lisp
> $ etags -o TAGS.sub *.el
> $ cd ..
> $ etags -i src/TAGS.sub -i lisp/TAGS.sub
>
I understand now. list-tags only gets completion on file names
directed listed in TAGS file.
Included TAGS files are ignored. In my master TAGS file, there are
only includes. So I get
nothing on completion.
> If I create TAGS file in the following way, M-x list-tags TAB works fine.
>
> $ etags src/*.[hc] lisp/*.el
>
> Is the first way I create TAGS file wrong?
So etags --include has different behavior than --include is not used,
at least for list-tags command.
For me, the latter gives better experiences.
>
> Thanks,
> Liang.
>