On Mon, Dec 01, 2003 at 03:53:01AM -0500, David Yitzchak Cohen wrote:
On Thu, Nov 27, 2003 at 04:27:31PM +0000, Chris Green wrote:On Thu, Nov 27, 2003 at 10:13:31AM -0600, Michael Herman wrote: > On Thu, Nov 27, 2003 at 09:50:16AM +0000, Chris Green wrote: > >Is there any way one can have 'user' variables in a .muttrc file? > > > >It would be nice to be able, for example, to set a variable to contain > >a list of all the mailing lists one is subscribed to and then to use > >it in 'lists', 'subscribe' and 'mailboxes' commands. At present I > >can't see any easy way to avoid repeating the list (OK, I could put > >them in a file and use `cat listsfile` but this does seem a bit > >clumsy). > >> > How different is it to keep them in a file vs. a variable in the muttrc? I> used to have my mailboxes list created on the fly using a shell script which > was executed from within my muttrc.Why do you say "used to?" What do you do now?
I statically create the mailboxes list. Since I'm not signing up for a lists and deleting them, the static list is easier. -- Michael
Attachment:
pgpOfuPIkgtg7.pgp
Description: PGP signature