Emacs で AutoComplete を使用して Ropemacs を使用しようとしていますが、デバッガー エラーが発生し続けます。
Debugger entered--Lisp error: (void-function rope-completions)
(rope-completions)
eval((rope-completions))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
このシンボルrope-completions
には、Ch S からのドキュメントはありません。auto-complete-config で一度だけ表示されます。私は最新のropemacs、ropemode、pymacs、python-ropeをダウンロードしましたが、おそらく私が持っていた適切なシステムの一貫性を失いました。
この関数を構成ファイルから削除すると、オートコンプリートが完了しようとするとカーソルが赤くなります。システムのどこにもこの関数への参照が見つかりません。
オートコンプリートは、Lisp で完璧に機能しています。オートコンプリートと Rope を連携させて、Emacs で Python のオートコンプリートを提供するにはどうすればよいですか?
編集: Ch f からロープ補完の定義を確認できません。これが私の Pymacs バッファの出力です。
<23 (version "0.24-beta2")
>45 eval pymacs_load_helper("ropemacs", "rope-")
<278 (return '(progn (pymacs-defuns '(0 rope--OldProgress nil 1 rope--LispProgress nil 2 rope-LispUtils nil 3 rope-message nil 4 rope--lisp-name nil 5 rope--load-ropemacs nil 6 rope--started-from-pymacs nil 7 rope-occurrences-goto "" 8 rope-occurrences-next "")) (pymacs-python 9)))
>45 eval pymacs_load_helper("ropemacs", "rope-")
<288 (return '(progn (pymacs-defuns '(10 rope--OldProgress nil 11 rope--LispProgress nil 12 rope-LispUtils nil 13 rope-message nil 14 rope--lisp-name nil 15 rope--load-ropemacs nil 16 rope--started-from-pymacs nil 17 rope-occurrences-goto "" 18 rope-occurrences-next "")) (pymacs-python 19)))
>51 eval free_python(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19)
<13 (return nil)
>45 eval pymacs_load_helper("ropemacs", "rope-")
<279 (return '(progn (pymacs-defuns '(19 rope--OldProgress nil 9 rope--LispProgress nil 8 rope-LispUtils nil 7 rope-message nil 6 rope--lisp-name nil 5 rope--load-ropemacs nil 4 rope--started-from-pymacs nil 3 rope-occurrences-goto "" 2 rope-occurrences-next "")) (pymacs-python 1)))