<<< Date Index >>>     <<< Thread Index >>>

Delimiter used with "+" or "=" shortcut



I have an account on a Courier imapd server, and my mailboxes
look like this:

    imaps://imap.example.com/INBOX
    imaps://imap.example.com/INBOX.friends
    imaps://imap.example.com/INBOX.work
    imaps://imap.example.com/INBOX.lists.mutt
    imaps://imap.example.com/INBOX.lists.vim

As you can see, everything is relative to "INBOX".  So, I set my
$folder like this:

    set folder = "imaps://imap.example.com/INBOX"

Which is great because I can then type "c" to change to a folder and
simply type "=friends" to select that mailbox.

I want mutt to open to my work mailbox, so I set spoolfile and also
my other standard mailboxes:

    set spoolfile = +work
    set record= +sent-mail
    set postponed= +postponed

This works perfectly.

What does not work is "mailboxes" to set which folders to watch:

    mailboxes \
        imaps://imap.example.com/INBOX.lists.mutt \
        =lists.vim

The result of that is that my mailboxes list looks like this:
(notice the "/" delimiter mutt has added)

    01  120 imaps://imap.example.com/INBOX.lists.mutt
    02  0   imaps://imap.example.com/INBOX/lists.vim
                                          ^

The odd result is that both of those work for changing to that
mailbox, but the ones where I use the "=" shortcut do not display
any message counts (not the zero new messages in the example).

Same thing happens if I use "+lists.vim".

I tried modifying my "imap_delim_chars" to just the ".", but not
difference.

At one point in Mutt's history (1.5.14 perhaps) using "=" as in the
example above worked.  I have posted a number of times about this
issue in the past, but just not noticed the delimiter.

Yes, I could use:

    set folder = "imaps://imap.example.com/"

    mailboxes \
        =INBOX.lists.mutt \
        =INBOX.lists.vim

But then I have to type "c =INBOX.friends" when I want to change mailboxes.


-- 
Bill Moseley
moseley@xxxxxxxx
Sent from my iMutt