使用时Forth模式emacs gforth.el错误

时间:2013-11-08 00:50:29

标签: emacs forth gforth

当我尝试使用gforth.el并打开.fs文件时,我从Emacs收到此错误消息的长短不一:

  

错误:不知道如何编译nil

我的.emacs file只有以下几行。

(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.

0 个答案:

没有答案