On Tue, Jun 28, 2016 at 03:26:30PM +0200, Bastian wrote: > I am used to have macro to move an entire thread to my trash folder: > > --- paste ---- > macro index \cd "<tag-thread><tag-prefix-cond><save-message>=trash<enter>" > "move thread to trash folder" > --- eop --- > > This works perfectly unless the thread is collapsed. > When collapsed, all messages in the thread are tagged (great), but only > the visible, first message is saved/deleted. > > So <tag-prefix> does not work on collapsed messages with my config. > > I failed to find it, but is there a config option to change that > behaviour?
Hello Bastian, using <delete-thread>, even on a collapsed thread, correctly tags every message with 'D'. Of course you'd have to add, say set trash="+trash" set delete=yes to your .muttrc. Would that fit your use case?