From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: August Karlstrom Newsgroups: gmane.emacs.help Subject: Re: Alternative initialization file Date: Wed, 26 Jul 2006 20:57:57 GMT Organization: Telia Internet Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153950096 5213 80.91.229.2 (26 Jul 2006 21:41:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2006 21:41:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 26 23:41:35 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 1G5r7z-0002CB-I9 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jul 2006 23:41:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5r7y-0006OF-VJ for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Jul 2006 17:41:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail User-Agent: Thunderbird 1.5.0.4 (X11/20060615) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 18 Original-NNTP-Posting-Host: 83.250.236.81 Original-X-Complaints-To: abuse@telia.com Original-X-Trace: newsb.telia.net 1153947477 83.250.236.81 (Wed, 26 Jul 2006 22:57:57 CEST) Original-NNTP-Posting-Date: Wed, 26 Jul 2006 22:57:57 CEST Original-Xref: shelby.stanford.edu gnu.emacs.help:140635 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:36264 Archived-At: Maarten Bergvelt wrote: > In article , August Karlstrom wrote: > >> Does anyone know if there is a way to launch Emacs with an alternative >> initialization file (for one session only)? I'm looking for something like >> >> emacs --use-init-file foo.el > > does > emacs -q -l file > do what you want? See man emacs or the emacs manual, section on > command line arguments. > OK, thanks. That was exactly what I was looking for. August