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

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

Re: [h-e-w] How to specify the initial dired directory


From: Jay Bingham
Subject: Re: [h-e-w] How to specify the initial dired directory
Date: Thu, 28 Oct 2010 16:24:52 GMT

John,

I am launching emacs from an Icon (shortcut). There is nothing in the in the Start in: field of the icon's properties.

__
J_)
C_)ingham

---------- Original Message ----------
From: John A Pershing Jr <address@hidden>
To: Jay Bingham <address@hidden>
Cc: address@hidden
Subject: Re: [h-e-w] How to specify the initial dired directory
Date: Wed, 27 Oct 2010 21:49:31 -0400

Jay,

How are you launching Emacs?  If you're double-clicking on an icon, then open the icon's Properties and check the 'Start in' directory.  I'm not positive, but I think that this is what Emacs uses on Windoze systems.  $HOME is used (by Emacs) to find the .emacs startup file, not for it's initial directory.

  -jp


On 10/27/2010 2:34 AM, Jay Bingham wrote:
It has been a while since I have actively followed this mailing list. But a situation has arisen for which I cannot find an answer and rather than spend any more time fruitlessly searching the info nodes I am appealing to the brilliant minds on this list.

I recently upgraded to emacs 23.2 on my windows XP PC after years of using 21.3. (I completely missed all of version 22. There were a few things that are different in the way 23.2 initializes, I have figured out how to overcome all but one. And despite searching the info nodes I cannot find the answer for it).
In 21.3 when I brought it up the directory that would open when I first invoked dired was the c:\\ directory now when I bring up 23.2 the directory that opens is c:\\Documents and Settings\\USERNAME. This is unacceptable. I do not want that to be the default directory. My HOME environment variable is set to c:\\ which would be acceptable.
I seem to recall from years ago when I was using emacs much more at work that there was a variable that could be set to specify the initial directory, but I cannot remember what it was. I have searched the list of variables in the Info nodes and nothing jumps out at me as the variable that will do this. Does this variable still exist and if so can someone tell me what it is?
While you are at it can you tell me why even though my HOME environment variable is set to c:\\ this is not the directory that dired defaults to like info says it should.
__
J_)
C_)ingham

____________________________________________________________
Globe Life Insurance
$1* Buys $50,000 Life Insurance. Adults or Children. No Medical Exam.
http://thirdpartyoffers.netzero.net/TGL3231/4cc7c84240cda4950cfst02duc




reply via email to

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