我正在尝试添加Marmalade作为包源,但是当我这样做时,我得到错误:Symbol's value as variable is void: package-archives.任何人都知道如何解决这个问题?以下是我的.emacs档案.
;;; This was installed by package-install.el.
;;; This provides support for the package system and
;;; interfacing with ELPA, the package archive.
;;; Move this code earlier if you want to reference
;;; packages in your .emacs.
(when
    (load
     (expand-file-name "~/.emacs.d/elpa/package.el"))
  (package-initialize))
(add-to-list 'load-path (expand-file-name "~/.emacs.d"))
(add-to-list 'load-path  "~/.emacs.d/plugins")
(add-to-list 'load-path "~/.emacs.d/plugins/color-theme")
(add-to-list 'load-path "~/.emacs.d/plugins/groovy")
(require 'package)
(add-to-list 'package-archives
         '("marmalade" . "http://marmalade-repo.org/packages/"))
(package-initialize)
Run Code Online (Sandbox Code Playgroud)
安装package.el
我运行了以下代码:
(let ((buffer (url-retrieve-synchronously
           "http://tromey.com/elpa/package-install.el"))) …Run Code Online (Sandbox Code Playgroud) 在过去的几周里,我一直在学习和试验Clojure和Erlang.根据我的理解,两者都解决了相同类型的问题 - 但是 - 采用不同的方法.如果这是正确的,那么Clojure就像聊天应用程序或自动收录机等实时系统一样可行,就像Erlang一样?