I associated the .erl extension to runemacs.exe When I double-click on a erl file, emacs doesn't open it. If I open a erl file from the file menu of emacs, emacs opens the file !
- a buffer is called as the erl file, the buffer is empty;
- a buffer is cal开发者_StackOverflow中文版led Program c:/, the buffer is empty
.emacs file is in C:/
What is my error, what is missing ?
First, I have a guess of what might be the problem. Do you have spaces in the file path? If so, runemacs.exe might treat the path as two different files and open them.
Secondly, I would recommend using "emacs server". By issuing M-x server-start RET
in Emacs, and associate .erl with "emacsclient", you could open files in a running Emacs rather than starting a new one.
精彩评论