unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Ryan Moszynski" <ryan.m.lists@gmail.com>
Subject: winows emacs - portable app
Date: Tue, 18 Apr 2006 22:21:37 -0400	[thread overview]
Message-ID: <fbf7c10b0604181921k326cca4ataad12a9a01b061b@mail.gmail.com> (raw)

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	other threads:[~2006-04-19  2:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-19  2:21 Ryan Moszynski [this message]
     [not found] <mailman.554.1145413305.9609.help-gnu-emacs@gnu.org>
2006-04-19  6:17 ` winows emacs - portable app Jason Rumney
2006-04-19  8:31   ` Eli Zaretskii
2006-04-19 15:08     ` Drew Adams
2006-04-19 17:47       ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2006-04-19 12:10 Ryan Moszynski
2006-04-19 16:27 ` Kevin Rodgers
2006-04-19 17:32 ` Eli Zaretskii
2006-04-19 17:47 Ryan Moszynski
2006-04-19 17:58 ` Eli Zaretskii
2006-04-19 20:48 ` Rasmus Pank Roulund

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=fbf7c10b0604181921k326cca4ataad12a9a01b061b@mail.gmail.com \
    --to=ryan.m.lists@gmail.com \
    /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).