Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Ruby プログラムを作成するときに役立つように AutoComplete を構成しましたが、irb ウィンドウではオフになっています。オンにして、その後の Emacs の起動時にそのままにしておくにはどうすればよいですか?
次のような構成に入れます。
(defun my-inf-ruby-mode-hook () (set (make-local-variable 'ac-auto-start) 2) (set (make-local-variable 'ac-auto-show-menu) t) ) (add-hook 'inf-ruby-mode-hook 'my-inf-ruby-mode-hook)
ac-sourcesまた、このフックで変数をセットアップする必要があると思いますので、Ruby 辞書を使用します...
ac-sources