bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "custom" threatens modular thinking?


From: David Masterson
Subject: Re: "custom" threatens modular thinking?
Date: 13 Feb 2002 08:47:15 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

>>>>> Per Abrahamsen writes:

> address@hidden (Dan Jacobson) writes:

>> Is it true that if a user gets into the habit of using the "custom"
>> utility, his .emacs will get filled with flat lists of

>> (custom-set-variables
>> '(some-variable t)
>> '(some-variable t)

> Yes.

>> whereas if he were to write his .emacs by hand, he perhaps would
>> nest the needed variables in hooks only to be called when
>> necessary, etc.

> Maybe.  If he went to hook route (rather than just using setq), it
> would have mostly the same effect as the customize declaration above.
> The variables will not actually be set until the files where they are
> declared are loaded.

Hmm.  I have a question about this, but I have to ask another one
first.

* Is it recommended that customizations (as above) be done before or
  after your .emacs is loaded?  Or does it matter?

* After doing the above customizations, can a person reference the
  variables in his .emacs and do further manipulations of their
  values?  (for instance, use different value for particular host)

-- 
David Masterson                dmaster AT synopsys DOT com
Sr. R&D Engineer               Synopsys, Inc.
Software Engineering           Sunnyvale, CA



reply via email to

[Prev in Thread] Current Thread [Next in Thread]