a puzzlement
I just posted a question about dates on emails. When I exited Mutt after sending it I noticed a feature of Mutt that has long puzzled me and I decided to ask what about it: When Mutt closes, it invariable issues the message: Mailbox is unchanged. This message regardless of how much or how little work I have done. Once I got it after I deleted 20,000 emails from a single mailbox, or maybe I misunderstand what a mailbox is. Anyway, what does this message mean? Should I ever expect to see a different message? Why is it there? I'm puzzled TIA -- Paul E Condon pecon...@mesanetworks.net
Re: a puzzlement
On Sat, Apr 18, 2009 at 10:53:39AM -0600, Paul E Condon wrote: I just posted a question about dates on emails. When I exited Mutt after sending it I noticed a feature of Mutt that has long puzzled me and I decided to ask what about it: When Mutt closes, it invariable issues the message: Mailbox is unchanged. If you delete some message, it will say something like '1 deleted, 100 kept'. -- Zhengquan
Re: a puzzlement
* On 18 Apr 2009, Paul E Condon wrote: When Mutt closes, it invariable issues the message: Mailbox is unchanged. Do you sync-mailbox before you quit or exit? Mailbox is unchanged means that no messages were changed since the last sync. (It doesn't count changes since startup, just changes to the current context; and the context is reset whenever you sync.) -- -D.d...@uchicago.eduNSITUniversity of Chicago
Re: a puzzlement
On 2009-04-18_12:05:51, David Champion wrote: * On 18 Apr 2009, Paul E Condon wrote: When Mutt closes, it invariable issues the message: Mailbox is unchanged. Do you sync-mailbox before you quit or exit? Mailbox is unchanged means that no messages were changed since the last sync. (It doesn't count changes since startup, just changes to the current context; and the context is reset whenever you sync.) What is a sync in this context? Is it something I should be doing? I thought Mutt did what I think of as sync without my asking. I just did a string search on 'sync-mailbox' in the Mutt info page and got no hits. Where is it documented? -- Paul E Condon pecon...@mesanetworks.net
Re: a puzzlement
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday, April 18 at 12:29 PM, quoth Paul E Condon: What is a sync in this context? Essentially, when mutt opens a mailbox, it builds a picture of the mailbox's state in memory. When you mark messages as deleted, this is done in memory, rather than immediately to disk (this is to speed up common use, and also to make it possible to undelete messages to some extent). When you sync, the changes from memory are written to disk. A sync normally happens when you close a mailbox, but can be triggered earlier. Is it something I should be doing? Generally, it's something you already do whenever you close a mailbox. I thought Mutt did what I think of as sync without my asking. It does. But it does it whenever you close a mailbox (e.g. by changing to a different one). I just did a string search on 'sync-mailbox' in the Mutt info page and got no hits. Where is it documented? It's documented in the manual: http://www.mutt.org/doc/devel/manual.html, though it doesn't go into great detail... it really just alludes to the synchronization. ~Kyle - -- University politics are vicious precisely because the stakes are so small. -- Henry Kissinger -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iEYEARECAAYFAknqHz0ACgkQBkIOoMqOI17LpwCgqrngAsKWDx7IcIMpG1NyXrjI /QYAoJ3aJrzECbdl4nOcLSmxnpLWaE94 =5hDX -END PGP SIGNATURE-
Re: a puzzlement
On 2009-04-18_13:43:09, Kyle Wheeler wrote: On Saturday, April 18 at 12:29 PM, quoth Paul E Condon: What is a sync in this context? Essentially, when mutt opens a mailbox, it builds a picture of the mailbox's state in memory. When you mark messages as deleted, this is done in memory, rather than immediately to disk (this is to speed up common use, and also to make it possible to undelete messages to some extent). When you sync, the changes from memory are written to disk. A sync normally happens when you close a mailbox, but can be triggered earlier. Is it something I should be doing? Generally, it's something you already do whenever you close a mailbox. I thought Mutt did what I think of as sync without my asking. It does. But it does it whenever you close a mailbox (e.g. by changing to a different one). I just did a string search on 'sync-mailbox' in the Mutt info page and got no hits. Where is it documented? It's documented in the manual: http://www.mutt.org/doc/devel/manual.html, though it doesn't go into great detail... it really just alludes to the synchronization. I found my problem. I wasn't using header cacheing, but I also wasn't getting RFC2822 date format correct. So, naturally I kept getting Epoch. Thanks and sorry about having an annoying way of expressing myself. -- Paul E Condon pecon...@mesanetworks.net