unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bijan Soleymani <bijan@psq.com>
Subject: Re: $HOME var
Date: 07 Mar 2003 13:51:40 -0500	[thread overview]
Message-ID: <87n0k76mdf.fsf@server.crasseux.com> (raw)
In-Reply-To: mailman.2931.1047032076.21513.help-gnu-emacs@gnu.org

Anthony G <goggs@bur.st> writes:

> Hello,
> 
> I have a minor problem with Emacs for windows. Emacs works great on my Linux system at home, but at College where I spend a considerable amount of time coding, I have to use windows 2000.
> The problem is as follows; Windows environment variables are set & locked on login. I can't add or change them, and command.exe is locked out. $HOME, for some FUBAR reason, is set to C:\, yet I don't have write permission FOR C:\. This means when I'm halfway through editing a file, emacs tries to save '.emacs.d' (or similar) to C: every microsecond. It doesn't hang, but It's so occupied in saving the file, that I need to enter commands quickly. I can't disable it in .emacs, because I can't save anything to $HOME (C:\), including .emacs.
> Can I change $HOME in the emacs lisp files, or even an argument?
make a batch file as follows:
set HOME=X:\directory\that\i\want       (where X is the drive you want)
set PATH=%PATH%;c:\emacs_directory\bin\ (or wherever emacs is)
runemacs.exe                            (or whatever executable runs emacs)

call it emacs.bat and put it on your desktop or wherever.

Basically have the first line set your home.
Have the second set your path to include emacs.
Then just have it run emacs.

P.S. Your school is evil for making you use Windows :)

Hope that helps,
Bijan

  parent reply	other threads:[~2003-03-07 18:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2931.1047032076.21513.help-gnu-emacs@gnu.org>
2003-03-07 11:21 ` $HOME var Torsten Müller
2003-03-07 18:48   ` Bijan Soleymani
2003-03-07 18:51 ` Bijan Soleymani [this message]
2003-03-07 21:38 ` Chris McMahan
2003-03-08  9:24   ` Eli Zaretskii
     [not found] ` <mailman.2983.1047115759.21513.help-gnu-emacs@gnu.org>
2003-03-10 19:07   ` Kevin Rodgers
2003-03-11  4:31     ` Eli Zaretskii
2003-03-07 10:49 Victor Kirk
  -- strict thread matches above, loose matches on Subject: below --
2003-03-07 10:13 Anthony G

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=87n0k76mdf.fsf@server.crasseux.com \
    --to=bijan@psq.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).