3
我按照本教程設置了python emacs環境。設置python emacs環境mac os x
http://www.saltycrane.com/blog/2010/05/my-emacs-python-environment/
我能夠得到蟒蛇模式Emacs和語法高亮,但是當我嘗試使用 繩例如ropemacs命令抄送d爲documentiation我得到的命令是沒有定義
繩索和ropemacs安裝與易於安裝和我的.emacs文件看起來像 Am'I缺少的東西?
(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)