Aquamacs + Slime を実行していますが、Aquamacs を起動すると自動的に Slime を起動できます。しかし、その後 Lisp ファイルを読み込もうとすると、ファイルを読み込もうとしている方法に応じて、さまざまなエラーが発生し続けます。ここに私の好みがあります.el
(setq inferior-lisp-program "~/ccl/dx86cl64"
slime-startup-animation nil)
(require 'slime)
(split-window-horizontally)
(other-window 1)
(slime)
(eval-after-load "slime"
'(progn
(slime-compile-and-load-file "/Users/xxxxx/xxxxx/load-seq.lisp")
))
次のエラーが表示されます
error: Buffer *inferior-lisp* is not associated with a file.
load
compile-and-load
とを含む他の機能を試しましslime-load-file
たが、それぞれ次のエラーが発生しました...
Invalid read syntax: #
Symbol's function definition is void: compile-and-load
error: Not connected.
(load "/Users/xxxxx/xxxxx/load-seq.lisp")
スライム REPL から実行すると、lisp ファイルは正常にロード (およびコンパイル)されます。Preferences.el に入れると、 を使用しているにもかかわらず、スライムのロードを待たないようですeval-after-load
。