diff options
-rw-r--r-- | notmuch.org | 13 |
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) |