dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5ba1b4b090196d4083e086df98aef6a1c11bad9f
parent 4adf266146886dc1b920e3ac1b9eea2ad6c2ca06
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Tue,  6 Aug 2024 22:52:52 +0200

emacs: notmuch settings

Diffstat:
Memacs/config.org | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -3066,18 +3066,21 @@ See discussion here: https://github.com/ledger/ledger/issues/1450#issuecomment-3 "Define the main screen sections") (notmuch-search-oldest-first nil "Show newest mail first") (notmuch-archive-tags '("-inbox" "+archive")) - (notmuch-show-mark-unread-tags '("+unread")) - (notmuch-delete-tags '("-inbox" "+trash")) (notmuch-tagging-keys '(("a" notmuch-archive-tags "Archive") ("r" notmuch-show-mark-read-tags "Mark read") ("u" notmuch-show-mark-unread-tags "Mark unread") ("d" notmuch-delete-tags "Delete"))) - :bind ("C-c m" . notmuch) + :bind (("C-c m" . notmuch) + :map notmuch-show-mode-map + ("C-c M-y" . shr-copy-url)) ;; Run notmuch-hook script on hello refresh, to move messages to ;; folders according to their tags: :hook (notmuch-hello-refresh . za/notmuch-hook-tags2folders) + :init (setenv "NOTMUCH_CONFIG" "/Users/alex/.config/notmuch/config") :config + (setq notmuch-show-mark-unread-tags '("+unread")) + (setq notmuch-delete-tags '("-inbox" "+trash")) (defun za/notmuch-hook-tags2folders () "Run notmuch-hook to organise email in folders based on tags." (start-process "notmuch-hook" nil "notmuch-hook" "tags2folders")))