Benjamin D muttered:
> > folder-hook . macro index d "<save-message>~/mail/trash<enter>y"
> > folder-hook . macro pager d "<save-message>~/mail/trash<enter>y"
> > folder-hook trash macro index d "<delete-message>"
> > folder-hook trash macro pager d "<delete-message>"
>
> The macros work great except for when I view an individual attacment
> ('v' to get to view-attachments menu, '<Return>' to display message
> attachment). In this case, the macro is still active since the
> attachment is viewed with the pager. When I hit 'd' to delete the
> message, I'm asked if I want to overwrite, append or cancel, but it does
> not indicate the filename.
>
> Is it possible to avoid this?
Yep, use another key binding.
macro index <delete> \
<tag-pattern>~D<enter><tag-prefix><save-message>=trash<enter><sync-mailbox>
This 'd' still has the normal <delete-message> function but pressing
delete will move them to my thrash-folder.
HTH,
Michael
--
"...Deep Hack Mode--that mysterious and frightening state of
consciousness where Mortal Users fear to tread."
(By Matt Welsh)
PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key