[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use etags-select
From: |
Rafal Kurcz |
Subject: |
Re: How to use etags-select |
Date: |
Sat, 15 Sep 2007 03:03:02 -0700 |
User-agent: |
G2/1.0 |
> > 1. Place the cursor on "__free_pages_ok" function declaration (mm/
> > page_alloc.c:62) and invoke
> > etags-select-find-tag-at-point. It will lead You to the same tag while
> > it should lead You to the definition (mm/page_alloc.c:501)
>
> An assumption is made that any taggable items are in fact tagged, otherwise
> it becomes complicated trying to sort the two out. In this case the function
> prototype (declaration) wasn't tagged, and since it looks exactly like the
> function definition etags-select stops at the first matching line. If you
> invoke etags like:
>
> etags --declarations *.c
>
> it works. I can't remember off the top of my head what the equivalent in
> exuberant ctags is.
Yes you are right. In exuberant-ctags this option is:
exuberant-ctags --c-kinds=+p
>
> > 2. Place the cursor on "page_map_count(page)" function invocation (mm/
> > page_alloc.c:433) and invoke etags-select-find-tag-at-point.
> > It will display among others the "reset_page_mapcount" as a candidate
> > to jump. I think that it is not a good candidate.
> > For me it looks rather like TAGS problem since C-u M-. leads You to
> > that symbol as well.
>
> Although you say in a later message that this is OK, I'm not sure it is.
> I think it might be confusing two function names with the same suffix.
> It should be an easy enough fix ... I need to create a test case and sort
> things out.
Sorry for no beeing accurate.
It works in exuberant-ctags but does not work in etags.
Thank You for help
- Re: How to use etags-select, Rafal Kurcz, 2007/09/01
- Re: How to use etags-select, Scott Frazer, 2007/09/04
- Re: How to use etags-select, Scott Frazer, 2007/09/04
- Re: How to use etags-select, Richard G Riley, 2007/09/04
- Re: How to use etags-select, Rafal Kurcz, 2007/09/05
- Re: How to use etags-select, Rafal Kurcz, 2007/09/08
- Re: How to use etags-select, Rafal Kurcz, 2007/09/09
- Re: How to use etags-select, Scott Frazer, 2007/09/10
- Re: How to use etags-select,
Rafal Kurcz <=
- Re: How to use etags-select, Scott Frazer, 2007/09/18
- Re: How to use etags-select, Rafal Kurcz, 2007/09/19
- Re: How to use etags-select, Scott Frazer, 2007/09/25
- Re: How to use etags-select, Gordon Beaton, 2007/09/25
- Re: How to use etags-select, Scott Frazer, 2007/09/25
- Re: How to use etags-select, Scott Frazer, 2007/09/25
Re: How to use etags-select, Vagn Johansen, 2007/09/04