Great Circle Associates Majordomo-Workers
(March 1999)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Default variable settings
From: Jason L Tibbitts III <tibbs @ math . uh . edu>
Date: 23 Mar 1999 13:08:57 -0600
To: james @ adastra . co . uk (James Berry)
Cc: majordomo-workers @ greatcircle . com
In-reply-to: james@adastra.co.uk's message of "Tue, 23 Mar 1999 19:06:30 GMT"
References: <3709e14a.78727128@mail.adastra.co.uk> <ufan214m4hj.fsf@epithumia.math.uh.edu> <370be5b2.79855202@mail.adastra.co.uk>
User-agent: Gnus/5.070065 (Pterodactyl Gnus v0.65) Emacs/20.3

>>>>> "JB" == James Berry <james@adastra.co.uk> writes:

JB> I don't think it was obvious that you could do it with majordomo1.  I
JB> certainly didn't know.

You do it in essentially the same way: edit a piece of the code.  I thought
I was making a big step forward by putting that code in its own file.

JB> But anyway, it'd probably make sense to have a 'defaultconfigset' or
JB> something like it so that you could maintain them remotely.

I will probably have a 'DEFAULT' list, but the semantics are very tricky.
Remember that the default values of some variables depend on the values of
others, perhaps conditionally; putting these in a static configuration
isn't going to produce the same results.  It has to be Perl code because
otherwise you can't capture the functionality of Majordomo1 (which I use
quite a bit in my lists) and you of course can't allow the remote upload of
raw Perl code.

So the easy way out (use list configuration, else use DEFAULT
configuration, else fall back to evaluated Perl code from mj_cf_defs.pl)
isn't so simple.  But I've already said all of this.  I'm not really going
to spend too much time on it now because it is a rather difficult problem.
If it's important to you, consider helping me figure out the semantics and
helping me write the code.

 - J<


Follow-Ups:
References:
Indexed By Date Previous: Re: Default variable settings
From: james@adastra.co.uk (James Berry)
Next: Re: Default variable settings
From: james@adastra.co.uk (James Berry)
Indexed By Thread Previous: Re: Default variable settings
From: james@adastra.co.uk (James Berry)
Next: Re: Default variable settings
From: james@adastra.co.uk (James Berry)

Google
 
Search Internet Search www.greatcircle.com