On Mon, Aug 29, 2016 at 05:27:15PM -0400, Fred Smith wrote: > On Mon, Aug 29, 2016 at 02:06:34PM -0500, Will Fiveash wrote: > > On Mon, Aug 29, 2016 at 02:33:01PM -0400, Jon LaBadie wrote: > > > The message index shows a "D" when a message has been > > > deleted or when it has been saved. Is there a way > > > to distinguish which of the two operations (delete > > > or save) has been performed? > > > > I wrote a small patch (attached) to provide a '$' indication in the > > index for messages that have been successfully saved or copied. It > > exists in a separate column from the deletion indicator. > > So, I'm wondering... with your patch is the message actually deleted > from the folder it was copied from, or does it stay there with a $ > flag, forever?
My patch only adds a '$' to a message in the index entry for that message if it is saved or copied during that running mutt session. Once the current mailbox is synced via the '$' command if the message was saved and marked for deletion then that index line for that email will disappear along with the '$'. Note that the '$' saved/copied indicator only persists for the mutt session meaning that once that mutt session is ended, say by quitting mutt, the current '$' saved indicators will be gone. Basically I use this to review the messages marked for deletion before I sync that mailbox to make sure that the ones I want saved have been. -- Will Fiveash
