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

Re: multiple functions on last message



* David Pippenger <dpippen@xxxxxxxxx> [2004-08-27 16:28 -0700]:
> I've redefined 'd' to clear the 'N' flag and then delete the message:
> 
> macro index d <clear-flag>N<previous-undeleted><delete-message>
> 
> this works great unless I'm on the last message in which case the 'N' 
> flag gets cleared but the second to last message gets deleted.
> 
> Any suggestions for a workaround or another approach to doing this?

remove <previous-undeleted> and add unset resolve at the beginning and
set resolve at the end.

Nicolas