Compare commits

...

2 commits

Author SHA1 Message Date
Peter Tillemans
cc53df4a47 fix loading issues with org-babel 2025-09-12 14:11:48 +02:00
Peter Tillemans
63ed08a9c6 add which-key to config 2025-09-12 14:11:48 +02:00

View file

@ -408,17 +408,21 @@ testing in my [[file:~/org/snamellit/testfile.org::*User Journey Graph][org babe
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package ob-mermaid (use-package ob-mermaid
:ensure t :ensure t
:demand t) :demand t
:config
(setq org-babel-load-languages (cons '(mermaid . t) org-babel-load-languages))
(org-babel-do-load-languages 'org-babel-load-languages org-babel-load-languages))
#+END_SRC #+END_SRC
#+RESULTS:
: [nil 26817 38923 492671 nil elpaca-process-queues nil nil 702000 nil]
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package ob-latex (use-package ob-latex
:ensure nil :ensure nil
:demand t :demand t
:custom :custom (org-preview-latex-default-process "lualatex"))
(org-preview-latex-default-process "lualatex"))
#+END_SRC #+END_SRC
@ -426,24 +430,24 @@ testing in my [[file:~/org/snamellit/testfile.org::*User Journey Graph][org babe
: [nil 26768 38911 12050 nil elpaca-process-queues nil nil 97000 nil] : [nil 26768 38911 12050 nil elpaca-process-queues nil nil 97000 nil]
#+BEGIN_SRC emacs-lisp :tangle yes #+BEGIN_SRC emacs-lisp :tangle yes
;; configure babel languages (;; configure babel languages
(use-package ob use-package ob
:ensure nil :ensure nil
:after org :config
:custom (setq org-babel-load-languages '((emacs-lisp . t)
(org-babel-load-languages '((emacs-lisp . t)
(shell . t) (shell . t)
(python . t) (python . t)
(scheme . t) (scheme . t)
(plantuml . t) (plantuml . t)
(mermaid . t) ;(mermaid . t)
(sql . t) (sql . t)
(sqlite . t) (sqlite . t)
(dot . t))) (dot . t)))
) (org-babel-do-load-languages 'org-babel-load-languages org-babel-load-languages))
#+END_SRC #+END_SRC
#+RESULTS: #+RESULTS:
: t
***** Example Emacs Lisp ***** Example Emacs Lisp
@ -2207,6 +2211,21 @@ Enables and configures Yasnippet, a template system for Emacs:
#+RESULTS: #+RESULTS:
: [nil 26481 25510 926111 nil elpaca-process-queues nil nil 690000 nil] : [nil 26481 25510 926111 nil elpaca-process-queues nil nil 690000 nil]
** Which-key helps with discovery of keybinds
#+BEGIN_SRC emacs-lisp
(use-package which-key
:ensure t
:functions
which-key-mode
:config
(which-key-mode))
#+END_SRC
#+RESULTS:
: [nil 26817 33065 659508 nil elpaca-process-queues nil nil 206000 nil]
* Programming * Programming
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp