emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org-mode to PDA export


From: Jost Burkardt
Subject: Re: [Orgmode] Org-mode to PDA export
Date: Mon, 24 Sep 2007 22:47:44 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

forgot to forward to list

"Tim O'Callaghan" <address@hidden> writes:

> On 24/09/2007, Ian Barton <address@hidden> 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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]