开发者

emacs, erlang and file association

开发者 https://www.devze.com 2023-02-16 05:31 出处:网络
I associated the .erl extension to runemacs.exe When I double-click on a erl file, emacs doesn\'t open it.

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 !

.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.

0

精彩评论

暂无评论...
验证码 换一张
取 消