|
@ -596,7 +596,8 @@ Windows Theme: |
|
|
:ID: ad3af718-d0db-448c-9f75-eb9e250c2862 |
|
|
:ID: ad3af718-d0db-448c-9f75-eb9e250c2862 |
|
|
:END: |
|
|
:END: |
|
|
Set some languages and disable confirmation for evaluating code blocks C-c C-c |
|
|
Set some languages and disable confirmation for evaluating code blocks C-c C-c |
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+BEGIN_SRC emacs-lisp |
|
|
(org-babel-do-load-languages |
|
|
(org-babel-do-load-languages |
|
|
'org-babel-load-languages |
|
|
'org-babel-load-languages |
|
|
'((emacs-lisp . t) |
|
|
'((emacs-lisp . t) |
|
@ -612,7 +613,85 @@ Set some languages and disable confirmation for evaluating code blocks C-c C-c |
|
|
(scheme . t))) |
|
|
(scheme . t))) |
|
|
|
|
|
|
|
|
(setq org-confirm-babel-evaluate nil) |
|
|
(setq org-confirm-babel-evaluate nil) |
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
+END_SRC |
|
|
|
|
|
Another setup, because org-babel-do-load-languages requires eager loading |
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
|
|
(use-package ob-org |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands |
|
|
|
|
|
(org-babel-execute:org |
|
|
|
|
|
org-babel-expand-body:org)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package ob-python |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands (org-babel-execute:python)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package ob-js |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands (org-babel-execute:js)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package ob-shell |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands |
|
|
|
|
|
(org-babel-execute:sh |
|
|
|
|
|
org-babel-expand-body:sh |
|
|
|
|
|
|
|
|
|
|
|
org-babel-execute:bash |
|
|
|
|
|
org-babel-expand-body:bash)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package ob-emacs-lisp |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands |
|
|
|
|
|
(org-babel-execute:emacs-lisp |
|
|
|
|
|
org-babel-expand-body:emacs-lisp)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package ob-lisp |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands |
|
|
|
|
|
(org-babel-execute:lisp |
|
|
|
|
|
org-babel-expand-body:lisp)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package ob-gnuplot |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands |
|
|
|
|
|
(org-babel-execute:gnuplot |
|
|
|
|
|
org-babel-expand-body:gnuplot)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package ob-sqlite |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands |
|
|
|
|
|
(org-babel-execute:sqlite |
|
|
|
|
|
org-babel-expand-body:sqlite)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package ob-latex |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands |
|
|
|
|
|
(org-babel-execute:latex |
|
|
|
|
|
org-babel-expand-body:latex)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package ob-R |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands |
|
|
|
|
|
(org-babel-execute:R |
|
|
|
|
|
org-babel-expand-body:R)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package ob-scheme |
|
|
|
|
|
:defer t |
|
|
|
|
|
:ensure org-plus-contrib |
|
|
|
|
|
:commands |
|
|
|
|
|
(org-babel-execute:scheme |
|
|
|
|
|
org-babel-expand-body:scheme)) |
|
|
|
|
|
#+end_src |
|
|
** habits |
|
|
** habits |
|
|
:PROPERTIES: |
|
|
:PROPERTIES: |
|
|
:ID: fcc91d0a-d040-4910-b2cf-3221496a3842 |
|
|
:ID: fcc91d0a-d040-4910-b2cf-3221496a3842 |
|
|