4

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

1

3 Answers 3

7

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

5

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

1

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.

9
  • 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.
    – user1931
    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.
    – user1931
    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 .