summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2015-08-31 05:16:47 (GMT)
committerRavi R Kiran <aine.marina@gmail.com>2015-08-31 05:16:47 (GMT)
commit9b78d27a15c5e6e6180194d7bd61786e45e47bce (patch)
tree9bbc97c8899264d7d3d45b8775b7b217bb25b6c9
parentffe50580fb2b64d90c9cac7ec0c82b9fd4c73685 (diff)
downloaddotemacs-9b78d27a15c5e6e6180194d7bd61786e45e47bce.zip
dotemacs-9b78d27a15c5e6e6180194d7bd61786e45e47bce.tar.gz
dotemacs-9b78d27a15c5e6e6180194d7bd61786e45e47bce.tar.bz2
Remove ropemacs due to disuse
-rw-r--r--lisp/ravi-init-python.el43
1 files changed, 0 insertions, 43 deletions
diff --git a/lisp/ravi-init-python.el b/lisp/ravi-init-python.el
index 70234c9..ba37dc6 100644
--- a/lisp/ravi-init-python.el
+++ b/lisp/ravi-init-python.el
@@ -82,49 +82,6 @@
:ensure t
)
- ;; Use pymacs+ropemacs for code completion plus documentation browsing.
- ;; The main issue is that this requires both python-side and emacs-side
- ;; support, and hence cannot be installed as a package from MELPA.
- (use-package pymacs
- :disabled t
- :init
- (progn
- ;; Many bindings provide same functionality as from other packages.
- (setq ropemacs-global-prefix nil)
- ;(setq ropemancs-local-prefix nil)
- ;(setq ropemacs-enable-shortcuts nil)
- )
- :config
- (progn
- (pymacs-load "ropemacs" "rope-")
- (bind-key "C-c C-d" 'rope-show-calltip python-mode-map)
-
- ;; Auto-complete sources; see
- ;; http://www.cx4a.org/pub/auto-complete-python.el
- (defvar ac-ropemacs-completions-cache nil)
-
- (defvar ac-source-ropemacs
- '((init
- . (lambda ()
- (setq ac-ropemacs-completions-cache
- (mapcar
- (lambda (completion)
- (concat ac-prefix completion))
- (ignore-errors
- (rope-completions))))))
- (candidates . (lambda ()
- (all-completions ac-prefix ac-ropemacs-completions-cache)))))
-
- (defun ac-ropemacs-setup ()
- (ac-ropemacs-require)
- ;(setq ac-sources (append (list 'ac-source-ropemacs) ac-sources))
- (setq ac-omni-completion-sources '(("\\." ac-source-ropemacs))))
-
- (add-hook 'python-mode-hook 'ac-ropemacs-setup)
-
- )
- )
-
;; Use jedi.el for code completion plus documentation browsing.
;; The main issue is that this requires both python-side and emacs-side
;; support, but the python-side support cannot be installed as a package