unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: richardhstanton@gmail.com
To: David Bremner <david@tethera.net>
Cc: erik colson <erik.colson@beavernet.be>, notmuch@notmuchmail.org
Subject: Re: notmuch-search not excluding excluded tags
Date: Tue, 21 May 2024 09:22:56 -0700	[thread overview]
Message-ID: <8F590C18-C708-49B7-80F2-CB4C8FDA9B43@gmail.com> (raw)
In-Reply-To: <87ikz75lzm.fsf@tethera.net>

I added the following definitions to my init.el file, which seems to solve the problem:

(defun org-notmuch-search-open (path _)
  "Follow a notmuch search link specified by PATH."
  (notmuch-search path notmuch-search-oldest-first notmuch-search-hide-excluded))


(defun notmuch-search-default(path)
  "Add default options to notmuch-search"
  (notmuch-search path notmuch-search-oldest-first notmuch-search-hide-excluded))


> On May 21, 2024, at 6:32 AM, David Bremner <david@tethera.net> wrote:
> 
> erik colson <erik.colson@beavernet.be> writes:
> 
>> 
>> Thanks for the hint, but tried setting the var with setq-default, but
>> still same issue.. :
>> 
>>  notmuch-search-hide-excluded is a variable defined in ‘notmuch-lib.el’.
>> 
>>  Its value is nil
>>  Original value was t
>>  Local in buffer *notmuch-saved-tree-1week and unread*; global value is t
>> 
>>  Hide mail tagged with a excluded tag.
>> 
> 
> Hmm. I can't duplicate that here. Can you try with a minimal
> configuration? If you have the source you can run "./devel/try-emacs-mua
> -q" to run without any personal configuration.
> 
> Another thing to try is to hit "i" in a search view and see if it
> toggles properly.
> 
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org
\r

      reply	other threads:[~2024-05-21 16:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 17:59 notmuch-search not excluding excluded tags Richard Stanton
2024-04-16 14:23 ` David Bremner
2024-04-16 19:00   ` Richard H. Stanton
2024-04-16 22:15     ` Richard H. Stanton
2024-04-16 22:22       ` Richard H. Stanton
2024-04-16 22:40         ` Richard H. Stanton
2024-04-16 22:53           ` Richard H. Stanton
2024-04-17  8:33             ` Richard Stanton
2024-05-20 19:24   ` erik colson
2024-05-21  0:51     ` David Bremner
2024-05-21  8:22       ` erik colson
2024-05-21 13:32         ` David Bremner
2024-05-21 16:22           ` richardhstanton [this message]

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=8F590C18-C708-49B7-80F2-CB4C8FDA9B43@gmail.com \
    --to=richardhstanton@gmail.com \
    --cc=david@tethera.net \
    --cc=erik.colson@beavernet.be \
    --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).