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: Alternate init file, take two (was: Alternative init file) Date: 20 Sep 2005 19:49:39 +1000 Message-ID: <87k6hcrrv0.fsf@tiger.rapttech.com.au> References: Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1127210884 7384 80.91.229.2 (20 Sep 2005 10:08:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2005 10:08:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 20 12:07:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EHf1L-0008Ns-L8 for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Sep 2005 12:06:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EHf1K-0000Sr-DO for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Sep 2005 06:06:38 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-206.lns2.syd7.internode.on.net Original-X-Trace: duster.adelaide.on.net 1127209779 59.167.21.206 (20 Sep 2005 19:19:39 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!news-south.connect.com.au!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:134029 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:29588 Archived-At: Mathias Dahl writes: > August Karlstrom writes: > > > Henrik Enberg wrote: > >>>From: August Karlstrom > >>>Date: Mon, 19 Sep 2005 12:48:57 GMT > >>> > >>> Is there a way to instruct Emacs to use an alternative > >>> initialization file, something like > >>> > >>> $ emacs --init-file=~/.emacs2 > >> emacs -q --load ~/.emacs2 > > > > OK, thanks everyone. > > One problem with this solution is that any customizations the user > might do (using M-x customize), will be saved to ~/.emacs and not the > alternative init file. > > Does anyone have any solution for this? Sometimes I want to start a > more "light" Emacs with a smaller init file, but still be able to use > the customize tool and save that to my smaller init file. > There is a variable which you can set that will tell emacs where to write customize settings. However, I do vaguely rememher some problems with this in older versions of emacs - don't know how reliable it is now. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!