未提供所需的功能“方案”(emacs中的方案复制)



可能很容易,但我根本无法在Emacs中获得运行的方案。

首先,我安装了 MIT方案并添加了
(setq scheme-program-name "my/path/to/bin/mit-scheme.exe")
到我的init.el。但是当我输入M-x run-scheme RET时,我会出现错误 Required feature ‘scheme’ was not provided

所以我安装了 quack ,然后将 (require 'quack)添加到我的init.el现在,当我启动Emacs时,我会遇到相同的错误:Required feature ‘scheme’ was not provided

我错过了一步吗?

更新

也许它根本无法在Windows下工作:

在gnu-emacs下运行方案,如果您想作为一个 gnu-emacs或xemacs中的下等过程(再次,这不是一个选择 在Windows机器上(,然后您需要:

Download the xscheme.elc file. This is a byte-compiled elisp file that tells emacs how to run and interact with MIT Scheme. (Source file

是xscheme.el,以防您感兴趣。(

This file should replace the xscheme.elc file that comes with emacs. You'll have to find the appropriate directory on your system.

在我的Mandrake Linux系统上,这是目录: /USR/share/emacs/21.3/lisp。(如果您是 从CS部门机器运行MIT/GNU计划。(

Add the following line to your ~/.emacs file
(load-library "xscheme")

来源(从2005年起(:http://www.cs.rpi.edu/academics/courses/fall05/ai/scheme/scheme/starting.html

以下是不起作用的

快速设置

这是您想要的人的简短列表 着急开始。每个步骤的解释如下。

  1. 在您的主目录中打开emacs(或任何其他编辑器(。
  2. 打开文件" .emacs"并添加以下行:(set-variable (quote scheme-program-name) "stk")
  3. 保存文件。您只需要执行一次步骤1-3即可。如果您在emacs中编辑文件,请重新启动emacs。
  4. 启动emacs并键入以下键序列: M-x run-scheme

来源:http://www-users.cs.umn.edu/~gini/1901-07S/emacs_scheme/

未提供所需的功能方案"未提供错误",这意味着您的负载路径中发现的第一个" scheme.el"不包含提供的语句。您的Emacs安装要么被打破(不太可能(,要么(更有可能(您已经安装了一些随机方案。找到并删除它。例如,尝试M-X List-Load-Load-Path Shadows。

相关内容

最新更新