Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

where is the .emacs file in Snow Leopard? I need it to configure Emacs.

share|improve this question
    
A more generic but similar question here: superuser.com/questions/73458/where-is-emacs-file –  Török Gábor Feb 17 '10 at 18:31
add comment

3 Answers 3

up vote 6 down vote accepted

emacs will not create the config file for you. If you wish to make configurations you can create the file manually and start your configuration. You should place it in your home directory.

You could also use M-x customize to use emacs's inbuilt customization tool. Any changes saved in customize will be saved in your .emacs file (a new one will be created if one does't already exist).

share|improve this answer
add comment

C-x C-f ~/.emacs will get you there.

share|improve this answer
add comment

It should be in your home directory (~/.emacs).

If it doesn't exist, you can create it.

To create the tilde (~), press Option+n followed by a space.

share|improve this answer
    
If it doesn't exist, just create it. –  Studer Feb 16 '10 at 15:17
    
Yep, if one isn't already there you can make one. –  John T Feb 16 '10 at 15:18
    
another problem. i have a mac keyboard and there is no ~ sign?? –  Zubair Feb 16 '10 at 15:38
    
You can use Alt+n to make a tilde or simply use cd to get to your home directory, then make the .emacs file. –  John T Feb 16 '10 at 15:43
    
alt + n produces ñ on a mac –  Zubair Feb 16 '10 at 16:21
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.