From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: poti@potis.org Newsgroups: gmane.emacs.help Subject: Re: Running Emacs from a USB drive Date: Fri, 11 May 2007 02:35:31 -0400 Message-ID: <20070511063531.GA7891@mail.potis.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1178906955 4330 80.91.229.12 (11 May 2007 18:09:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 May 2007 18:09: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 Fri May 11 20:09:14 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 1HmZYH-00085V-Eb for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 20:09:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmZfi-0002FG-Pu for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 14:16:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HmOr4-0000fV-O8 for help-gnu-emacs@gnu.org; Fri, 11 May 2007 02:43:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HmOr3-0000fJ-AP for help-gnu-emacs@gnu.org; Fri, 11 May 2007 02:43:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmOr3-0000fG-8Q for help-gnu-emacs@gnu.org; Fri, 11 May 2007 02:43:53 -0400 Original-Received: from sitemail2.everyone.net ([216.200.145.36] helo=omta14.mta.everyone.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HmOje-0004dl-A0 for help-gnu-emacs@gnu.org; Fri, 11 May 2007 02:36:14 -0400 Original-Received: from pop16.mta.everyone.net (bigiplb-dsnat [172.16.0.19]) by omta14.mta.everyone.net (Postfix) with ESMTP id C1FE141A82 for ; Thu, 10 May 2007 23:36:13 -0700 (PDT) X-Eon-Dm: pop16 Original-Received: by pop16.mta.everyone.net (EON-AUTHRELAY2 - 48f102f2) id pop16.4641e237.5cf05 for ; Thu, 10 May 2007 23:36:13 -0700 X-Eon-Sig: AQLTeK1GRA7djUxOpgIAAAAB,ce24271609dd5dd1ed94fcbcc478dbba Original-Received: by potis.org (nbSMTP-1.00) for uid 1000 poti@potis.org; Fri, 11 May 2007 02:35:31 -0400 (EDT) Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Linux 2.4-2.6 X-Mailman-Approved-At: Fri, 11 May 2007 14:12:04 -0400 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:43889 Archived-At: >thorne wrote: > Hello all. If i want to run my own Emacs on various random MS-Windows > machines, is it as simple as unpacking a Windows binary distribution > onto a USB drive or iPod or whatever, and maybe making a site-start.el > to grok the current drive letter and set that as the home directory? Hello, I do this on the zero-config DVD I have made for TeX Live. Have a look at the tex-live.el file at http://potis.org/software/livedvd I use (setq DVD (substring invocation-directory 0 (- (string-match "Emacs" invocation-directory) 1))) to get the letter, and go from there. In my approach, the DVD, or MO drive, or iPod, can be used on any machine, not just any Windows machine (in principle, I am still working on some space issues and MacOS X). On a DVD, you can use an autorun.inf file. On other media, I used a shortcut to Emacs/bin/runemacs.exe . This is my first post to this list, so sorry for not threading and quoting properly. -Poti