On Wed, Jun 26, 2002 at 08:17:29PM +0200, Nicolas Rachinsky wrote:
> Please do NOT reply to random messages, create a new thread instead.
>
Sorry for the goof up.

> try
> folder-hook !Trash "push '<enter-command>unset maildir_trash<enter>'"
>
This problem is solved. But now I am having a problem further down in
the hook i.e I am tagging deleted messages and saving them to Trash. But
if there are no deleted messages prior to entering a folder, the action
of saving the supposed tagged deleted messages is applied on the
current message. here is the whole hook :

folder-hook !Trash 'push "<enter-command>unset 
maildir_trash<enter><tag-pattern>~D<enter><save-message>Mail/Trash/<enter><enter-command>set
 maildir_trash<enter>"'

I have tried it with setting auto-tag also which is unset in muttrc but
action is same.
How can I prevent the action of saving messages if their are no tagged
messages according to the pattern.

Thank you all for helpfull replies.

> Nicolas

vikram...
--
         ||||||||
         ||||||||
^^'''''^^||root||^^^'''''''^^
        // \\   ))
       //(( \\// \\
      // /\\ ||   \\
     || / )) ((    \\

Thus My Computer Chittered :
~~~~~~~~~~~~~~~~~~~~~~~~~~
Women give themselves to God when the Devil wants nothing more to do with them.
                -- Arnould

 _
~|~
 =          

Reply via email to