(Emacs) Use tree view by default from notmuch-hello and notmuch-jump ?

Subject: (Emacs) Use tree view by default from notmuch-hello and notmuch-jump ?

Date: Sun, 17 Mar 2024 17:49:26 -0400

To: notmuch@notmuchmail.org

Cc:

From: Michael Graham



I'm new at notmuch (and the list), so I'm probably doing something 
wrong.

I prefer tree view (notmuch-tree-mode) to search view 
(notmuch-search-mode), and I would like my saved searches to open 
in tree view automatically.

I have a bunch of saved searches, which I configure like this: 
(push '(:name "Personal Unscreened" 
        :query "tag:inbox AND tag:unread AND (NOT 
        query:screened-addresses)" :key "u" :search-type 'tree) 
      notmuch-saved-searches)
       
But when I run the search, it always the results in search view 
(notmuch-search-mode).

I know I can press 'Z' to get to the tree-view 
(notmuch-tree-from-search-current-query), but it's another step 
and creates another buffer.  I'm trying to get the search to start 
in tree view directly.

Am I understanding the :search-type option correctly?


Michael


_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: