summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-08-03 15:17:44 +0100
committerjao <jao@gnu.org>2021-08-03 15:17:54 +0100
commit199b0e9dd5b33c2a06b9cf88695994c9d608dee9 (patch)
tree04d47d988368da4f4005716780fe3ed73427e128
parenta812744c54681603ca07efddea749e210aee0511 (diff)
downloadelibs-199b0e9dd5b33c2a06b9cf88695994c9d608dee9.tar.gz
elibs-199b0e9dd5b33c2a06b9cf88695994c9d608dee9.tar.bz2
notmuch: no header in message buffer
-rw-r--r--notmuch.org13
1 files changed, 8 insertions, 5 deletions
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)