unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Michael Graham <magog@the-wire.com>, notmuch@notmuchmail.org
Subject: Re: (Emacs) Use tree view by default from notmuch-hello and notmuch-jump ?
Date: Mon, 18 Mar 2024 08:57:33 -0300	[thread overview]
Message-ID: <87plvr7nwy.fsf@tethera.net> (raw)
In-Reply-To: <m1jzm0il5l.fsf@the-wire.com>

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

  reply	other threads:[~2024-03-18 11:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-17 21:49 (Emacs) Use tree view by default from notmuch-hello and notmuch-jump ? Michael Graham
2024-03-18 11:57 ` David Bremner [this message]
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=87plvr7nwy.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=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).