不知道为什么这几天装emacs Mac --HEAD总是报错

你们有这个现象吗

Mac Port 么?你是用的 master 分支还是 work 分支?

如果朋友要在mac环境下的spacemacs中使用ranger的话,建议不要安装emacs-plus的HEAD,在HEAD版本中ranger是无法运行的

是macport,安装的时候是 brew install Emacs-Mac —HEAD 看上去是work分支

UPDATE:附上信息

% brew install emacs-mac --HEAD

==> Installing emacs-mac from railwaycat/emacsmacport

==> Cloning Bitbucket

Cloning into ‘/Users/roife/Library/Caches/Homebrew/emacs-mac–git’…

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

Error: An exception occurred within a child process:

DownloadError: Failed to download resource “emacs-mac”

Failure while executing; git clone --branch work https://bitbucket.org/mituharu/emacs-mac.git /Users/roife/Library/Caches/Homebrew/emacs-mac--git exited with 128. Here’s the output:

Cloning into ‘/Users/roife/Library/Caches/Homebrew/emacs-mac–git’…

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

嗯,看起来像是你的网络问题?从 Bitbucket 上 clone 的时候报错了。

你要是急用的话可以 brew cask install emacs-mac-snapshot,也是最近的 HEAD 编译的。

不知道是不是两|会的锅,用ss和蓝灯都是这样