3

总而言之,当我尝试使用 gforth.el 并打开 .fs 文件时,我从Emacs收到此错误消息:

错误:不知道如何编译 nil

我的.emacs 文件只有以下几行。

(autoload 'forth-mode "gforth.el")
(autoload 'forth-block-mode "gforth.el")
(add-to-list 'auto-mode-alist '("\\.fs$" . forth-mode))

目录 gforth.el 包含在加载路径中。

Emacs 版本:24.3.1

尝试对文件进行字节编译会产生错误/警告:

In toplevel form:
gforth.el:734:18:Error: Don't know how to compile nil
gforth.el:734:18:Error: Don't know how to compile nil
gforth.el:734:18:Error: Don't know how to compile nil
gforth.el:734:18:Error: Don't know how to compile nil
gforth.el:734:18:Error: Don't know how to compile nil

In forth-update-show-screen:
gforth.el:1059:36:Warning: `goto-line' used from Lisp code
That command is designed for interactive use only
gforth.el:1061:15:Warning: `goto-line' used from Lisp code
That command is designed for interactive use only

In end of data:
gforth.el:1697:1:Warning: the function `forth-emacs-older' might not be
    defined at runtime.
4

0 回答 0