如图,在win10 中安装了 git ,在 spacemacs 中使用 git layer。
commit 时可以看到
Running C:/Program Files/Git/mingw64/libexec/git-core/git.exe commit --
的提示,但是没有任何执行结果。
我看论坛里有人说在windows中magit运行得很慢,但我这等了很久也没有执行结果,好像是根本就没有执行成功。
如图,在win10 中安装了 git ,在 spacemacs 中使用 git layer。
commit 时可以看到
Running C:/Program Files/Git/mingw64/libexec/git-core/git.exe commit --
的提示,但是没有任何执行结果。
我看论坛里有人说在windows中magit运行得很慢,但我这等了很久也没有执行结果,好像是根本就没有执行成功。
git 安装到没有空格的地方看看。
试了还是不行:
run git.exe … "commit" "--"
error: There was a problem with the editor '"c:/EMACS-xzy/emacs-26.3-x86_64/bin/emacsclient.exe"'.
Please supply the message using either -m or -F option.
看起来它是起动了 emacsclient,所以你的 emacs server 得启动。
可能是 with-editor 的 bug,向上游反映一下?