From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jost Burkardt Subject: Re: Org-mode to PDA export Date: Mon, 24 Sep 2007 22:47:44 +0200 Message-ID: <87myvbyemn.fsf@web.de> References: <87wsugjyd8.fsf@myhost.localdomain> <46F7E349.2090104@manor-farm.org> <3d6808890709240933s5b0f96b4k81cee65d967190f7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZuks-00085I-CS for emacs-orgmode@gnu.org; Mon, 24 Sep 2007 16:42:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZuko-00084h-KA for Emacs-orgmode@gnu.org; Mon, 24 Sep 2007 16:42:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZuko-00084e-FI for Emacs-orgmode@gnu.org; Mon, 24 Sep 2007 16:42:06 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZuko-0003Nc-4P for Emacs-orgmode@gnu.org; Mon, 24 Sep 2007 16:42:06 -0400 Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id 654089DD1121 for ; Mon, 24 Sep 2007 22:42:04 +0200 (CEST) Received: from [84.173.148.201] (helo=cognac) by smtp08.web.de with esmtp (WEB.DE 4.108 #197) id 1IZukm-0004Nq-00 for Emacs-orgmode@gnu.org; Mon, 24 Sep 2007 22:42:04 +0200 In-Reply-To: <3d6808890709240933s5b0f96b4k81cee65d967190f7@mail.gmail.com> (Tim O'Callaghan's message of "Mon\, 24 Sep 2007 18\:33\:36 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode@gnu.org forgot to forward to list "Tim O'Callaghan" writes: > On 24/09/2007, Ian Barton wrote: >> Does anyone know if it's possible to install emacs on a usb stick in a >> way that it's possible to just plug into almost any Windows computer and >> run it? >> >> Ian. >> > > You'll probably need to write a COM/CMD file that sets EMACS_HOME to > the drive the USB stick is mapped to. It should also append to the > PATH the native Emacs tools, and set HOME properly so that it can read > your .emacs I've got a regular emacs Installation on my USB-DRIVE (e.g. F:/PortableApps= /emacs-22.1) and the following lines in my site-lisp/site-start.el : (defvar usb-drive-letter (substring data-directory 0 -28)) ;; get root dire= ctory of emacs installation (defvar usb-home-dir (concat usb-drive-letter "Documents/")) (setenv "HOME" usb-home-dir) Works O.K. for me. Jost ,,,=09=09=09 (o o)=20=20=20=20=20=20=20=20 ----ooO-(_)-Ooo-----------------------=20 BEWEIS DURCH PR=C3=84ZISE BEZEICHNUNGEN: "Sei p ein Punkt q, wir wollen ihn als r kennzeichnen."