From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Dziulko Newsgroups: gmane.emacs.help Subject: Re: setting the default directory on Windows startup Date: Fri, 20 Sep 2002 08:08:54 -0400 (EDT) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1032553022 1541 127.0.0.1 (20 Sep 2002 20:17:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2002 20:17:02 +0000 (UTC) Cc: Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17sUCw-0000OI-00 for ; Fri, 20 Sep 2002 22:16:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17sUDN-0008SU-00; Fri, 20 Sep 2002 16:17:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17sMai-000830-00 for help-gnu-emacs@gnu.org; Fri, 20 Sep 2002 08:09:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17sMad-00082D-00 for help-gnu-emacs@gnu.org; Fri, 20 Sep 2002 08:08:58 -0400 Original-Received: from klaatu.canisius.edu ([138.92.8.100]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17sMad-000828-00 for help-gnu-emacs@gnu.org; Fri, 20 Sep 2002 08:08:55 -0400 Original-Received: from localhost (dziulko@localhost) by klaatu.canisius.edu (8.11.2/8.11.2) with ESMTP id g8KC8sf15914; Fri, 20 Sep 2002 08:08:54 -0400 Original-To: In-Reply-To: Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1655 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1655 Add this to your _emacs file: (setq default-directory "C:\\home/") Kevin On Thu, 19 Sep 2002, Alan Barton wrote: > I'm a new user of emacs on Windows, although I have some experience on Linux > OS versions. When I open an emacs session and select 'File' -> 'Open file' > , my directory tree starts looking in 'c:\emacs\bin\' when I would prefer > that it start looking in my 'c:\home' directory. > > I found the variable 'insert-default-directory', but this just seems to be a > toggle switch, and does not allow me to input the name of a new default > directory. I'm aware that I can simply 'cd' in to my working directory each > time I open an emacs session, but I'd like my sessions to automatically 'cd' > to my working directory on startup. How do I go about doing this? > > Thanks for your assistance. > -Alan Barton > abarton@coas.oregonstate.edu > > > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs >