- Subject: Re: [jed-users] setting programming style
- From: Frank v Waveren <fvw@xxxxxx>
- Date: Thu, 16 Jan 2003 04:18:52 +0100
On Wed, Jan 15, 2003 at 09:13:14PM -0500, John E. Davis wrote:
> and let me know how it works. It introduces a new variable:
> Enable_Mode_Hook_Eval
Thanks for the quick response, exactly what I wanted. Only thing I'm
not entirely comfortable with is:
> { (is_defined (keyword) < 0) and strlen(value): % set a value
> if ((keyword == "Enable_Mode_Hook_Eval")
> or (value[0] == '&'))
> {
> if (check_eval ())
> eval (keyword + " = " + value);
> }
> else
> eval (keyword + " = " + value);
> }
What if this sets a variable like Compile_Default_Compiler? Granted,
you probably see it at the top of your file, but often you'll quickly
scroll to the piece of the code you wanted to look at, and not see the
first part of the file at all..
Then again, maybe I'm a bit too paranoid.
--
Frank v Waveren Fingerprint: 21A7 C7F3
fvw@[var.cx|stack.nl|chello.nl] ICQ#10074100 1FF3 47FF 545C CB53
Public key: hkp://wwwkeys.pgp.net/fvw@xxxxxx 7BD9 09C0 3AC1 6DF2
[2003 date index]
[2003 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]