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

Re: Variables in .muttrc



On Thu, Dec 04, 2003 at 08:00:41PM -0600, Michael Herman wrote:
> 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.

What do you do, though, when you DO subscribe to a new list?  Doesn't it
become a big operation updating your config?

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgpea1npgptFP.pgp
Description: PGP signature