emacs - 在 emacs 中运行 Chicken计划

标签 emacs scheme chicken-scheme

我是 emacs 新手,不知道如何运行 Chicken Scheme通过 emacs。来自鸡计划Wiki我找到了一个解决方案——使用 cluck。因此,我按照 cluck.el 文件中的说明操作,并将 (require 'cluck) 添加到我的 .emacs 文件中。

但是,emacs 无法加载 .emacs 文件,因为它无法打开 cluck。这是 emacs 给出的错误消息:

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

File error: Cannot open load file, cluck

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.

这个link将带您到 github 上的 cluck 文件。 我认为 cluck 的问题是我需要它需要的其他文件......我从哪里得到这些文件。

  1. 如何使用 cluck 通过 emacs 运行小鸡计划?
  2. 一旦 emacs 读取 cluck,通过 emacs 运行小鸡方案解释器 (csi) 的命令是什么?
  3. 如果我实际使用 Aquamacs Emacs,我将如何使用 --debug-init 选项?

如果您需要更多信息,请告诉我。感谢您的所有帮助。

最佳答案

Control-h v,输入 load-path 并按 Enter。 Emacs 将打印加载 .el 文件的路径。如果 cluck.el 所在的目录不存在,请在初始化文件中添加以下行:

(add-to-list 'load-path "~/.emacs.d/cluck/")

这假设您的 Cluck 文件位于 ~/.emacs.d/cluck/

关于emacs - 在 emacs 中运行 Chicken计划,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16743925/

相关文章:

scheme - 将代码从 Lisp 转换为 SCHEME

scheme - 将数据写入方案中不存在的文件(通过程序创建后)

emacs - 在 Emacs 中运行 Chicken Schedule 时遇到问题

vim - 将 Emacs/vim 高亮转换为 TextMate(用于 SublimeText)

emacs - 如何将我的个人缩写添加到 Emacs 中的 emmet-mode 中?

emacs - 在 emacs 中拆分缓冲区后如何切换焦点?

lisp - 编程语言用来评估 AST 的算法是什么?

recursion - 乔尔·斯波尔斯基(Joel Spolsky)在变量值不改变和同时改变的悖论中意味着什么?

chicken-scheme - 从“鸡计划”中的系统命令获取输出

emacs - 如何按名称导航到emacs中的erlang函数?