Re: Emacs: UI problems with messages excluded by several tags

2019-07-19 Thread David Bremner
Teemu Likonen  writes:

> *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.

I'm not sure I follow you. It seems like this should be the behaviour
also if the message is tagged with one exclude tag; i.e. it sounds like
it is working as I expect.  Can you explain how 2 exclude tags makes a
difference for you?

d
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Emacs: UI problems with messages excluded by several tags

2019-07-19 Thread Teemu Likonen
David Bremner [2019-07-19T09:19:13-03] wrote:

> I'm not sure I follow you. It seems like this should be the behaviour
> also if the message is tagged with one exclude tag; i.e. it sounds
> like it is working as I expect. Can you explain how 2 exclude tags
> makes a difference for you?

I think "All tags" section should show every tags and the count
regardless of exclude settings. It does that now if there is only one
excluding tag for a message. Messages are hidden if there are more
excluding tags.

Let's test:

$ notmuch config set search.exclude_tags exclude-1 exclude-2

Now add "exclude-1" tag for some message and it will show in "All tags"
section with count 1.

All tags: [hide]

   1 exclude-1

Now add also "exclude-2" tag for the same massage and see the "All tags"
section again.

All tags: [hide]

   [neither exclude-1 nor exclude-2 here]

I think the section should show both tags and when a tag clicked it
should show all messages with that tag.

All tags: [hide]

   1 exclude-1  1 exclude-2

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


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Notmuch support for GnuPG Web Key Directory

2019-07-19 Thread Teemu Likonen
Ralph Seichter [2019-07-10T21:58:00+02] wrote:

> I have set up a Web Key Directory (see https://wiki.gnupg.org/WKD),
> which is easy to do, and now I am wondering about Notmuch support for
> WKD. Has anybody considered this, and perhaps even compiled a list of
> necessary steps to implement it?

What WKD support would mean for Notmuch front-end programs? I know that
WKD is a key locating technology for GnuPG or OpenPGP keys in general
but it seems to me that it is GnuPG's job. With "auto-key-locate"
settings in place a command like

gpg --encrypt --recipient person@domain

would include WKD key lookup if the recipient's key isn't found from the
local keyring. Also, signature checking with "auto-key-retrieve" option
in GnuPG 2.2.17 will prefer WKD over keyservers (by default).

So, what is there left for Notmuch and email clients? Do you mean a
button like "Locate message sender's key" which would run a command like
this:

gpg --auto-key-locate clear,nodefault,wkd,keyserver \
--locate-key person@domain

(Or use --locate-external-key which is in GnuPG 2.2.17.)

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


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch