From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Tury Newsgroups: gmane.emacs.help Subject: Re: .emacs in the Windows version of Emacs Date: Thu, 26 Apr 2007 11:25:05 GMT Organization: Sonera corp Internet services Message-ID: References: <462ed65d$0$79139$e4fe514c@news.xs4all.nl> <20070425103306.GD18340@punkass.com> <462fad69$0$322$e4fe514c@news.xs4all.nl> <46305352$0$337$e4fe514c@news.xs4all.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177587315 28360 80.91.229.12 (26 Apr 2007 11:35:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2007 11:35:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 26 13:35:13 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hh2Fj-0005eD-Nz for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Apr 2007 13:35:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh2LS-000482-KV for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Apr 2007 07:41:06 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!colt.net!feeder.news-service.com!news.astraweb.com!newsrouter-eu.astraweb.com!194.255.237.131.MISMATCH!newsfeed101.telia.com!nf02.dk.telia.net!newsfeed.bahnhof.se!feeder1.news.saunalahti.fi!nntp.inet.fi!central1.inet.fi!inet.fi!read3.inet.fi.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (windows-nt) Cancel-Lock: sha1:LqrbWWwCG3RJgMdfcseLcc2SpiA= Cache-Post-Path: xnews001!unknown@busrv04nok01296.europe.nokia.com X-Cache: nntpcache 3.0.2 (see http://www.nntpcache.com/) Original-Lines: 25 Original-NNTP-Posting-Host: 147.243.46.180 Original-X-Complaints-To: abuse@inet.fi Original-X-Trace: read3.inet.fi 1177586705 147.243.46.180 (Thu, 26 Apr 2007 14:25:05 EEST) Original-NNTP-Posting-Date: Thu, 26 Apr 2007 14:25:05 EEST Original-Xref: shelby.stanford.edu gnu.emacs.help:147617 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:43220 Archived-At: Cecil Westerhof writes: > Eli Zaretskii wrote: > >>> From: Cecil Westerhof >>> Date: Wed, 25 Apr 2007 21:35:05 +0200 >>> >>> It is Emacs 22. I could take it of from my usb-stick and put it in C >>> \temp\emacs. (Temp is never cleared -why call it temp then?- so that >>> works.) But Emacs wants to write to C:\.emacs and that is not allowed. I >>> but something in C:\temp\emacs and load it with load-library. Not >>> perfect, but it will not get better I am afraid. >> >> Why can't you have an autorun file on the stick that sets HOME to >> point to the stick drive? Then you could have your .emacs on the >> stick as well. > > I prefer not to use an USB-stick for this. I did this only because I had no > room on the system. I can use C:\temp, so I put everything there. In the > morning I just give load-library. > Thanks anyway. How do you start Emacs? Do you use --load="c:\temp\emacs\dotemacs"? Maybe you can (and want?) to combine it with --no-init-file or --quick? See Emacs Invocation in the manual.