Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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: – Török Gábor Feb 17 '10 at 18:31
up vote 7 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

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

share|improve this answer

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .