On 28Jun16 18:52 +0200, Francesco Ariis wrote:
> 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?
> 
>     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?

That might be a solution. (I do not use any of the trash patches
though.)

Further more, any other command with the <tag-prefix> is not applied to
messages that are hidden in collapsed threads. Is that intended
behavior?

-- 
Bastian

Reply via email to