开发者

How to start ropemacs-mode automatically?

开发者 https://www.devze.com 2023-03-28 23:24 出处:网络
When I open a python file I have to manually start ropemacs-mode to get the key bindings each time. I 开发者_如何学Pythontried adding something like this to automatically start ropemacs:

When I open a python file I have to manually start ropemacs-mode to get the key bindings each time. I 开发者_如何学Pythontried adding something like this to automatically start ropemacs:

(add-hook 'python-mode-hook (lambda ()
                               (ropemacs-mode)
                               ))

But it seems to break flymake. What am I doing wrong here?


Dont use ropemacs but the readme says like this

After installing pymacs, add these lines to your ~/.emacs file::
(require 'pymacs)
(pymacs-load "ropemacs" "rope-")


My problem was with some code for using autocomplete.el along with ropemacs and yas which I found here:

http://hide1713.wordpress.com/2009/01/30/setup-perfect-python-environment-in-emacs/

Once I commented out the block relating to autocomplete everything else started working as expected.

0

精彩评论

暂无评论...
验证码 换一张
取 消