문제

I use gnu emacs on Mac OS X, but I can't find the .emacs.

And I create ~\.emacs, but it doesn't work. How can I config my emacs?

도움이 되었습니까?

해결책

The recommended practice these days is to create a folder called .emacs.d, then put a file called init.el in there. Emacs will load this file on startup.

cd
mkdir .emacs.d
cd .emacs.d
touch init.el

This .emacs.d folder is where Emacs will place temporary files, packages, etc, that you would not want polluting your home folder.

If you're new to emacs and just want to get up-and-running, consider downloading one of the existing emacs configurations on github and tweaking that:

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top