From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: despen@verizon.net Newsgroups: gmane.emacs.help Subject: Re: Emacs as a C Programming IDE Configuration? Date: Wed, 27 Apr 2011 12:04:04 -0400 Organization: A noiseless patient Spider Message-ID: References: <430fcda1-6ad7-4078-baf8-58608a30c302@glegroupsg2000goo.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1306268071 14287 80.91.229.12 (24 May 2011 20:14:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:14:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:14:27 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOxzl-0001UV-7D for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:14:25 +0200 Original-Received: from localhost ([::1]:60568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOxzk-0003j7-Jp for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:14:24 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Injection-Info: mx02.eternal-september.org; posting-host="jHG/q4CDuHQ12inYDCpZIQ"; logging-data="24802"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Gzn9tM8FxrvAsHJYAYRXopM74+8AAvVE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:ojY1fIngH4dwev/p4JiKTwquY6E= sha1:xQ77CbCmaCYJu3YNGVLU0vjbkhM= Original-Xref: usenet.stanford.edu gnu.emacs.help:186731 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81085 Archived-At: Jorgen Grahn writes: > On Wed, 2011-04-27, haziz wrote: > >> I use emacs as my main IDE for programming in C. I am exploring ways >> of configuring emacs to function more as an IDE rather than as a >> simple text editor. > > Emacs *isn't* a simple text editor. But it works differently from > whatever IDE you are used to. > >> Of course I want syntax highlighting > > (global-font-lock-mode 1) > if it isn't already enabled by default. > >> and preferably some code completion. > > M-x dabbrev-expand > or > M-/ > > Not quite code completion, but more general and IMO more useful. > >> I also want separate buffers to allow shell commands and to M-x >> compile. > > These exist already. M-x compile opens a buffer if needed; before that > you don't need it. > >> I want it to open into this >> multi-buffer form automatically when visiting a C source file, rather >> than having to launch each buffer separately. > > I get the feeling you have other requirements which I haven't > understood yet. Doing one 'M-x shell' doesn't seem to me like > something that has to be automated. More important, a true emacs user has little need for a shell. The Makefile should launch any tests needed.