Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to kill a thread? #5

Closed
apm256 opened this issue Dec 3, 2014 · 5 comments
Closed

how to kill a thread? #5

apm256 opened this issue Dec 3, 2014 · 5 comments

Comments

@apm256
Copy link

apm256 commented Dec 3, 2014

Hi gauteh,
I was wondering if astroid allows to "kill" a thread with a shortcut (for instance, by adding a killed tag, in the sup or alot way) as it does for spam with the S key?

@gauteh
Copy link
Member

gauteh commented Dec 3, 2014

Excerpts from apm256's message of December 3, 2014 14:47:

Hi gauteh,
I was wondering if astroid allows to "kill" a thread with a shortcut (for instance, by adding a killed tag, in the sup or alot way) as it does for spam with the S key?

Not at the moment, I was thinking about adding a 'hide' -> 'hidden' with
'H'. notmuch_query_add_tag_exclude() should take care of the rest.

@apm256
Copy link
Author

apm256 commented Dec 3, 2014

ok, thanks!

gauteh added a commit that referenced this issue Dec 6, 2014
pressing C-m in thread_index_mode will toggle the muted flag for the
thread. the thread will be excluded for any searches that does not
explicity include the muted tag (doesn't work for some reason).
@gauteh
Copy link
Member

gauteh commented Dec 6, 2014

Should be fixed in 39dd818, there is some issues with getting muted threads to show up though.. will see if that can be fixed.

@gauteh gauteh closed this as completed Dec 6, 2014
@apm256
Copy link
Author

apm256 commented Dec 8, 2014

Works well here, thanks. No problem to display muted threads when I want to, for the moment.

@gauteh
Copy link
Member

gauteh commented Dec 8, 2014

Yes, turns out notmuch_query_count_threads is destructive (http://notmuchmail.org/pipermail/notmuch/2014/019776.html), I removed the call in 2235b67 and it should work fine now. Need to get the other default excluded tags in as well (read them from the notmuch config file or something).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants