From: Jost Burkardt <jost.burkardt@web.de>
To: Emacs-orgmode@gnu.org
Subject: Re: Org-mode to PDA export
Date: Mon, 24 Sep 2007 22:47:44 +0200 [thread overview]
Message-ID: <87myvbyemn.fsf@web.de> (raw)
In-Reply-To: <3d6808890709240933s5b0f96b4k81cee65d967190f7@mail.gmail.com> (Tim O'Callaghan's message of "Mon\, 24 Sep 2007 18\:33\:36 +0200")
forgot to forward to list
"Tim O'Callaghan" <tim.ocallaghan@gmail.com> writes:
> On 24/09/2007, Ian Barton <lists@manor-farm.org> 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."
next prev parent reply other threads:[~2007-09-24 20:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-24 7:50 Org-mode to PDA export Cezar
2007-09-24 8:58 ` Bastien
2007-09-24 11:01 ` Cezar
2007-09-24 16:18 ` Ian Barton
2007-09-24 16:33 ` Tim O'Callaghan
2007-09-24 20:47 ` Jost Burkardt [this message]
2007-09-25 11:20 ` Ian Barton
2007-09-24 18:21 ` Cezar
2007-09-25 11:19 ` Ian Barton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87myvbyemn.fsf@web.de \
--to=jost.burkardt@web.de \
--cc=Emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).