all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: n179911 <n179911@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to use etags in emacs
Date: Thu, 09 Jul 2009 14:14:45 +0300	[thread overview]
Message-ID: <87prcaumze.fsf@kobe.laptop> (raw)
In-Reply-To: <3b9893450907082130n4902d62ew2c91c105f7ef78fb@mail.gmail.com> (n179911@gmail.com's message of "Wed, 8 Jul 2009 21:30:41 -0700")

On Wed, 8 Jul 2009 21:30:41 -0700, n179911 <n179911@gmail.com> wrote:
>On Wed, Jul 8, 2009 at 6:01 PM,
>Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
>>> But can you please tell me how can i
>>> * find the occurrence of the place calling a certain function
>>> * after i click 'M . find tag', it loads the .h file of that class.
>>> How can i load the .cpp of that class?
>>
>> Repeated `C-u M-.' commands will cycle through all the places marked
>> with the particular tag.
>
> Thanks. Is there anyway to list all the places which marked with the
> tag.  And when you said 'marked with the particular tag'. does it
> include the place where it called that function and the place where
> that function is declared and implemented?

There is `M-x tags-search RET regexp RET'.  This searches for tags
matching `regexp' and it can iterate through more than one tag table.
Once a single match is found you can find the next one with `M-,' and
repeat until you have finished going through all the matches, or you
have found what you were looking for.

The temporary buffers that have no matches are closed as tags-search
goes through the motions, so you are finally let with a buffer list
like (a sample from my iswitchb buffer list):

: MR Name                    Size Mode             Filename/Process
: -- ----                    ---- ----             ----------------
:[ Default ]
:    setup.c                18454 C/l              /work/foo/src/setup.c
:    net.c                  18077 C/l              /work/foo/src/net.c
:  % foo                     2947 Dired by name    /work/foo/
: *  *Messages*              5070 Fundamental

The buffers under `/work/foo' are those that had at least one match.





  reply	other threads:[~2009-07-09 11:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2100.1247081770.2239.help-gnu-emacs@gnu.org>
2009-07-09  1:01 ` How to use etags in emacs Giorgos Keramidas
2009-07-09  4:30   ` n179911
2009-07-09 11:14     ` Giorgos Keramidas [this message]
2009-07-09 15:51       ` Drew Adams
2009-07-09 18:10     ` Eli Zaretskii
2009-07-08 19:36 n179911
2009-07-08 22:37 ` n179911
2009-07-08 22:43   ` Drew Adams
2009-07-08 23:20     ` n179911
2009-07-09 15:51       ` Drew Adams
2009-07-09 16:21         ` n179911
2009-07-09 17:00           ` Drew Adams
2009-07-09  3:15 ` Eli Zaretskii

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=87prcaumze.fsf@kobe.laptop \
    --to=keramida@ceid.upatras.gr \
    --cc=help-gnu-emacs@gnu.org \
    --cc=n179911@gmail.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.
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.