Emacs: UI problems with messages excluded by several tags

Teemu Likonen tlikonen at iki.fi
Thu Jul 18 05:06:18 PDT 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 507 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20190718/8f4baf8b/attachment.sig>


More information about the notmuch mailing list