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

Question: <save-message> equivalent for threads? #687

Closed
ahmedelgabri opened this issue Jul 25, 2017 · 8 comments
Closed

Question: <save-message> equivalent for threads? #687

ahmedelgabri opened this issue Jul 25, 2017 · 8 comments

Comments

@ahmedelgabri
Copy link

I'm trying to find a way to archive a whole thread, but can't seem to find a straight forward way to do this, for example there is <save-message> but I don't think there is a <save-thread>? Maybe I'm missing something here.

@riesebie
Copy link
Contributor

riesebie commented Jul 25, 2017 via email

@nerdyshelties
Copy link

nerdyshelties commented Jul 25, 2017 via email

@ahmedelgabri
Copy link
Author

So a macro like this should work?

macro index,pager Y "<tag-thread><save-message>=Personal/Personal.Archive<enter>" "Archive thread"

@flatcap
Copy link
Member

flatcap commented Jul 25, 2017

Nearly. You need to add <tag-prefix> -- meaning "apply the next command to all tagged emails"

macro index,pager Y "<tag-thread><tag-prefix><save-message>=Personal/Personal.Archive<enter>" "Archive thread"

But there's a problem. It doesn't work if the thread is collapsed -- I must be missing something.
I've checked old versions of NeoMutt and Mutt but they all work the same: <tag-prefix><ACTION> only works on the root emails.

@ahmedelgabri
Copy link
Author

Nearly. You need to add <tag-prefix> -- meaning "apply the next command to all tagged emails"

Thanks!

But there's a problem. It doesn't work if the thread is collapsed -- I must be missing something.
I've checked old versions of NeoMutt and Mutt but they all work the same: <tag-prefix><ACTION> only works on the root emails.

There is no way around this?

@flatcap
Copy link
Member

flatcap commented Jul 26, 2017

There is no way around this?

Not a the moment.

I'm just getting some second opinions, but it seems like this is a bug. And bugs get fixed :-)

@ahmedelgabri
Copy link
Author

Cool, thanks @flatcap :)

@pprw
Copy link

pprw commented Nov 14, 2017

set auto_tag = yes

always apply actions for all tagged emails (no need to use tag-prefix)

dirn added a commit to dirn/dotfiles that referenced this issue Apr 29, 2023
Just as with deleting messages, moving and applying labels to individual
messages is cumbersome. By operating on tagged messages (and in this
guess tagging a thread when pressing the key), it feels much simpler.

These binds were inspired by
neomutt/neomutt#687. Now if only I could find
a way to rebind `<tag-message>` to `x`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants