From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: TomSW Newsgroups: gmane.emacs.help Subject: Re: Emacs 22.3 ignores setq default-directory Date: Sat, 27 Jun 2009 01:18:24 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <5cc316a8-1a47-4e0c-af2b-27675d5517f5@q3g2000pra.googlegroups.com> <3b31caf90906261504r77be9eegb8a3c73fc2d87ab4@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1246104921 15184 80.91.229.12 (27 Jun 2009 12:15:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2009 12:15:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 14:15:15 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MKWoM-0001Z9-LP for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 14:15:14 +0200 Original-Received: from localhost ([127.0.0.1]:47885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKWoM-0002AH-2H for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 08:15:14 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s6g2000vbp.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 84.193.193.55 Original-X-Trace: posting.google.com 1246090704 4456 127.0.0.1 (27 Jun 2009 08:18:24 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 27 Jun 2009 08:18:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s6g2000vbp.googlegroups.com; posting-host=84.193.193.55; posting-account=gXCEPAoAAACaHNwa63AHlGuSCIcCahgr User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:170372 X-Mailman-Approved-At: Sat, 27 Jun 2009 08:06:20 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65594 Archived-At: On Jun 27, 12:21=A0am, Markus Heller wrote: > PS: =A0Content of *messages* after replacing (setq default-directory > "h:") with (cd "h:") [...] > error: No such directory found via CDPATH environment variable That's the giveaway. (cd "h:/") will work, as will (setq default- directory "h:/") There are also various ways to make it easier to get to the files you want, for example, speedbar-mode, savehist-mode, ido-mode (my favourite). You could also open various directories on startup, or use desktop-save-mode to save Emacs' state between sessions. Regards, Tom SW.