I am using Linux Fedora 13 (Constantine) and emacs 23.1.1. I am trying to set up a .emacs file for initialization, by using emacs itself to edit and save a file .emacs in my home directory. However, although the file is there, emacs does not seem to recognize it. What might I be doing wrong, and is there a simple text for .emacs that will show me if it is being used, one that will display a message on emacs start up?
migrated from programmers.stackexchange.com Apr 9 '12 at 22:34
|
The init file is traditionally |
|||
|
|
|
You probably have an error in your .emacs file in your home directory. Try opening your .emacs file and then M-x eval-buffer RET to check if you see if you get any errors you might have missed. Emacs will run the .emacs file in any case. |
||||
|
|
|
If you put something illegal at the start of the .emacs file and emacs really is reading it, I would expect it to fail on startup. For example if I put a line containing
at the first line of my .emacs the program gives me the warning
and fails to load the remainder of the file. You could use
|
|||
|
|

