summaryrefslogtreecommitdiff
path: root/emacs_init
diff options
context:
space:
mode:
authoryaideltg <github.j9jab@aleeas.com>2023-06-25 10:42:51 +0200
committeryaideltg <github.j9jab@aleeas.com>2023-06-25 10:42:51 +0200
commit1ea17370e8dd42b2ca7843fbb593a614f3976639 (patch)
treee1c56c57b253a4c87f4aab7ddf981d044bc23e46 /emacs_init
parent6f9e0452a0eb23e6cd7a18bb5bd87356ae85d7bc (diff)
downloadconfiguration files-1ea17370e8dd42b2ca7843fbb593a614f3976639.tar.gz
configuration files-1ea17370e8dd42b2ca7843fbb593a614f3976639.tar.bz2
configuration files-1ea17370e8dd42b2ca7843fbb593a614f3976639.zip
Python in emacs and removed some blogs
Diffstat (limited to 'emacs_init')
-rw-r--r--emacs_init/dot_emacs.org25
1 files changed, 13 insertions, 12 deletions
diff --git a/emacs_init/dot_emacs.org b/emacs_init/dot_emacs.org
index 2345912..cbf96b3 100644
--- a/emacs_init/dot_emacs.org
+++ b/emacs_init/dot_emacs.org
@@ -521,26 +521,27 @@ When typing in the M-x, it shows a list of possibilities
;; (progn
;; (setq jedi:environment-root "jedi") ; or any other name you like
;; (setq jedi:environment-virtualenv
- ;; (append python-environment-virtualenv
- ;; '("--python" "/usr/bin/python3")))
+ ;; (append python-environment-virtualenv
+ ;; '("--python" "/usr/bin/python3")))
;; (setq jedi:complete-on-dot t)
;; (setq jedi:get-in-function-call-delay 1)
;; ))
#+END_SRC
#+BEGIN_SRC emacs-lisp
- ;; (defcustom python-shell-interpreter "python3"
- ;; "Default Python interpreter for shell."
- ;; :type 'string
- ;; :group 'python)
+ (defcustom python-shell-interpreter "python3"
+ "Default Python interpreter for shell."
+ :type 'string
+ :group 'python)
#+END_SRC
#+BEGIN_SRC emacs-lisp
- ;; ;; It is a package for documentation, completion, syntax check ...
- ;; (use-package elpy
- ;; :ensure t
- ;; :config
- ;; (elpy-enable))
+ ;; It is a package for documentation, completion, syntax check ...
+ (use-package elpy
+ :ensure t
+ :config
+ (elpy-enable)
+ (setq python-indent-offset 4))
#+END_SRC
* Latex
@@ -550,7 +551,7 @@ When typing in the M-x, it shows a list of possibilities
:ensure auctex
:ensure reftex
:hook ((LaTeX-mode . flyspell-mode)
- (LaTeX-mode . turn-on-auto-fill)
+ (LaTeX-mode . visual-line-mode)
(LaTeX-mode . LaTeX-math-mode)
(LaTeX-mode . turn-on-reftex)
;; (LaTeX-mode . prettify-symbols-mode) ; Para que salgan los simbolos en lugar de codigos