Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs on Windows: .emacs is no valid file name

I've found out where to put my .emacs file, but it seems it can't begin with a ".".

I tried naming it "emacs" or "_emacs", but how can I find out if it is used?

like image 468
user5262 Avatar asked Jan 22 '26 07:01

user5262


2 Answers

You can always create the file using Emacs itself: C-x C-f ~/.emacs. The ~ represents your home directory, which you can set as environment variable HOME.

like image 81
Drew Avatar answered Jan 27 '26 00:01

Drew


Have a look at this page and this one for start up instructions.

like image 44
Morten Kristensen Avatar answered Jan 27 '26 01:01

Morten Kristensen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!