From 199b0e9dd5b33c2a06b9cf88695994c9d608dee9 Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 3 Aug 2021 15:17:44 +0100 Subject: notmuch: no header in message buffer --- notmuch.org | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'notmuch.org') diff --git a/notmuch.org b/notmuch.org index e0f92a7..1e921bc 100644 --- a/notmuch.org +++ b/notmuch.org @@ -15,10 +15,9 @@ (:name "I" :query "tag:new and tag:jao and tag:inbox") (:name "H" :query "tag:new and tag:jao and tag:hacking") (:name "E" :query "tag:new and tag:emacs" :face jao-themes-dimm) + (:name "l" :query "tag:new and tag:local" :face jao-themes-dimm) (:name "J" :query - "tag:new and tag:jao and not tag:\"/emacs|hacking|feeds/\"" - :face jao-themes-dimm) - (:name "N" :query "tag:new and tag:gmane and not tag:emacs" + "tag:new and tag:jao and not tag:\"/local|emacs|hacking|feeds/\"" :face jao-themes-dimm) (:name "F" :query "tag:new and tag:feeds and not tag:emacs" :face jao-themes-dimm))) @@ -206,7 +205,8 @@ (defun jao-notmuch-refresh-agenda () (interactive) - (save-window-excursion (org-agenda-list))) + (save-window-excursion (org-agenda-list)) + (with-current-buffer "*Calendar*" (calendar-goto-today))) (defun jao-notmuch-hello-first () (interactive) @@ -243,7 +243,7 @@ :config (setq jao-notmuch-mailboxes (jao-mailbox-folders))) #+end_src -* views +* search/tree view #+begin_src emacs-lisp (use-package notmuch-tree :config @@ -263,6 +263,9 @@ (advice-add 'notmuch-tree-format-field :around #'jao-notmuch--format-field) + (defun jao-notmuch--adjust-header () (setq header-line-format nil)) + (add-hook 'notmuch-show-hook #'jao-notmuch--adjust-header) + :bind (:map notmuch-tree-mode-map (("." . jao-notmuch-toggle-mime-parts) ("C" . jao-notmuch-echo-count) -- cgit v1.2.3