mutt-kz icon indicating copy to clipboard operation
mutt-kz copied to clipboard

nm_hidden_tags not filtering "tags

Open hari-rangarajan opened this issue 9 years ago • 1 comments

I have nm_hidden_tags set to "unread,draft,flagged,passed,replied,attachment".

set index_format="%6g %Z %?Gw?%Gw& ?%?Gs?%Gs& ?%?GR?%GR& ? %D %-20.20F %?M?(%3M)& ? %s %> %4c"

I still see "!" showing up next to the messages in the index display for flagged, even though I haven't configured "!" explicitly. I also see replied and unread showing up too.

Have I misunderstood the purpose of the nm_hidden_tags?

hari-rangarajan avatar Aug 19 '15 05:08 hari-rangarajan

On Tue, Aug 18, 2015 at 10:07:51PM -0700, hari-rangarajan wrote:

I have nm_hidden_tags set to "unread,draft,flagged,passed,replied,attachment".

set index_format="%6g %Z %?Gw?%Gw& ?%?Gs?%Gs& ?%?GR?%GR& ? %D %-20.20F %?M?(%3M)& ? %s %> %4c"

I still see "!" showing up next to the messages in the index display for flagged, even though I haven't configured "!" explicitly. I also see replied and unread showing up too.

Have I misunderstood the purpose of the nm_hidden_tags?

You mix two things:

  • maildir flags (used by regular mutt emails parser)
  • tags stored in notmuch DB

nm_hidden_tags are hidden for UI, but the flags are still valid and used by mutt.

The code sync between tags and flags, but it's irrelevant in this context.

Karel

Karel Zak [email protected] http://karelzak.blogspot.com

karelzak avatar Aug 20 '15 12:08 karelzak