After some researches, here is what I understood :
As Varro said in the commnent, .emacs
file will not be created by default, since it will only contain cuztomizations you want. So you have to create it yourself. By the way, apparently it is a good practice to call it init.el
. To find where to create it, type env
in the terminal and look for the HOME
variable. This value will show you the path considered as the home directory, where emacs created .emacs.d/
folder. You must create init.el
file in this folder, and emacs will load it automatically.
This is not related to the question but it might help you :
I needed this file in order to change the cursor on emacs. At first, I thought that emacs was not loading the file correctly, because the cursor was not changing. I made some tests, and I was able to change background color, so it was not the problem. But, in fact, you can NOT change the cursor, since it is defined by the terminal itself, not emacs.