#2897: message counts in mailbox view all zero (IMAP, courier) -----------------------------+---------------------------------------------- Reporter: sideshowbarker | Owner: brendan Type: defect | Status: infoneeded_new Priority: major | Milestone: 1.6 Component: IMAP | Version: 1.5.19 Resolution: | Keywords: message counts patch -----------------------------+---------------------------------------------- Changes (by brendan):
* status: new => infoneeded_new Comment: Replying to [comment:28 pebo]: > > Does the message count work if you change imap_delim_chars to '.' (or './')? > > Yes and yes. ok. I guess we're still not converting to local representation everywhere. I don't suppose you could send me a muttdebug for the failure case? > > In the diff hunk you posted, ImapDelimChars corresponds to the imap_delim_chars setting in your .muttrc. It defaults to '/.', but I personally use './' precisely so that the path separators are displayed as '.'. > > I never had to change this before and the paths were always separated by a dot (since dovecot 1.0.x). What should idata->delim refer to BTW? The delimiter advertised by the imap-server? yes, once mutt knows the delimiter (by running LIST "" "" when it first connects, IIRC), it should substitute idata->delim into IMAP paths to replace any occurence of the characters in imap_delim_chars. IOW if your imap_delim_chars is "/." and your URL is imap://foo/Lists.folder/baz, and idata->delim is ., mutt should send the server Lists.folder.baz, whereas if idata->delim is /, mutt will send Lists/folder/baz. The reason you see Lists/foo when you start up is that mutt hasn't connected to the IMAP server at the point where you define your folder or spoolfile, so it falls back to using the first char of imap_delim_chars. Again, this is supposed to be purely cosmetic, but apparently we're still not canonicalizing properly somewhere. -- Ticket URL: <http://dev.mutt.org/trac/ticket/2897#comment:29> Mutt <http://www.mutt.org/> The Mutt mail user agent