unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: notmuch@notmuchmail.org
Subject: Emacs: UI problems with messages excluded by several tags
Date: Thu, 18 Jul 2019 15:06:18 +0300	[thread overview]
Message-ID: <87ftn31r9h.fsf@iki.fi> (raw)

[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]

Messages with two or more tags that make then excluded from searches can
make them difficult to find in Notmuch Emacs interface. Let's say we
have config:

    [search]
    exclude_tags=spam;deleted;

*notmuch-hello* buffer has "All tags" section which lists how many
messages there are for every tag. However, if a message has two
different excluding tags (like "spam" and "deleted") then that message
is not shown anywhere in the "All tags" list. The message count does not
show it and the message does not show in the search when user clicks the
tag.

My opinion:

 1. "notmuch count" command should have --exclude option like "notmuch
    search" and Emacs interface should use --exclude=false in "All tags"
    section.
 
 2. When clicking a tag in "All tags" section the search operation
    should use --exclude=false because in these searches user (most
    likely) wants all messages by a tag regardless of other excluding
    tags.

-- 
///  OpenPGP key: 4E1055DC84E9DFF613D78557719D69D324539450
//  https://keys.openpgp.org/search?q=tlikonen@iki.fi
/  https://keybase.io/tlikonen  https://github.com/tlikonen

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

             reply	other threads:[~2019-07-18 12:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-18 12:06 Teemu Likonen [this message]
2019-07-19 12:19 ` Emacs: UI problems with messages excluded by several tags David Bremner
2019-07-19 12:43   ` Teemu Likonen
2019-07-24 21:05     ` David Bremner
2022-03-03 14:10     ` David Bremner

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=87ftn31r9h.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --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).