summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el46
1 files changed, 23 insertions, 23 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 689bd9f..826727e 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -1069,29 +1069,29 @@ By default, returns all jabber related buffers format."
:map notmuch-search-mode-map
("u" . notmuch-refresh-all-buffers))
:hook ((notmuch-hello-mode . (lambda () (display-line-numbers-mode 0)))
- (notmuch-search-mode . (lambda () (display-line-numbers-mode 0) (emojify-mode))))
- :config
- (setf notmuch-archive-tags '("-inbox" "-unread" "+archived")
- notmuch-show-all-tags-list t
- notmuch-hello-sections '(notmuch-hello-insert-header notmuch-hello-insert-saved-searches notmuch-hello-insert-alltags))
-
- (setq notmuch-search-oldest-first nil)
-
- (setf notmuch-tag-formats
- '(("unread" (propertize tag 'face 'notmuch-tag-unread))
- ("emacs-pm" (propertize tag 'face '((t :foreground "#ff9580"))))))
-
- (setf notmuch-identities '("[email protected]" "[email protected]"
-
- (setf notmuch-saved-searches
- `((:name "Inbox" :query "tag:inbox" :sort-order newest-first :key ,(kbd "i"))
- (:name "Unread" :query "tag:unread" :sort-order newest-first :key ,(kbd "u"))
- (:name "Today's message" :query "tag:inbox date:today" :sort-order newest-first
- :key ,(kbd "t"))
- (:name "sent" :query "tag:sent" :sort-order newest-first :key ,(kbd "s"))
- (:name "drafts" :query "tag:draft" :sort-order newest-first :key ,(kbd "d"))
- (:name "all mail" :query "*" :sort-order newest-first :key ,(kbd "a")))))
+ (notmuch-search-mode . (lambda () (display-line-numbers-mode 0) (emojify-mode)))))
+
+(setf notmuch-archive-tags '("-inbox" "-unread" "+archived")
+ notmuch-show-all-tags-list t
+ notmuch-hello-sections '(notmuch-hello-insert-header notmuch-hello-insert-saved-searches notmuch-hello-insert-alltags))
+
+(setq notmuch-search-oldest-first nil)
+
+(setf notmuch-tag-formats
+ '(("unread" (propertize tag 'face 'notmuch-tag-unread))
+ ("emacs-pm" (propertize tag 'face '((t :foreground "#ff9580"))))))
+
+(setf notmuch-identities '("[email protected]" "[email protected]"
+
+(setf notmuch-saved-searches
+ `((:name "Inbox" :query "tag:inbox" :sort-order newest-first :key ,(kbd "i"))
+ (:name "Unread" :query "tag:unread" :sort-order newest-first :key ,(kbd "u"))
+ (:name "Today's message" :query "tag:inbox date:today" :sort-order newest-first
+ :key ,(kbd "t"))
+ (:name "sent" :query "tag:sent" :sort-order newest-first :key ,(kbd "s"))
+ (:name "drafts" :query "tag:draft" :sort-order newest-first :key ,(kbd "d"))
+ (:name "all mail" :query "*" :sort-order newest-first :key ,(kbd "a"))))
;; Update notmuch on startup
;; (thanos/notmuch-update)