开发者

emacs, erlang and file association

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜