all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jorgen Grahn <grahn+nntp@snipabacken.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs as a C Programming IDE Configuration?
Date: 27 Apr 2011 09:11:22 GMT	[thread overview]
Message-ID: <slrnirfndo.gtj.grahn+nntp@frailea.sa.invalid> (raw)
In-Reply-To: 430fcda1-6ad7-4078-baf8-58608a30c302@glegroupsg2000goo.googlegroups.com

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.

/Jorgen

-- 
  // Jorgen Grahn <grahn@  Oo  o.   .  .
\X/     snipabacken.se>   O  o   .


  reply	other threads:[~2011-04-27  9:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27  6:47 Emacs as a C Programming IDE Configuration? haziz
2011-04-27  9:11 ` Jorgen Grahn [this message]
2011-04-27 16:04   ` despen
2011-04-28  6:26     ` Jorgen Grahn
2011-05-09  1:38     ` David Combs
2011-05-09  1:42       ` Pascal J. Bourguignon
2011-05-09 16:30         ` Ted Zlatanov
2011-05-09 16:52           ` Pascal J. Bourguignon
2011-05-21 23:27           ` David Combs
2011-05-22  0:17             ` Pascal J. Bourguignon
2011-05-22 18:47             ` Stefan Monnier
2011-05-22 19:35               ` Jorgen Grahn
2011-05-23 14:50             ` Ted Zlatanov
2011-05-09  3:33       ` despen
2011-05-09 12:53         ` Jorgen Grahn
2011-05-26 14:56     ` Richard Riley
2011-05-26 14:54   ` Richard Riley
2011-04-27 18:26 ` Colin S. Miller
2011-04-30  0:07   ` haziz
2011-04-29 12:21 ` hjuvi
2011-05-02  3:24   ` rusi
2011-05-02  8:44     ` hjuvi
2011-05-02  9:29       ` Re : " hjuvi
2011-05-26 13:50 ` 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=slrnirfndo.gtj.grahn+nntp@frailea.sa.invalid \
    --to=grahn+nntp@snipabacken.se \
    --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.