Macos Emacs 24.4无法加载Ergoemacs[Mac OS]

Macos Emacs 24.4无法加载Ergoemacs[Mac OS],macos,emacs,emacs24,iterm,ergoemacs,Macos,Emacs,Emacs24,Iterm,Ergoemacs,我对Mac OS上的emacs和ergoemacs有问题 我所做的: 我安装了emacs 24.4的最新版本: sudo端口安装emacs 下载自 并将其放在~/.emacs.d文件夹中 已添加到文件~/.emacs中: setenv ERGOEMACS_键盘_布局美国;我们 加载文件~/.emacs.d/ergoemacs/site-lisp/site-start.el 当我尝试启动emacs时,收到一个错误: Warning (initialization): An error occurr

我对Mac OS上的emacs和ergoemacs有问题

我所做的:

我安装了emacs 24.4的最新版本: sudo端口安装emacs

下载自 并将其放在~/.emacs.d文件夹中

已添加到文件~/.emacs中:

setenv ERGOEMACS_键盘_布局美国;我们 加载文件~/.emacs.d/ergoemacs/site-lisp/site-start.el

当我尝试启动emacs时,收到一个错误:

Warning (initialization): An error occurred while loading `/Users/%user_name%/.emacs':

Symbol's function definition is void: tool-bar-mode

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.
使用调试模式:

Debugger entered--Lisp error: (void-function tool-bar-mode)
  (tool-bar-mode 0)
  eval-buffer(#<buffer  *load*-795277> nil "/Users/%user_name%/.emacs.d/ergoemacs/ergoemacs/init.el" nil t)  ; Reading at buffer position 316
  load-with-code-conversion("/Users/%user_name%/.emacs.d/ergoemacs/ergoemacs/init.el" "/Users/%user_name%/.emacs.d/ergoemacs/ergoemacs/init.el" nil nil)
  load("/Users/%user_name%/.emacs.d/ergoemacs/site-lisp/../ergoemacs/init")
  eval-buffer(#<buffer  *load*-459001> nil "/Users/%user_name%/.emacs.d/ergoemacs/site-lisp/site-start.el" nil t)  ; Reading at buffer position 1432
  load-with-code-conversion("/Users/%user_name%/.emacs.d/ergoemacs/site-lisp/site-start.el" "/Users/%user_name%/.emacs.d/ergoemacs/site-lisp/site-start.el$
  load("/Users/%user_name%/.emacs.d/ergoemacs/site-lisp/site-start.el" nil nil t)
  load-file("~/.emacs.d/ergoemacs/site-lisp/site-start.el")
  eval-buffer(#<buffer  *load*> nil "/Users/%user_name%/.emacs" nil t)  ; Reading at buffer position 106
  load-with-code-conversion("/Users/%user_name%/.emacs" "/Users/%user_name%/.emacs" t t)
  load("~/.emacs" t t)
  #[0 "^H\205\262^@     \306=\203^Q^@\307^H\310Q\202;^@ \311=\204^^^@\307^H\312Q\202;^@\313\307\314\315#\203*^@\316\202;^@\313\307\314\317#\203:^@\320$
  command-line()
  normal-top-level()

如何启动Emacs?可能是你在命令行中键入emacs,然后运行Apple过时的纯文本版本的emacs吗?我删除了旧版本~22,安装了新版本。我在终端iTerm中键入emacs。@max lipsky,安装最新的emacs后问题解决了吗?Ergoemacs发行版已经好几年没有维护了。我建议只安装ergoemacs模式,或者安装一个通用的emacs初学者工具包