From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: Changing default starting directory Date: Sat, 11 Jan 2003 17:41:05 +0100 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042303569 1162 80.91.224.249 (11 Jan 2003 16:46:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 11 Jan 2003 16:46:09 +0000 (UTC) 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 18XOls-0000Ic-00 for ; Sat, 11 Jan 2003 17:46:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18XOlM-0005RK-07 for gnu-help-gnu-emacs@m.gmane.org; Sat, 11 Jan 2003 11:45:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!mephistopheles.news.clara.net!news.clara.net!colt.net!news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5373 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5373 Charles Muller writes: > When I start up my Emacs (21.2 on Redhat 8) my startup directory in > *scratch* is by default > > /home/chuck > > I want to change this to > > /mnt/win_d/docs > > And so I added the following to my .emacs file: > > '(default-directory "/mnt/win_d/docs") > > This does not do the trick. Put (cd "/mnt/win_d/docs") in your .emacs instead.