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


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).

| improve this answer | |

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

| 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.

| 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?? – appshare.co 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 – appshare.co Feb 16 '10 at 16:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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