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