help-gnu-emacs
[Top][All Lists]
Advanced

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

winows emacs - portable app


From: Ryan Moszynski
Subject: winows emacs - portable app
Date: Tue, 18 Apr 2006 22:21:37 -0400

i've gotten used to running programs from my thumbdrive, and have
found the work being done at

http://portableapps.com

to be immensely useful to me.

so, i decide dot make my own portable app for emacs, for personal use
if nothing else.



so, i tried just copying over my emacs directory and putting the
binary into pstart(the quick and easy portable app launcher)

http://portableapps.com/apps/utilities/application_menus/pstart

, and it seems like the only thing that is keeping me from having a
"real" portable app is that i don't know how to tell emacs to look for
me .emacs config file on my thumbdrive rather than in the emacs
directory that it usually is in on my windows machine.

so, when emacs starts, it just starts to all the defaults, which
doesn't include the options in my .emacs file i've been customizing
over the last year or so, which makes this situation suboptimal.

the problem i see is that the windows drive name will be different
depending on whatever pc/usb slot combination that you happen to be
using.  For example, on my laptop, my usb drive is I:, while the lab
pc i am working on right now, the usb drive i am using is named F:

is there an easy solution to this(to make my .emacs load form my
thumbdrive automatically)?

if so, what is it?

if not, is there a command that i can run, after starting emacs, where
i can point it manually to my .emacs on wherever my thumbdrive is, and
it will run that particular .emacs whenever  i tell it to?

on a side note, that would seem to me to be a better way to debug
.emacs', better, at least than my usual way of doing it, which is to
save my .emacs and then restart the program . . .

any help is appreciated, thanks




reply via email to

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