2011-12-05 4 views
3

나는이 튜토리얼을 따라 파이썬 이맥스 환경을 설정했다. 내가 강조 이맥스 및 구문 파이썬 모드를 얻을 수있어python emacs 환경 설정 mac os x

http://www.saltycrane.com/blog/2010/05/my-emacs-python-environment/

하지만 난 명령이

을 정의되지 않은 것을 얻을 documentiation에 대한 로프와, 예를 들어 ropemacs 명령 참조 d 개를 사용하려고하면

로프와 ropemacs는 설치가 쉽고 내 .emacs 파일이 보이는 모양이 Am'I missing something ??

(custom-set-variables 
;; custom-set-variables was added by Custom. 
;; If you edit it by hand, you could mess it up, so be careful. 
;; Your init file should contain only one such instance. 
;; If there is more than one, they won't work right. 
'(custom-enabled-themes (quote (tango-dark)))) 
(custom-set-faces 
;; custom-set-faces was added by Custom. 
;; If you edit it by hand, you could mess it up, so be careful. 
;; Your init file should contain only one such instance. 
;; If there is more than one, they won't work right. 
) 
(add-hook 'find-file-hook 'flymake-find-file-hook) 
(provide 'init_python) 


(autoload 'pymacs-apply "pymacs") 
(autoload 'pymacs-call "pymacs") 
(autoload 'pymacs-eval "pymacs" nil t) 
(autoload 'pymacs-exec "pymacs" nil t) 
(autoload 'pymacs-load "pymacs" nil t) 
(eval-after-load "pymacs" 
    '(add-to-list 'pymacs-load-path ~/.emacs.d/vendor/pymacs-0.24-beta2")) 

(pymacs-load "ropemacs" "rope-") 
(setq ropemacs-enable-autoimport t) 


(add-to-list 'load-path "~/.emacs.d/vendor/auto-complete-1.2") 
(require 'auto-complete-config) 
(add-to-list 'ac-dictionary-directories "~/.emacs.d/vendor/auto-complete-1.2/dict") 
(ac-config-default) 

답변

0

당신은 EMACS 패키지를 찾을 수 있도록, 부하 경로로 디렉토리 당신의 ropeemacs을 추가하고

(setq load-path (cons "/PATH-OF-ROPEEMACS"  load-path)) 

솔직히 말해서, 나는 로프 이맥스 생각하지 않는다에 대해 해당 명령을로드해야합니다 나를 위해 유용하다, 그것은 이맥스 시작을 꽤 많이 늦추지 만 이점은 그렇게 분명하지 않다. 내가 이슈를 찾아보고 싶을 때, 나는 단순히 그렇게 간다.