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


3 Answers 3


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


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


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.

  • If it doesn't exist, just create it.
    – Studer
    Feb 16, 2010 at 15:17
  • Yep, if one isn't already there you can make one.
    – John T
    Feb 16, 2010 at 15:18
  • another problem. i have a mac keyboard and there is no ~ sign??
    – yazz.com
    Feb 16, 2010 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, 2010 at 15:43
  • alt + n produces ñ on a mac
    – yazz.com
    Feb 16, 2010 at 16:21

You must log in to answer this question.

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