Emacs - Error when calling (server-start)

前端 未结 11 960
走了就别回头了
走了就别回头了 2020-11-30 18:04

I am currently using GNU Emacs 23.0.93.1 in Windows Vista SP1. In my .emacs file I make a call to (server-start) and that is causing an error with the message <

11条回答
  •  孤城傲影
    2020-11-30 18:56

    I found this solution on EmacsWiki:

    "The problem is the ownership of the directory ~/.emacs.d/server when you also have “Administrators” rights on your account. Create the directory ~/.emacs.d/server and set the owner of this directory to your login name and the problem is gone. As I have a “Dutch” version of Windows 7 I don’t know the English terms exactly but here’s the procedure:

    Click R-mouse on ~/.emacs.d/server and select “Properties” (last item in menu). From Properties select the Tab “Security” and then select the button “Advanced”. Then select the Tab “Owner” and change the owner from Administrators (\Administrators) into (\. Now the server code will accept this directory as secure because you are the owner.

    Hope this helps for all you guys, it solved the problem for me anyway.

    W.K.R. Reutefleut"

    It definitely works on Vista, with Emacs 23.2.1.

提交回复
热议问题