On Monday, 25 October 1999 at 15:39, Chris Green wrote:
> I'm somewhat confused by the way one is supposed to navigate
> folders/directories on an IMAP server.  The mutt version I'm running
> here (0.96i) seems slightly different from the other version I'm
> trying (1.1i) but both have now confused me thoroughly.
> 
> Is there any way to go straight to an IMAP folder directory as opposed
> to opening a specific mailbox?  If I just specify the IMAP server name
> as "{mailandnews.co.uk}" I get the inbox.

Reading this and your other message I have an idea what is going on. Try
setting $folder to "{mailandnews.co.uk}" in your muttrc. Currently it's
defaulting to ~/Mail.

This explains your 'c' problem too, I think. When you type 'c' and give
a mailbox name you go straight there. You have to press <tab> to enter
the browser. When you enter the browser I believe you go to wherever
$folder points, but the browser remembers your last directory for the
rest of your session. So if you <tab>, enter ~/Mail, THEN press c and
give {mailandnews.co.uk}, you'll start browsing the IMAP server, and
you'll stay there next time you start browsing. 'c' in the browser is
different from 'c' in the index. In the index you select mailboxes, in
the browser you select folders.

> There also seems some confusion (to me anyway) when I issue a 'c'
> command followed by a '?' to show a folder list.  Sometimes I get my
> local folder list and sometimes I get the IMAP server folder list and
> there seems little rhyme or reason as to which I get.

See above. In short, try doing set folder={mailandnews.co.uk} in your
muttrc.

> Finally the IMAP server I'm using shows all folders as both folders
> containing mail and as folders containing folders, e.g. :-
> 
> ->  1     IMAP                                Action
>     2     IMAP                                Action.
>     3     IMAP                                Anne   
>     4     IMAP                                Anne.
> [etc.]
> 
> If I open 'Action' I get the mail therein (as one would expect) but if
> I open 'Action.' I get a folder list at the level containing 'Action.',
> not the contents of 'Action.', is this a bug in the server or a bug in
> mutt, or neither?

Neither. It's a clunky interface resulting from the invalid assumption
that usually folders either contain messages or subfolders but not both.
Nice solutions have been proposed, but I haven't built them yet and
neither has anyone else. :(

I'm currently trying to rethink the architecture and fix bugs. After a
bit of that, I may tackle the browser again...
-- 
Brendan Cully <[EMAIL PROTECTED]> | OLD SKOOL ROOLZ
"I hope I don't win                |          .-_|\ 
 The rules say to bring a friend   |         /     \
 I don't have any"                 | Perth ->*.--._/

Reply via email to