* On 21 Mar 2013, Louis-David Mitterrand wrote: > Hi, > > I have this macro to archive messages: > > macro pager,index Sl "<tag-pattern>~h'Return-Path: > <u...@example.com>'<enter><tag-prefix><save-message>=Archive<enter>" "archive > messages" > > But if no messages have been tagged then <tag-prefix> fails and the > currently hightlighted message gets archived. > > What is the correct way to do it?
tag-prefix-cond apply next function ONLY to tagged messages macro pager,index Sl "<tag-pattern>~h'Return-Path: <u...@example.com>'<enter><tag-prefix-cond><save-message>=Archive<enter>" "archive messages" -- David Champion • d...@bikeshed.us