From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Running Emacs from a USB drive
Date: Thu, 10 May 2007 22:23:07 -0500 [thread overview]
Message-ID: <vNqdnZpsWq1cfN7bnZ2dnUVZ_tijnZ2d@sysmatrix.net> (raw)
In-Reply-To: <m37irgz85f.fsf@timbral.net>
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?
>
> I am guessing there is more to it than that...?
>
If I understand this aright:
http://at-aka.blogspot.com/2006/06/portable-emacs-22050-on-usb.html
then you will first have to grok the mount point of the flash drive and only
after running emacs from there will the data-directory variable include the
drive letter. If you could somehow arrange to have this drive letter added
to the path then you could have a batch file in the root of the flash drive
run emacs. A kludge would be to add all the letters d:\ ... z:\ to the
global path of the local machine. I don't know whether the site-start.el
undoes the setenv "HOME" when emacs exits.
Ed
next prev parent reply other threads:[~2007-05-11 3:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-10 21:22 Running Emacs from a USB drive thorne
2007-05-11 3:23 ` B. T. Raven [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-05-11 6:35 poti
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vNqdnZpsWq1cfN7bnZ2dnUVZ_tijnZ2d@sysmatrix.net \
--to=nihil@nihilo.net \
--cc=help-gnu-emacs@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.
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).