From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "oliver" Newsgroups: gmane.emacs.help Subject: Re: Making a nice .emacs file and configuration Date: Fri, 24 Sep 2004 09:16:34 +1000 Organization: Netspace Internet Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1095981558 18245 80.91.229.6 (23 Sep 2004 23:19:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2004 23:19:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 24 01:19:11 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAcrm-0004mI-00 for ; Fri, 24 Sep 2004 01:19:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAcxp-0006hx-S5 for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Sep 2004 19:25:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!news1.optus.net.au!optus!news.mel.connect.com.au!news.netspace.net.au!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: dsl-210-15-204-246.nsw.netspace.net.au Original-X-Trace: otis.netspace.net.au 1095981269 24001 210.15.204.246 (23 Sep 2004 23:14:29 GMT) Original-X-Complaints-To: usenet@otis.netspace.net.au Original-NNTP-Posting-Date: Thu, 23 Sep 2004 23:14:29 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Original-Xref: shelby.stanford.edu gnu.emacs.help:125492 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20846 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20846 "Alexandre Russel" 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