[lug] What was I thinking?

David L. Anselmi anselmi at anselmi.us
Wed Aug 13 20:29:43 MDT 2014


Jeffrey S. Haemer wrote:
> No good deed goes unpunished.
[...]
> By fishing through the code, narrowing things down, and doing experiments,
> I discovered that when you bring up a mailbox in mutt, delete some
> messages, and exit, the messages are removed from the mailbox but the mtime
> is *unchanged.* Mutt actually appears to cache the mtime, modify the file
> (leaving it with the same inode number), and then reset the mtime to what
> it started out as. And no, mail(1) doesn't even do this. It's probably a
> feature.

Yeah, a feature I think.  It looks like mutt mtime gets updated when new mail arrives not when the 
file is changed.

http://www.mutt.org/doc/devel/manual.html#new-mail

Dave




More information about the LUG mailing list