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

weird behavior



Pals,

    This is a weird mutt behavior that I never quite understood,
and now I need to understand. I didn't find this on the manual.
Mutt versions 1.5.11 and 1.4.2.

    I have in my .muttrc:

set folder=~/mail
macro index y "cimaps://my.imap.server\n:set 
folder=imaps://my.imap.server/MAIL1\n"

When I enter mutt, if I press "c?" it shows me the content of the
local ~/mail dir. And, if I enter mutt and press "yc?", it shows me
the content of the remote MAIL1 IMAP dir. All as expected.

    BUT: if I enter mutt, press "c?q" (shows me ~/mail content and
returns to index), and then I press "yc?", it STILL shows me the
~/mail dir content, although ":set folder" shows me
"imaps://my.imap.server/MAIL1" !!! Same happens all the way arround.

    That is, mutt does not understand the second "folder=" directive
*IF* the content of the first "folder" directory was shown. So, it
appears that the content of the variable expanded by "?" or TAB is not
always the content of "folder". Which is this variable, how can I set
it or how it is set??

    Thanks!!

        Luis.