[Top][All Lists]

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

Re: about load paths

From: Thierry Volpiatto
Subject: Re: about load paths
Date: Thu, 19 Jun 2008 18:01:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Rustom Mody" <address@hidden> writes:

> On Thu, Jun 19, 2008 at 8:04 PM, Peter Dyballa <address@hidden> wrote:
>> Am 19.06.2008 um 14:52 schrieb Rustom Mody:
>> That is to say I have to manually put
>>> (add-to-list 'load-path "~/.emacs.d")
>>> in the init.el or else other files there are not found
>>> This seems to defeat the purpose of the emacs.d directory no??
>> No, it does not. GNu Emacs finds there its GTK resource file. When you look
>> up the variable load-path this element is not mentioned.
>> Different from this is the initial behaviour to look for an init.el file in
>> ~/.emacs.d. This one is found. If it loads other ELisp files, then these
>> have to be in load-path.
> Sorry I dont understand...
> Different from what?
> This element -- which?
> GTK Resource file -- Whats that? (On WIndows?)

Emacs, when it start look for an init file called .emacs or .emacs.el 
in /home/$USER or a file called init.el in .emacs.d (i never used this scheme)
But not for other lisp files or not.
So if you want to put some files.el in .emacs.d, you will have to notify
emacs of that in your .emacs or init.el.

> Please tell me if theres something (other than the emacs manual) I should
> read
Emacs manual and all it's elisp doc are really good.
A + Thierry
Pub key:

reply via email to

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