From abf90d727e786607d426694bcf0c2cd17146b021 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 14 Jun 2023 18:20:32 +0200 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=A9=B9=20(eshell)=20Add=20visual=20su?= =?UTF-8?q?bcommands=20for=20docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 97c632a..43bb4bf 100644 --- a/config.org +++ b/config.org @@ -2108,7 +2108,11 @@ Resources: #+begin_src emacs-lisp (use-package eshell - :bind (("C-c s" . 'eshell))) + :bind (("C-c s" . 'eshell)) + :config + (setq eshell-visual-subcommands + '(("docker" "pull" "build") + ("docker-compose" "build")))) #+end_src * Elfeed From 53e5436ab68fa542e6c3a45a48110ac2a6384bfe Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 14 Jun 2023 18:23:47 +0200 Subject: [PATCH 2/4] =?UTF-8?q?=E2=9C=A8=20(mu4e/work)=20At=20shortcut=20f?= =?UTF-8?q?or=20work-noreply?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.org b/config.org index 43bb4bf..d3c2df5 100644 --- a/config.org +++ b/config.org @@ -2408,6 +2408,9 @@ I don't really like the default bookmarks that mu4e sets. Thats why I overwrite '(( :name "Unread work messages" :key ?w :query "(flag:unread and m:/work/*) or m:/work/inbox" ) + ( :name "Unread no-reply work messages" + :key ?n + :query "flag:unread and m:/work-noreply/*" ) ( :name "Unread private messages" :key ?p :query "(flag:unread and m:/mailbox/*) or m:/mailbox/inbox" ))) From 4e1a212fc7f06b53c8fae8a5710dd8a06959d001 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 14 Jun 2023 18:25:52 +0200 Subject: [PATCH 3/4] =?UTF-8?q?=E2=9C=A8=20(Org)=20Add=20org-tree-slide=20?= =?UTF-8?q?for=20presentations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/config.org b/config.org index d3c2df5..e2f8e52 100644 --- a/config.org +++ b/config.org @@ -1586,6 +1586,47 @@ After I wrote an [[https://mmk2410.org/2022/01/15/improving-my-new-blog-post-cre #+end_src +** org-tree-slide for presentations + +A presentation tool for org-mode based on the visibility of outline trees + +GitHub: [[https://github.com/takaxp/org-tree-slide][GitHub:takaxp/org-tree-slide]] + +#+begin_src emacs-lisp +(defun mmk2410/presentation-setup () + (org-display-inline-images) ;; Can also use org-startup-with-inline-images + (setq-local face-remapping-alist '((default (:height 1.5) variable-pitch) + (header-line (:height 4.0) variable-pitch) + (org-document-title (:height 1.75) org-document-title) + (org-code (:height 1.55) org-code) + (org-table (:height 1.55) org-table) + (org-verbatim (:height 1.55) org-verbatim) + (org-block (:height 1.25) org-block) + (org-block-begin-line (:height 0.7) org-block))) + (setq header-line-format " ") + (setq visual-fill-column-width 150) + (hl-line-mode 0)) + +(defun mmk2410/presentation-end () + (org-remove-inline-images) + (setq-local face-remapping-alist '((default variable-pitch default))) + (setq header-line-format nil) + (setq visual-fill-column-width 100) + (hl-line-mode 1)) + +(use-package org-tree-slide + :hook ((org-tree-slide-play . mmk2410/presentation-setup) + (org-tree-slide-stop . mmk2410/presentation-end)) + :custom + (org-tree-slide-slide-in-effect t) + (org-tree-slide-activate-message "Presentation started!") + (org-tree-slide-deactivate-message "Presentation finished!") + (org-tree-slide-header t) + (org-tree-slide-breadcrumbs " > ") + (org-image-actual-width nil)) +#+end_src + + * Org Research Assistant ** Org Roam From aa20aa2365d0d52c666bd3b6840e15cfc98d8bc0 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 14 Jun 2023 18:26:58 +0200 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=99=88=20(work)=20Add=20work=20config?= =?UTF-8?q?=20repo=20directory=20to=20gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 807aeb8..06b2445 100644 --- a/.gitignore +++ b/.gitignore @@ -77,3 +77,4 @@ projects /.lsp-eslint-choices /mastodon.plstore /lisp/ +/work/