我按照这篇文章的步骤,在注册表中添加以下内容,使得emacs可以在Windows资源管理器中使用:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open In Emacs]
[HKEY_CLASSES_ROOT\*\shell\Open In Emacs\Command]
@="\"C:\\Unix-Bin\\emacs-24.3\\bin\\emacsclientw.exe\" -a \"C:\\Unix-Bin\\emacs-24.3\\bin\\runemacs.exe\" \"%1\""
今天之前它一直工作得很好。但是今天我发现当使用“在Emacs中打开”菜单打开文件时,会弹出以下错误。稍后文件会被正确地用emacs打开。
不知道为什么会出现以下错误。
错误:
C:\Unix-Bin\emacs-24.3\bin\emacsclientw.exe: connect: No connection could be made because the target machine actively refuse it.