Search
The Caboteria
/
Tech Web
/
EmacsTips
(revision 3) (raw view)
_(back to ProgrammingTips)_ Emacs is more than an editor - it's a lifestyle. I spent years using vi but have fairly recently started to make the investment to join the cult. I prefer emacs to IDE's because I feel that the investment in time that I spend learning it will be more likely to pay off because emacs has been around for a long time and will continue to be around for a long time. Also, more of the smartest people I've worked with have used emacs than all other development environments combined. *C style* - p.322 =M-x c-set-style= <code>GNU|K&R|BSD|Stroustrup|Whitesmith|Ellemtel</code> Vovida code appears to use =Stroustrup=. *Tabs* - to replace tabs with spaces mark a region then =M-x untabify=. *Ant* - to use ant instead of make to compile programs inside emacs, you'll want to run ant with the =-emacs= flag which makes the output more plain but allows emacs to find error messages. The easy way to do this is to add =(custom-set-variables '(compile-command "ant -emacs"))= to your .emacs file. *Compiling* - =M-x compile=, then =C-x `= (i.e. back-tick) to go to the next error. *Java* - a good integrated development environment for Java is JDEE at http://jdee.sunsite.dk/. It's not that easy to install (it has lots of dependencies). -- Main.TobyCabot - 24 Dec 2001 <br>
Edit
|
Attach
|
P
rint version
|
H
istory
:
r20
|
r5
<
r4
<
r3
<
r2
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria?
Send feedback