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

Re: Alternative Identities



El dissabte, 26 de juliol del 2008 a les 07:44, Cameron Simpson va escriure:

> On 17Jul2008 20:38, Jorge Luis <lists@xxxxxxxx> wrote:
> | On Thu, Jul 17, 2008 at 09:32:46PM +0100, Ken Moffat wrote:
> | > # macros to invoke a profile
> | > macro   index   <F10>    ":source ~/.mutt/profile.default\n" # "Load 
> default profile"
> | > macro   pager   <F10>    ":source ~/.mutt/profile.default\n" # "Load 
> default profile"
> | > macro   index   <F11>    ":source ~/.mutt/profile.lfs\n" # "Load profile: 
> LFS"
> | > macro   pager   <F11>    ":source ~/.mutt/profile.lfs\n" # "Load profile: 
> LFS"
> | 
> | I'm using this system now to good effect.  There's one minor improvement
> | I'd like to make, but I'm not sure how to do it.  Is there some way to
> | cause these macros to load the respective mboxes upon execution?  As
> | they stand, I have to call up the mbox listing manually after sourcing
> | the macros.
> 
> You can't just make the macros longer? Eg (untested):
> 
>   macro   index   <F10>    ":source ~/.mutt/profile.default\nc" # "Load 
> default profile"
> 
> (Note the "c" inserted at the end of the macro.)

I am having the same issue that Jorge Luis is having: 
> Also, when I switch "formats"
> the spoolfile and mbox don't change.  That is, when I type c in the
> index and then ! I don't get the right mailbox.

I have tried adding the 'c' key, as suggested in this post, getting the
usual 'change mailbox' prompt. 

I define this type macro to change mail accounts:
macro index,pager <esc><F1> ":source ~/.mutt/Comptes/joanet\n" "IMAP Joanet"

And I have this in my ~/.mutt/Comptes/joanet

$ cat joanet
set folder=imap://localhost
set imap_user=username
set imap_pass=password
set imap_authenticators=login

Cheers!

-- 
Location: 41:24:51N (41.41417) 2:11:25E (2.1903)
Linux User: #463211