all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Tools for C Programming
Date: Sat, 07 Mar 2009 12:10:54 +0200	[thread overview]
Message-ID: <uiqmlmymp.fsf@gnu.org> (raw)
In-Reply-To: <20090307082532.GA5789@lars-x200s.ust.hk>

> Date: Sat, 7 Mar 2009 16:25:32 +0800
> From: "Chengqi(Lars) Song" <songcq@gmail.com>
> 
> 1. The folder structure is like:
>    abc-+-
>        |--MakeFile
>        |--src-+-
>               |--main.c
>    after I use C-x C-f to open main.c, how to 'make' when the MakeFile is in the parent folder?

"M-x compile RET cd .. && make RET"

> 2. How to display function list?

"M-x list-tags RET RET"
"M-x tags-apropos RET regexp RET"

But you need to create the TAGS file first, see the node "Create Tags
Table" in the Emacs manual.

> 3. How to auto-complete identifier names, struct memebers, and hints for function parameters?

I generally use M-/.  For the last feature, you will have to install
ECB, I think, which is not part of Emacs, and is quite heavy.  I
generally manage without that feature, and use the one below instead.

> 4. How to jump to definition?

"M-." (after creating TAGS, as explained above).




  reply	other threads:[~2009-03-07 10:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-07  8:25 Tools for C Programming Chengqi(Lars) Song
2009-03-07 10:10 ` Eli Zaretskii [this message]
     [not found] ` <mailman.2631.1236420655.31690.help-gnu-emacs@gnu.org>
2009-03-07 11:05   ` Pascal J. Bourguignon
2009-03-08 13:27     ` Nikolaj Schumacher
     [not found] <mailman.2621.1236414377.31690.help-gnu-emacs@gnu.org>
2009-03-07 11:03 ` Pascal J. Bourguignon
2009-03-07 13:02   ` Dirk-Jan C. Binnema
2009-03-07 19:30   ` Richard Riley
2009-03-08 14:06     ` Richard Riley

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=uiqmlmymp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.