From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Multiple .emacs files Date: Tue, 12 Sep 2006 12:03:00 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87irjton8r.fsf@lion.rapttech.com.au> References: <87pse5f4em.fld@apaflo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158028842 11697 80.91.229.2 (12 Sep 2006 02:40:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2006 02:40:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 12 04:40:40 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GMyCR-0004Fj-IX for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 04:40:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMyCR-0004hL-24 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Sep 2006 22:40:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!sn-xt-sjc-04!sn-xt-sjc-09!sn-xt-sjc-07!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:EnJ1EyEIiDzUoXNu7YbBKOg++1U= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 42 Original-Xref: shelby.stanford.edu gnu.emacs.help:141677 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: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37300 Archived-At: Mathias Dahl writes: > floyd@apaflo.com (Floyd L. Davidson) writes: > >>>I have played a bit with the -u option, but have yet to get it to work >>>with a config file named .emacsT >> >> emacs -q -l ~/.emacsT > > A bit of a warning: I think I saw someone mentioning that doing the > above was not exactly like switching your init file. What you do with > the above is turn init file loading off and at the same time telling > emacs to load another file. I am not sure but maybe things like > Customize might not work as you expect (not saving to the .emacsT > file). > > Someone who knows more can probably fill in here, or you can search > the archives. > I have seen others report exactly this problem, so I think it is a real concern. In particular, you may find that when you go to save customize settings, it will fail or save it where you did not expect. There is a variable that customize uses which may get around this problem if you set it explicitly, but I seem to remember someone reporting problems getting this to work as desired/expected. There is a package out there called something like initz, which provides a way of splitting up your emacs configuration so that only certain parts are loaded depending on the emacs being run. I've not used it myself, but am thinking about it as I'm now running two different emacsen on a regular basis (emacs 21 and emacs 22 CVS) and have come across some minor differences that will cause problems when starting one of the emacsen. I don't know how well this will handle the customize problem though. HTH Tim -- tcross (at) rapttech dot com dot au