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

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

user-load-path (was: Re: Emacs 21 NEWS file (was Re: [OT?] Gnu Emacs is


From: Per Abrahamsen
Subject: user-load-path (was: Re: Emacs 21 NEWS file (was Re: [OT?] Gnu Emacs is dying?)(fwd))
Date: 18 Jun 2001 17:38:47 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

[ FUT: gnu.emacs.bug ]

address@hidden (Kai Gro├čjohann) writes:

> On 18 Jun 2001, Per Abrahamsen wrote:
> 
>> "Mark A. Flacy" <address@hidden> writes:
>> 
>>> It would be very nice to allow for a user-settable component to the
>>> load path that *could* be customized.
>> 
>> Yes, a "user-load-path" (default nil) that would be searched before
>> "load-path". 
> 
> Is it better to do it like this or is it better to use load-path and
> system-load-path rather than user-load-path and load-path?

If we were starting from scratch, I can't see any strong advantages in
one over the other.

However, customize wants to "own" the variables it touches.  It is not
big on sharing.  I.e. no other Lisp code should change the variable
reserved for customize.  This includes calls to 'add-to-list' in
various init files.

Since there already exist code that use 'add-to-list' on 'load-path',
I think a new (nil) 'user-load-path' would cause least transition
trouble. 

Of course, all code that _reads_ 'load-path' will need to be
inspected, and likely changed.  Luckily, most user code only write the
variable.



reply via email to

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