On Thu, Mar 10, 2005 at 03:00:53PM +0100, Thomas Glanzmann wrote:
> * Adeodato Simó <[EMAIL PROTECTED]> [050310 07:10]:
>>   Just in case you didn't spot it already.

> I described from the lists.

>>> If I open a maildir using mutt's mailboxes list, and then open it
>>> using "mutt -f Mail/drow", the header cache creates a second
>>> cache.  They're the same mailbox, but one is "Mail/drow" and the
>>> other is "/home/drow/Mail/drow".

> I could hack something up next monday to prepend cwd if mailbox path
> doesn't start with a '/'.

That's not enough: I now hit the problem when opening the same Maildir
folder as "foo" and "foo/"; again two different caches are created.

(I typically use "foo" with the bash mutt-specific autocompletion
 because that's what it gives me and "foo/" with the internal mutt
 autocompletion on "open mailbox", because that's what it gives me.)

Also consider symlinks in the path, etc. Really, your best approach as
far as I understand is to use realpath() on the filename/path of the
mailbox before md5-ing it.

-- 
Lionel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to