On Tue, Oct 23, 2001 at 01:44:13AM -0400, David T-G wrote: > Martin -- > > ...and then Martin Man said... > % On Mon, Oct 22, 2001 at 09:10:22PM +0200, Thomas Roessler wrote: > % > On 2001-10-22 17:56:20 +0200, Martin Man wrote: > % > > % > > just switched over to maildirs and realized that mutt moves all > % > >messages from new/ subdir to cur/ after opening and closing given Maildir/, > % > >messages are correctly marked as old, but because they're moved out of new/ > % > >some monitoring programs (gkrellm) which poll the new/ directory can't > % > >count > % > >them as unread messages. > ... > % > % am I the forst who is missing this functionality in mutt ??? can't believe > % it.. > > Are you the first? Probably not. Will many mutt folks see it your way? > Probably not. Could you write your own feature patch and announce it and > work around the "problem"? I dunno; how's your coding? :-) not bad, patch is already produced but it doesn't work as expected, because Maildir messages don't have Status: field, ... certainly I found at cr.yp.to/proto/maildir.html description of colon appended flags which indicate this,
> > No, I haven't read the specs, either, but I (IMHO) think that 'unread' > has nothing to do with 'new', and so it's proper to move old unread > messages to /cur and leave new unread messages in /new; if you want 'em > to stay, then don't mark 'em old! matter of taste but qmail's maildir(5) says <quote> Files in cur are just like files in new. The big difference is that files in cur are no longer new mail: they have been seen by the user's mail-reading program. ^^^^^^^^^^^^^^^^^^^ </quote> sure I was wrong here..., sorry > > If you're coding up some program, as your example said, it would pay to > be *very* familiar with the standard and implement it fully and to the > letter. sure I'm going to patch those, unread mail checking should be done by counting messages in new/ and adding the numer of messages in cur/ which don't have an S flag appended in filename after `:` colon, ... curiously lot of programs I've taken a look at are simply counting messages in new (gkrellm, gnome mail applet, etc.), I'm going to patch-fix them > > HTH & HAND > > > :-D > -- > David T-G * It's easier to fight for one's principles > (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie > (work) [EMAIL PROTECTED] > http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! > once again thanx and sorry for blaming the best MUA :-)) martin -- 2CC0 4AF6 92DA 5CBF 5F09 7BCB 6202 7024 6E06 0223