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

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

Re: Making a nice .emacs file and configuration


From: oliver
Subject: Re: Making a nice .emacs file and configuration
Date: Fri, 24 Sep 2004 09:16:34 +1000

"Alexandre Russel" <scandrou@hpo.net> wrote in message 
news:m3r7ovwv7z.fsf@localhost.localdomain...
> I am trying to find a set up so even in few years
> with lots more things in it it would stay clean. Would like advice
> from Emacs veteran on how to set up all that. What I am thinking
> about doing is:
>
> ---.emacs--start--
> (setq load-path
>  (cons "~/Emacs/Configurations"
>    (cons "~/Emacs/Extensions"
>      (cons "~/Emacs/DotEmacs" load-path))))
> (setq Info-default-directory-list (cons "~/Emacs/Info" 
> Info-default-directory-list))
> ---.emacs--end----
>
> Then have a Emacs directory with 4 directories inside:
>
> Info: with all the Info from the package I added
> DotEmacs: with the information found usually in .emacs such as 
> binding,configuration, macro, myfunction(probably with 1 file per thing)
> Extensions: All the package I download(template, w3m-emacs...)
> Configurations: All the configuration file for the extensions

set up sounds good. however you need to name explicitly the files you want 
to load on startup. including the direcory where the reside isn't enough.

another problem are auto changes emacs itself does to the .emacs file, e.g. 
when emacs enables disabled commands: so the .emacs file won't stay as clean 
as you want. at least the custumize-settings can be sourced out. read the 
emacs docu about the var custom-file.

cheers, oliver



reply via email to

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