符号';作为变量的s值无效:erlang-xemacs-p

符号';作为变量的s值无效:erlang-xemacs-p,emacs,erlang,Emacs,Erlang,我在Emacs(Windows)中为Erlang添加了一个Wrangler插件,每次启动时都会出现以下错误: Warning (initialization): An error occurred while loading ‘c:/Users/ecotjos/AppData/Roaming/.emacs’: Symbol's value as variable is void: erlang-xemacs-p 这是我的.emacs文件: (setq load-path (cons "C:

我在Emacs(Windows)中为Erlang添加了一个Wrangler插件,每次启动时都会出现以下错误:

Warning (initialization): An error occurred while loading ‘c:/Users/ecotjos/AppData/Roaming/.emacs’:

Symbol's value as variable is void: erlang-xemacs-p
这是我的
.emacs
文件:

(setq load-path (cons  "C:\\Users\\ecotjos\\erl10.6\\lib\\tools-3.3\\emacs" load-path))
(setq erlang-root-dir "C:\\Program Files\\erl10.4\\usr")
(setq exec-path (cons "C:\\Program Files (x86)\\erl10.1\\bin" exec-path))
(require 'erlang-start)
(require 'cc-mode)
(add-to-list 'load-path
             "C:\\Users\\ecotjos\\erl10.6\\Wrangler\\elisp")
(require 'wrangler)
如中所述,Wrangler依赖于最近版本的erlang mode中删除的变量。快速修复方法是将这段代码添加到
.emacs
文件中:

(setq load-path (cons  "C:\\Users\\ecotjos\\erl10.6\\lib\\tools-3.3\\emacs" load-path))
(setq erlang-root-dir "C:\\Program Files\\erl10.4\\usr")
(setq exec-path (cons "C:\\Program Files (x86)\\erl10.1\\bin" exec-path))
(require 'erlang-start)
(require 'cc-mode)
(add-to-list 'load-path
             "C:\\Users\\ecotjos\\erl10.6\\Wrangler\\elisp")
(require 'wrangler)
(defconst erlang-xemacs-p(字符串匹配“Lucid\\\ xemacs”emacs版本)
“在XEMAC或Lucid Emacs下运行时为非零。”)
如中所述,Wrangler依赖于从最新版本的erlang mode中删除的变量。快速修复方法是将这段代码添加到
.emacs
文件中:

(setq load-path (cons  "C:\\Users\\ecotjos\\erl10.6\\lib\\tools-3.3\\emacs" load-path))
(setq erlang-root-dir "C:\\Program Files\\erl10.4\\usr")
(setq exec-path (cons "C:\\Program Files (x86)\\erl10.1\\bin" exec-path))
(require 'erlang-start)
(require 'cc-mode)
(add-to-list 'load-path
             "C:\\Users\\ecotjos\\erl10.6\\Wrangler\\elisp")
(require 'wrangler)
(defconst erlang-xemacs-p(字符串匹配“Lucid\\\ xemacs”emacs版本)
“在XEMAC或Lucid Emacs下运行时为非零。”)

您使用的是
emacs
还是
xemacs
?您是否向wrangler插件的维护人员寻求帮助?如果此问题是在您添加后开始的,则可能是错误的原因。也许您需要进行更多的设置才能使用它,或者它可能与您的(X)Emacs版本不兼容。这只是一个猜测——但也许这是Wrangler软件包的一个相关问题:我建议您尝试
Emacs--debug init
,它应该为您(或我们)提供有关问题来源的更多信息。我正在windows上使用emacs和erlang插件,该插件工作正常。将尝试--debug init以查看更详细的情况。一件有趣的事情是,在emacs启动后,我点击ctrl-c-ctrl-r以启用Wrangler,我可以在控制台中看到插件正在启动,但它失败了,出现了“Symbol's value as variable is void:erlang-xemacs-p”。您使用的是
emacs
还是
xemacs
?您是否向Wrangler插件的维护人员寻求过帮助?如果此问题是在您添加后开始的,则可能是错误的原因。也许您需要进行更多的设置才能使用它,或者它可能与您的(X)Emacs版本不兼容。这只是一个猜测——但也许这是Wrangler软件包的一个相关问题:我建议您尝试
Emacs--debug init
,它应该为您(或我们)提供有关问题来源的更多信息。我正在windows上使用emacs和erlang插件,该插件工作正常。将尝试--debug init以查看更详细的情况。一件有趣的事情是,在emacs启动后,我点击ctrl-c-ctrl-r以启用Wrangler,我可以在控制台中看到插件正在启动,但它失败了,因为“Symbol's value as variable is void:erlang-xemacs-p”。