tags:

views:

328

answers:

5

Hey Emacs users.

I've started to use Emacs and I've been looking up ways to improve my .emacs file. Some of the stuff goes over my head.

But what I wanted to know is what is in your .emacs file that your couldn't go without.

+2  A: 

Answering your question tangentially, there is one thing that I try not to put in my .emacs; UI settings. The reason is that usually, these things can be done in your .Xresources file (or Windows registry), which saves quite a bit of time starting up emacs.

Want to disable the tool/menu bar? Set the default fonts? Use a colour theme? All things that can be set as X resources.

Michiel Buddingh'
This is a cool answer. I do have some UI settings in my .emacs and it is annoying how it visibly changed on start up.
Stephen
How often do you restart emacs?
jrockway
+2  A: 

I suggest Steve Yegge's .emacs file with his emacs article.

Serge
Steve Yegge is the reason I got into emacs :)
Stephen
+3  A: 
(setq visible-bell t)

Nothing irritates me more than that god forsaken beep.

Yuval A
+1  A: 

You can find my .emacs at github, all settings are split into separate files (for different programming languages, etc.), located in rc subdirectory

Alex Ott
+1  A: 

Steve Yegge's is my favourite.

And also check this link. http://www.dotemacs.de/

Joyer