kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: navych@126.com (Navy Cheng)
To: kernelnewbies@lists.kernelnewbies.org
Subject: how can I find where is the macro or function deifined
Date: Wed, 29 Jul 2015 10:54:46 +0800	[thread overview]
Message-ID: <20150729025446.GA7013@debian> (raw)
In-Reply-To: <49097.1438129504@turing-police.cc.vt.edu>

On Tue, Jul 28, 2015 at 08:25:04PM -0400, Valdis.Kletnieks at vt.edu wrote:
> On Tue, 28 Jul 2015 23:54:36 -0000, Gnoleba GNOGBO said:
> > Can you give a procedure step by step  please to answer please ?
> 
> http://www.lmgtfy.com/?q=ctags+vim+tutorial
> http://www.lmgtfy.com/?q=ctags+emacs+tutorial

Hi, Valdis
Thanks for your answer but I can't  open these links. 


For example, you have a kernel tree, ~/linux-4.1, in your pc. 

steps:

+ cd ~/linux-4.1
+ make tags  => Now,TAGS is created
+ Both emacs and vim can use TAGS. I don't konw if other editers can do such
  things
  + for emacs: 
    + *M-x visit-tags-table* and load TAGS
    + M-. =>find tag
    + C-u M-. =>go to the next matched tag
    + M-*  => return to last tag
  + for vim:
    + Just open vim in ~/linux-4.1
    + open the source files and put the cursor on the tags you are interested
    + ctrl + ] => goto the tag
    + ctrl + t => return to your last tag
    
tips:

Hi,gnognoleba
I think these answers is easy to find on the internet, and learning from the
internet is a important skill. Finding on net is faster for you. It's better to
google it first. If there is not answers you want, come to here and every one 
is pleasure to help you.
Hi 

  reply	other threads:[~2015-07-29  2:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28 16:03 how can I find where is the macro or function deifined Ahmed Soliman
2015-07-28 16:37 ` Manavendra Nath Manav
2015-07-28 17:41 ` Navy Cheng
2015-07-28 23:54   ` Gnoleba GNOGBO
2015-07-29  0:25     ` Valdis.Kletnieks at vt.edu
2015-07-29  2:54       ` Navy Cheng [this message]
2015-07-29  1:14 ` Iuro Nascimento

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=20150729025446.GA7013@debian \
    --to=navych@126.com \
    --cc=kernelnewbies@lists.kernelnewbies.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).