Re: set up multiple account

2009-02-14 Thread bill lam
On Sat, 14 Feb 2009, Ed Blackman wrote: > Use the same muttGmail script, but include it in .muttrc with > source 'muttGmail foo|' Thanks Ed, it works very well now. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.

Re: set up multiple account

2009-02-14 Thread Ed Blackman
On Sat, Feb 14, 2009 at 02:50:05PM +0800, bill lam wrote: set ?my_test1 does give the expected answer but not for my_test2 and my_test3 (unknown variable). My conjecture is the that back-tick trick only work for the first line for output and it will ignore the rest of lines. Huh. I experience

Re: set up multiple account

2009-02-13 Thread bill lam
On Fri, 13 Feb 2009, Ed Blackman wrote: > Do this, inside mutt type: > > :`echo 'set my_test=foo'` > > and then > > :set ?my_test This example worked, but I might find the reason why it didn't work in general. I saved the following script as mutt-test and put a line `mutt-test bar` in my .muttrc

Re: set up multiple account

2009-02-13 Thread Ed Blackman
On Sat, Feb 14, 2009 at 12:17:43AM +0800, bill lam wrote: On Thu, 12 Feb 2009, Ed Blackman wrote: `muttGmail cfoobar` `muttGmail ifoobar` Mutt will run muttGmail with the given argument. muttGmail will take the argument and spit out the complete folder-hook. Mutt will then interpret the o

Re: set up multiple account

2009-02-13 Thread bill lam
On Thu, 12 Feb 2009, Ed Blackman wrote: > `muttGmail cfoobar` > `muttGmail ifoobar` > > Mutt will run muttGmail with the given argument. muttGmail will take > the argument and spit out the complete folder-hook. Mutt will then > interpret the output as configuration commands, and you're all se

Re: set up multiple account

2009-02-12 Thread Ed Blackman
On Thu, Feb 12, 2009 at 07:04:06PM +0800, bill lam wrote: (I apologise that I once saw a thread on this subject but could not locate it,) I got several gmail accounts that have to be set up inside muttrc like: folder-hook "imaps://cfoo...@imap.gmail.com" '\ set from="cfoo...@gmail.com" ; \ set

Re: set up multiple account

2009-02-12 Thread Christian Brabandt
Hi Grant! On Thu, 12 Feb 2009, Grant Edwards wrote: > On 2009-02-12, Rajarajan Rajamani wrote: > > On Thu, Feb 12, 2009 at 6:04 AM, bill lam wrote: > >> I got several gmail accounts that have to be set up inside muttrc > >> like: > > > > There may be more elegant ways of doing it but one that c

Re: set up multiple account

2009-02-12 Thread Grant Edwards
On 2009-02-12, Rajarajan Rajamani wrote: > On Thu, Feb 12, 2009 at 6:04 AM, bill lam wrote: >> (I apologise that I once saw a thread on this subject but could not >> locate it,) >> >> I got several gmail accounts that have to be set up inside muttrc like: > > There may be more elegant ways of doi

Re: set up multiple account

2009-02-12 Thread Rajarajan Rajamani
On Thu, Feb 12, 2009 at 6:04 AM, bill lam wrote: > (I apologise that I once saw a thread on this subject but could not > locate it,) > > I got several gmail accounts that have to be set up inside muttrc like: > There may be more elegant ways of doing it but one that comes to mind is that you put

set up multiple account

2009-02-12 Thread bill lam
(I apologise that I once saw a thread on this subject but could not locate it,) I got several gmail accounts that have to be set up inside muttrc like: folder-hook "imaps://cfoo...@imap.gmail.com" '\ set from="cfoo...@gmail.com" ; \ set folder="imaps://cfoo...@imap.gmail.com" ; \ set spoolfile="+