<<< Date Index >>>     <<< Thread Index >>>

Re: mark as read and save macro don't work correctly,



On Tue, Oct 02, 2007 at 04:30:11PM -0500, Kyle Wheeler wrote:
> On Tuesday, October  2 at 11:21 PM, quoth Raphael Brunner:
> >many thanks! I changed the lines to this and it work now!
> 
> Here's an improvement:
> 
> folder-hook . 'set sort=reverse-date-received; \
>   macro index d "<enter-command>set 
> my_resolve=$resolve<enter><enter-command>set 
> resolve=no<enter><clear-flag>N<save-message>=999-Trash<enter><sync-mailbox><enter-command>set
>  resolve=$my_resolve<enter>"; \
>   macro pager d "<enter-command>set 
> my_resolve=$resolve<enter><enter-command>set 
> resolve=no<enter><clear-flag>N<save-message>=999-Trash<enter><sync-mailbox><enter-command>set
>  resolve=$my_resolve<enter>"; \
>   macro index D "<delete-message><sync-mailbox>"; \
>   macro pager D "<delete-message><sync-mailbox>"'
> 
> ~Kyle
> -- 
> Freedom is the right to be wrong, not the right to do wrong.
>                                                  -- John G. Riefenbaker

Thanks for this idea, but now I have this:

1. the macro 'pager d' don't work (also the same without $my_resolve).
It seems, since the line is longer than before, but why? I have exactly
your lines copied... the macros D (both) works well.

any idea?
raphy