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

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

Date: Mon, 18 Mar 2024 08:57:33 -0300

To: Michael Graham, notmuch@notmuchmail.org

Cc:

From: David Bremner


Michael Graham <magog@the-wire.com> writes:

> 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 think it's just a problem with too much quoting (try tree without ',
since you already quoted the outside expression).

Even for people that prefer not to use customize, inspecting the
expression that M-x customize-variable generates can help debug these
kind of problems (that's what I did to see what was wrong with your
example).

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

Thread: