From 9c59edeb1ca02718f3b6206f660e555e26cda34a Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 22 Dec 2024 21:56:32 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=92=84=20Change=20theme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.org b/config.org index 5589b74..bec9af7 100644 --- a/config.org +++ b/config.org @@ -545,7 +545,7 @@ Installing and enabling ef-themes. (7 . (variable-pitch 1.2)) (t . (variable-pitch 1.1)))) :config - (load-theme 'ef-light t)) + (load-theme 'ef-eagle t)) #+end_src @@ -563,8 +563,8 @@ Add a slight transparency to the frames. Code provided by David Wilson / System During the last weeks I got used to using a light theme during daytime and a dark theme during nighttime. Luckily the themes based on Atom One are to my liking and the doom package provides a dark and light variant. One thing that was difficult with Emacs was actually switching theme since it involved disabling all current ones (for some reason on one machine there are two enabled while on the other machine its only one) and then loading the correct one. These functions try to make that process easier, at least for now. The long-term goal is to automatically change the theme based on the current system-wide setting. #+begin_src emacs-lisp -(setq mmk2410/theme-night 'ef-dark) -(setq mmk2410/theme-day 'ef-light) +(setq mmk2410/theme-night 'ef-owl) +(setq mmk2410/theme-day 'ef-eagle) (defun mmk2410/switch-theme (theme) (mapcar 'disable-theme custom-enabled-themes) From 779954513b5f28e82a330e0b7a25a1c8abaa2e24 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 22 Dec 2024 21:57:21 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=94=A7=20(org)=20Tags=20directly=20af?= =?UTF-8?q?ter=20the=20headline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.org b/config.org index bec9af7..98851e8 100644 --- a/config.org +++ b/config.org @@ -1139,6 +1139,12 @@ Make indented display of org files the default (setq org-startup-indented t) #+end_src +Put tags directly after the headline (avoids line breaks in headlines in combination with ~visual-fill-column~ mode): + +#+begin_src emacs-lisp +(setq org-tags-column 0) +#+end_src + ** Org font adjustments I like to have larger headlines in Org for better identifying them. The configuration of [[https://config.daviwil.com/emacs#fonts-and-bullets][David Wilson]] was a large help in this regard. From e0829c671471e45bee35bf43415c8aedd65b3f50 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 22 Dec 2024 21:57:43 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=90=9B=20(Auctex)=20Fix=20elisp=20cod?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.org b/config.org index 98851e8..0593f43 100644 --- a/config.org +++ b/config.org @@ -1815,7 +1815,7 @@ For LaTeX typesetting in Emacs I like to use the great AUCTeX package. :config (setq TeX-auto-save t) (setq TeX-parse-self t) - (setq TeX-engine 'luatex)C + (setq TeX-engine 'luatex) (setq-default TeX-master nil)) #+end_src