unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Michael Graham <magog@the-wire.com>
To: notmuch@notmuchmail.org
Subject: (Emacs) Use tree view by default from notmuch-hello and notmuch-jump ?
Date: Sun, 17 Mar 2024 17:49:26 -0400	[thread overview]
Message-ID: <m1jzm0il5l.fsf@the-wire.com> (raw)



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


             reply	other threads:[~2024-03-18  0:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-17 21:49 Michael Graham [this message]
2024-03-18 11:57 ` (Emacs) Use tree view by default from notmuch-hello and notmuch-jump ? David Bremner
2024-03-18 14:02   ` Michael Graham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1jzm0il5l.fsf@the-wire.com \
    --to=magog@the-wire.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).