From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Tools for C Programming Date: Sat, 07 Mar 2009 12:10:54 +0200 Message-ID: References: <20090307082532.GA5789@lars-x200s.ust.hk> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1236420768 1012 80.91.229.12 (7 Mar 2009 10:12:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Mar 2009 10:12:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 07 11:14:05 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LftXe-0006I0-1i for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 11:14:02 +0100 Original-Received: from localhost ([127.0.0.1]:44732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LftWI-00010W-Dl for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 05:12:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LftUc-0000Yt-BY for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 05:10:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LftUb-0000Y3-0S for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 05:10:53 -0500 Original-Received: from [199.232.76.173] (port=43145 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LftUa-0000Xm-IS for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 05:10:52 -0500 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:27579) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LftUa-0008Hy-64 for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 05:10:52 -0500 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KG400H00Q4NE500@i-mtaout6.012.net.il> for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 12:11:32 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.192.247]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KG400H9XSB8QQB0@i-mtaout6.012.net.il> for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 12:11:32 +0200 (IST) In-reply-to: <20090307082532.GA5789@lars-x200s.ust.hk> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62729 Archived-At: > Date: Sat, 7 Mar 2009 16:25:32 +0800 > From: "Chengqi(Lars) Song" > > 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).