emacs-devel
[Top][All Lists]
Advanced

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

Re: customize


From: Per Abrahamsen
Subject: Re: customize
Date: Mon, 29 Jul 2002 18:15:45 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8)

Edward Welbourne <address@hidden> writes:

>> custom-set-* doesn't have to come last in ~/.emacs.
> but customize always adds it at the end.
>
>> After it is there, you can add stuff in ~/.emacs after it.
> and get a layer-cake of intermingled fragments, some of one's own
> construction, others added by customize (and marked with a warning
> against modifying them other than via the customize UI), which will
> make it harder to keep track of what's going on, what one can safely
> modify, etc.; maintenance nightmare.

Unless something has changed drastically, customize will do the
following:

1. Scan custom-file for a custom-set-variables top level form.
2. Remove it if found, otherwise go to (or stay at) the end of the file.  
3. Insert a new custom-set-variables.

The effect of this is that if you move the custom-set-variables call,
it will stay put.  And there will only be one such call on the top
level, unless you yourself add an extra, in which case all bets are
off.

Same for custom-set-faces.

Maybe you have tried to move it to a nested form?  That won't work.



reply via email to

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