From 155ed93a6195095ae03bef1be970c4b7cb1ae19f Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 25 Jan 2024 14:35:10 +0100 Subject: [PATCH] Changed to English --- emacs/.config/doom/config.org | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/emacs/.config/doom/config.org b/emacs/.config/doom/config.org index aadfe19..6cd92d0 100644 --- a/emacs/.config/doom/config.org +++ b/emacs/.config/doom/config.org @@ -419,7 +419,7 @@ Authentication information will be stored in a encrypted file that is part of my * Multilanguage Spellcheck Enables use of multiple dictionaries. In my case German and English #+begin_src emacs-lisp :tangle config.el - (with-eval-after-load "ispell" +(with-eval-after-load "ispell" (setq ispell-program-name "hunspell") (setq ispell-dictionary "en_US,de_DE") (ispell-set-spellchecker-params) @@ -453,7 +453,8 @@ This function could also become useful if we ever want to extend the compile com ** Visual *** Enable Header Numbering #+begin_src emacs-lisp :tangle config.el -(setq org-startup-numerated t) +(after! org + (setq org-startup-numerated t)) #+end_src *** Image Display as Default [[https://emacs.stackexchange.com/questions/57603/how-to-always-display-inline-images-by-default-existing-solutions-dont-seem-to#comment89772_57607][this stackexchange comment]] states that this has to be done before the [[Add "~/org" to Agenda][adding the ~/org directory to Org Agenda]] @@ -534,9 +535,9 @@ Adding the "#+category: " tag improves the Org Agenda View for tasks captured in :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+category: ${title}\n") :unnarrowed t) ("m" "Meeting Templates") - ("mm" "Meeting Masterarbeit" plain - "* Aktueller Stand\n\n* Offene Fragen\n\n* TODOs\n" - :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: Masterarbeitsbesprechung ${title}\n#+category: Masterarbeit\n") + ("mm" "Meeting Master Thesis" plain + "* Current Progress\n\n* Open Questions\n\n* TODOs\n" + :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: Master Thesis Meeting ${title}\n#+category: Master Thesis\n") :unnarrowed t)))) #+end_src *** Misc @@ -584,14 +585,14 @@ Following the [[https://github.com/emacs-citar/citar#configuration][citar packag **** Enable Zotero Link Support In [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#citar][this tutorial]] I found the config for enabling Zotero Link Support through Citar #+begin_src emacs-lisp :tangle config.el -(defadvice! riccardo/citar-file-trust-zotero (oldfun &rest r) - "Leave Zotero-generated file paths alone, especially zotero://..." - :around '(citar-file-open citar-file--find-files-in-dirs) - (cl-letf (((symbol-function 'file-exists-p) #'always) - ((symbol-function 'expand-file-name) (lambda (first &rest _) first))) - (apply oldfun r))) - (after! citar + (defadvice! riccardo/citar-file-trust-zotero (oldfun &rest r) + "Leave Zotero-generated file paths alone, especially zotero://..." + :around '(citar-file-open citar-file--find-files-in-dirs) + (cl-letf (((symbol-function 'file-exists-p) #'always) + ((symbol-function 'expand-file-name) (lambda (first &rest _) first))) + (apply oldfun r))) + (add-to-list 'citar-file-open-functions '("pdf" . citar-file-open-external))) #+end_src