From: Rafal Kurcz <pawlaczus@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to use etags-select
Date: Sat, 15 Sep 2007 03:03:02 -0700 [thread overview]
Message-ID: <1189850582.840136.296170@r29g2000hsg.googlegroups.com> (raw)
In-Reply-To: <1189434792.450554@sj-nntpcache-3.cisco.com>
> > 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
next prev parent reply other threads:[~2007-09-15 10:03 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-21 9:57 How to use etags-select Rafal Kurcz
2007-07-23 13:23 ` Scott Frazer
2007-07-24 8:17 ` Rafal Kurcz
2007-07-24 16:55 ` Scott Frazer
2007-07-27 15:32 ` Rafal Kurcz
2007-07-27 18:35 ` Scott Frazer
2007-09-01 12:05 ` Rafal Kurcz
2007-09-04 13:31 ` Scott Frazer
2007-09-04 15:56 ` Scott Frazer
2007-09-04 16:16 ` Richard G Riley
2007-09-05 8:27 ` Rafal Kurcz
2007-09-08 16:41 ` Rafal Kurcz
2007-09-09 12:01 ` Rafal Kurcz
2007-09-10 14:33 ` Scott Frazer
2007-09-15 10:03 ` Rafal Kurcz [this message]
2007-09-18 13:08 ` Scott Frazer
2007-09-19 15:22 ` Rafal Kurcz
2007-09-25 15:41 ` Scott Frazer
2007-09-25 16:04 ` Gordon Beaton
2007-09-25 18:04 ` Scott Frazer
2007-09-25 23:36 ` Scott Frazer
2007-09-04 19:34 ` Vagn Johansen
2007-09-04 19:55 ` Drew Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1189850582.840136.296170@r29g2000hsg.googlegroups.com \
--to=pawlaczus@yahoo.com \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.