Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Copy and pasted from the Emacs FAQ, <a href="http://www.gnu.org/software/emacs/windows/" rel="noreferrer">http://www.gnu.org/software/emacs/windows/</a>:</p> <h3><a href="http://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Location-of-init-file.html#Location-of-init-file" rel="noreferrer">Where do I put my init file?</a></h3> <p>On Windows, the <code>.emacs</code> file may be called <code>_emacs</code> for backward compatibility with DOS and FAT filesystems where filenames could not start with a dot. Some users prefer to continue using such a name, because Windows&nbsp;Explorer cannot create a file with a name starting with a dot, even though the filesystem and most other programs can handle it. In Emacs&nbsp;22 and later, the init file may also be called <code>.emacs.d/init.el</code>. Many of the other files that are created by Lisp packages are now stored in the <code>.emacs.d</code> directory too, so this keeps all your Emacs related files in one place.</p> <p>All the files mentioned above should go in your HOME directory. The HOME directory is determined by following the steps below:</p> <ol> <li>If the environment variable HOME is set, use the directory it indicates.</li> <li>If the registry entry HKCU\SOFTWARE\GNU\Emacs\HOME is set, use the directory it indicates.</li> <li>If the registry entry HKLM\SOFTWARE\GNU\Emacs\HOME is set, use the directory it indicates. Not recommended, as it results in users sharing the same HOME directory.</li> <li>If <code>C:\.emacs</code> exists, then use <code>C:/</code>. This is for backward compatibility, as previous versions defaulted to <code>C:/</code> if HOME was not set.</li> <li>Use the user's AppData directory, usually a directory called Application Data under the user's profile directory, the location of which varies according to Windows version and whether the computer is part of a domain.</li> </ol> <p>Within Emacs, <code>~</code> at the beginning of a file name is expanded to your HOME directory, so you can always find your .emacs file with <code>C-x C-f ~/.emacs</code>.</p> <p>There's further information at <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Windows-HOME.html#Windows-HOME" rel="noreferrer">HOME and Startup Directories on MS-Windows</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload