Browse Source

elpy completion

arch-dwm-air
parent
commit
b1557f834e
1 changed files with 23 additions and 3 deletions
  1. +23
    -3
      .emacs

+ 23
- 3
.emacs View File

@ -100,9 +100,27 @@
(require 'org-ref)
(setq org-latex-pdf-process (list "latexmk -shell-escape -bibtex -f -pdf %f"))
(setq org-latex-prefer-user-labels t)
(org-babel-do-load-languages 'org-babel-load-languages '(
;;; Crear gráficos con org-mode con ditaa y plantuml
(setq org-plantuml-jar-path
(expand-file-name "/opt/plantuml.jar"))
(setq org-ditaa-jar-path "/usr/bin/ditaa")
(org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t)
(latex . t)
(python . t)
(ditaa . t)))
;; (shell . t)
(ditaa . t)
(plantuml . t)
(ipython . t)
))
;; Syntax highlight in #+BEGIN_SRC blocks
(setq org-src-fontify-natively t)
;; Don't prompt before running code in org
(setq org-confirm-babel-evaluate nil)
;; Fix an incompatibility between the ob-async and ob-ipython packages
(setq ob-async-no-async-languages-alist '("ipython"))
(require 'ob-ipython)
(add-hook 'org-babel-after-execute-hook 'org-redisplay-inline-images)
;(setq org-ditaa-jar-path "/usr/bin/ditaa")
;(is-installed 'ditaa)
@ -133,6 +151,8 @@
(is-installed 'anaconda-mode)
(add-hook 'python-mode-hook 'anaconda-mode)
(add-hook 'python-mode-hook 'anaconda-eldoc-mode)
(is-installed 'elpy)
(elpy-enable)
;(add-hook 'python-mode-hook 'jedi:setup)
;(setq jedi:complete-on-dot t) ; optional
;(setq jedi:environment-root "/usr/local/bin/python3")
@ -177,7 +197,7 @@
'(custom-safe-themes
'("b0e446b48d03c5053af28908168262c3e5335dcad3317215d9fdeb8bac5bacf9" "e19ac4ef0f028f503b1ccafa7c337021834ce0d1a2bca03fcebc1ef635776bea" "d268b67e0935b9ebc427cad88ded41e875abfcc27abd409726a92e55459e0d01" "745d03d647c4b118f671c49214420639cb3af7152e81f132478ed1c649d4597d" "246a9596178bb806c5f41e5b571546bb6e0f4bd41a9da0df5dfbca7ec6e2250c" "4f1d2476c290eaa5d9ab9d13b60f2c0f1c8fa7703596fa91b235db7f99a9441b" default))
'(package-selected-packages
'(ditaa pyvenv anaconda-mode which-key use-package org-ref neotree markdown-mode doom-themes doom-modeline auctex))
'(ipython-shell-send ob-ipython elpy ditaa pyvenv anaconda-mode which-key use-package org-ref neotree markdown-mode doom-themes doom-modeline auctex))
'(safe-local-variable-values
'((LaTeX-includegraphics-read-file . LaTeX-includegraphics-read-file-relative))))
(custom-set-faces


Loading…
Cancel
Save