[Top][All Lists]

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

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

From: John A Pershing Jr
Subject: Re: [h-e-w] How to specify the initial dired directory
Date: Wed, 27 Oct 2010 21:49:31 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20101013 Lightning/1.0b2 Thunderbird/3.1.5


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.


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.

Globe Life Insurance
$1* Buys $50,000 Life Insurance. Adults or Children. No Medical Exam.

reply via email to

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