2

我正在中国大陆架设我的archlinux-desktop。在为 emacs 配置 ELPA 时,事实证明(至少)以下存档不可用:

(setq package-archives '(
    ("gnu" . "https://elpa.gnu.org/packages/")
    ("melpa" . "https://melpa.org/packages/")))

原因:无法建立连接并中止


https://www.emacswiki.org/emacs/ELPA我发现了一句话:

中国大陆的 Emacs 用户可以使用 popkit.org ( http://elpa.popkit.org/ ) 存档:

 (add-to-list 'package-archives '("popkit" . "http://elpa.popkit.org/packages/"))

此外,我基本上在http://elpa.emacs-china.org/上找到了所有相关(以及更多)存储库

ELPA                   | 镜像地址
-----------------------+---------------------------------------------------
GNU ELPA               | http://elpa.emacs-china.org/gnu/
MELPA                  | http://elpa.emacs-china.org/melpa/
MELPA Stable           | http://elpa.emacs-china.org/melpa-stable/
Marmalade              | http://elpa.emacs-china.org/marmalade/
Org                    | http://elpa.emacs-china.org/org/
Sunrise Commander ELPA | http://elpa.emacs-china.org/sunrise-commander/
user42 ELPA            | http://elpa.emacs-china.org/user42/

这带来了两个问题: - 为什么不能从中国境内访问官方存储库?- 从这些来源下载是否安全?

4

0 回答 0