forgot to forward to list "Tim O'Callaghan" <[EMAIL PROTECTED]> writes:
> On 24/09/2007, Ian Barton <[EMAIL PROTECTED]> 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 directory of emacs installation (defvar usb-home-dir (concat usb-drive-letter "Documents/")) (setenv "HOME" usb-home-dir) Works O.K. for me. Jost ,,, (o o) ----ooO-(_)-Ooo----------------------- BEWEIS DURCH PRÄZISE BEZEICHNUNGEN: "Sei p ein Punkt q, wir wollen ihn als r kennzeichnen." _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode