Click to See Complete Forum and Search --> : emacs as a c++ ide


wolfman8k
02-03-2002, 03:52 PM
I've started using emacs. It's the first serious editor I've decided to learn(except notepad of course).

Can anyone explain how to set it up to be used as an ide for c++?
Here are some specific things I need help:

1. Now when I want to make the project I have to M-x and then type "compile" then press <enter> and answer y to all the questions if I want to save all the files. This is kinda anoying. I'd like it where I can push f9 or sometin, and it'll save all files and execute make, and if make is succesful then run the fresh executable.

2. I can't seem to figure out how to turn on color coding

3. I can't figure out how to change the indentation style. Now it has it where indentations are 2 spaces. I prefer to have each indentation a tab, and a tab should be 4 characters wide

4. When I compile from inside emacs it opens the compiler output in another window. This new window is too big. I can't figure out how to shrink it to about 10 lines.

5. A general question about emacs: I'm using the X version, how can I make the font smaller so I can have more rows/columns?

thanks for any help

wolfman8k
02-03-2002, 04:06 PM
one more personal request: please don't mention vi ;)

Strogian
02-03-2002, 04:11 PM
Originally posted by wolfman8k:
<STRONG>one more personal request: please don't mention vi ;)</STRONG>

Hehehe... Darnit! :D

Strike
02-04-2002, 12:31 AM
how about vim?

wolfman8k
02-04-2002, 02:21 AM
Originally posted by Strike:
<STRONG>how about vim?</STRONG>

:mad:

scanez
02-04-2002, 02:23 AM
Originally posted by wolfman8k:
<STRONG> :mad:</STRONG>
What? You never said not to mention vim, you said not to mention vi, and Strike didn't :)

/me notes that vim can do everything you mentioned quite well

wolfman8k
02-04-2002, 08:38 AM
Arent there any emacs wizards out here?

mdwatts
02-04-2002, 09:27 AM
Certainly not me as I never use emacs.

My distro does come with html documentation on emacs in /usr/share/doc/HOWTO/en-html/Emacs-Beginner

Yours may be slightly different.