Tag: emacsclient

Magit无法连接到Docker内部的emacsclient?

我正在Docker中运行emacs24.5.1(基本映像是Ubuntu)。 我通过apt-get安装了emacs。 此外,我通过melpa(magit版本magit-20170702.858)安装了magit,非常棒。 但是,当我尝试提交的东西,然后magit遇到以下错误: 1 git ? commit — /usr/bin/emacsclient.emacs24: connect: Connection refused /usr/bin/emacsclient.emacs24: error executing alternate editor "sh -c 'echo "WITH-EDITOR: $$ OPEN $0"; sleep 604800 & sleep=$!; trap "kill $sleep; exit 0" USR1; trap "kill $sleep; exit 1" USR2; wait $sleep'" error: There was a problem with the editor '/usr/bin/emacsclient.emacs24 –socket-name=/root/.emacs.d/server/server'. Please supply […]