rm notmuch-hello customization
Seeking to make this notmuch module behave more like vanilla notmuch to be less disorienting for users who are familiar with notmuch. The customizations of the notmuch-hello screen can easily be done in user configs by users that want those customizations.
This commit is contained in:
parent
0c9256411d
commit
d3eaad8f1c
2 changed files with 4 additions and 8 deletions
|
@ -12,7 +12,7 @@
|
|||
(if-let* ((buf (cl-find-if (lambda (it) (string-match-p "^\\*notmuch" (buffer-name (window-buffer it))))
|
||||
(doom-visible-windows))))
|
||||
(select-window (get-buffer-window buf))
|
||||
(notmuch-search "tag:inbox"))
|
||||
(funcall +notmuch-home-function))
|
||||
(+workspace/display))
|
||||
('error
|
||||
(+notmuch/quit)
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
;; FIXME This module is a WIP!
|
||||
|
||||
(defvar +notmuch-home-function #'notmuch
|
||||
"Function for customizing the landing page for doom-emacs =notmuch.")
|
||||
|
||||
(defvar +notmuch-sync-backend 'gmi
|
||||
"Which backend to use. Can be either gmi, mbsync, offlineimap or nil (manual).")
|
||||
|
||||
|
@ -27,8 +30,6 @@
|
|||
(set-popup-rule! "^\\*notmuch-hello" :side 'left :size 30 :ttl 0)
|
||||
|
||||
(setq notmuch-fcc-dirs nil
|
||||
notmuch-show-logo nil
|
||||
notmuch-message-headers-visible nil
|
||||
message-kill-buffer-on-exit t
|
||||
message-send-mail-function 'message-send-mail-with-sendmail
|
||||
notmuch-search-oldest-first nil
|
||||
|
@ -42,9 +43,6 @@
|
|||
("tags" . "(%s)"))
|
||||
notmuch-tag-formats
|
||||
'(("unread" (propertize tag 'face 'notmuch-tag-unread)))
|
||||
notmuch-hello-sections
|
||||
'(notmuch-hello-insert-saved-searches
|
||||
notmuch-hello-insert-alltags)
|
||||
notmuch-saved-searches
|
||||
'((:name "inbox" :query "tag:inbox not tag:trash" :key "i")
|
||||
(:name "flagged" :query "tag:flagged" :key "f")
|
||||
|
@ -52,8 +50,6 @@
|
|||
(:name "drafts" :query "tag:draft" :key "d"))
|
||||
notmuch-archive-tags '("-inbox" "-unread"))
|
||||
|
||||
;; (setq-hook! 'notmuch-show-mode-hook line-spacing 0)
|
||||
|
||||
;; only unfold unread messages in thread by default
|
||||
(add-hook 'notmuch-show-hook #'+notmuch-show-expand-only-unread-h)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue