where is the .emacs files in Snow Leopard?

7,821

Solution 1

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

Solution 2

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

Solution 3

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:
7,821

Related videos on Youtube

yazz.com
Author by

yazz.com

CEO, Solidity and Web3 developer at https://yazz.com

Updated on September 17, 2022

Comments

  • yazz.com
    yazz.com over 1 year

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

  • Studer
    Studer about 14 years
    If it doesn't exist, just create it.
  • John T
    John T about 14 years
    Yep, if one isn't already there you can make one.
  • yazz.com
    yazz.com about 14 years
    another problem. i have a mac keyboard and there is no ~ sign??
  • John T
    John T about 14 years
    You can use Alt+n to make a tilde or simply use cd to get to your home directory, then make the .emacs file.
  • yazz.com
    yazz.com about 14 years
    alt + n produces ñ on a mac
  • yazz.com
    yazz.com about 14 years
    and find / -type -f -name ".emacs" doesnt work on a mac
  • yazz.com
    yazz.com about 14 years
    This Option+n and another n doesn't work on my Snow Leapard. Which version of OS X are you using?
  • John T
    John T about 14 years
    option+n then space. I'm not using OSX.