From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Heller Newsgroups: gmane.emacs.help Subject: Re: Emacs 22.3 ignores setq default-directory Date: Fri, 26 Jun 2009 15:21:50 -0700 Message-ID: <27c152c00906261521m54d3c81bwfb10138e063eae8f@mail.gmail.com> 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: 7bit X-Trace: ger.gmane.org 1246077549 26182 80.91.229.12 (27 Jun 2009 04:39:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2009 04:39:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Edward O'Connor" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 06:39:00 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 1MKPgp-00035g-Q4 for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 06:39:00 +0200 Original-Received: from localhost ([127.0.0.1]:54783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKPgp-0004cz-A4 for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 00:38:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKJvp-0006ra-Ud for help-gnu-emacs@gnu.org; Fri, 26 Jun 2009 18:30:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKJvk-0006jJ-O4 for help-gnu-emacs@gnu.org; Fri, 26 Jun 2009 18:30:04 -0400 Original-Received: from [199.232.76.173] (port=37201 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKJvk-0006j6-Jq for help-gnu-emacs@gnu.org; Fri, 26 Jun 2009 18:30:00 -0400 Original-Received: from mail-yx0-f201.google.com ([209.85.210.201]:44626) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKJvj-00062A-L8 for help-gnu-emacs@gnu.org; Fri, 26 Jun 2009 18:30:00 -0400 Original-Received: by yxe39 with SMTP id 39so3072428yxe.14 for ; Fri, 26 Jun 2009 15:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1N6hmbeuvKKrsjifh19PWPWA/RjDxUaVEU/OxoEDPfo=; b=bT6KxwcZGwYGiIcK4Xe/PvG7LDy0Gg5q6xdmjDz0i7/KdhYsjtuOYe9FJB9y8RYo6m GJth4YqWhlex1z61ACvBiCIxQvSHkmJnN9KpwPN2YiMraIcb0RR5Y9zxNE/898E804nY 3GcLEumGI2yA6YQwYhMxh067UFqfpWu1nzcQI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dbNkKIjRiy+y2yaXIywc9b/gCI8Dt1Oz84UGPUh7FqqfIy4THlmUXibIX8puLJeFfu sg8KCoeOMMhb0RwxVBshtr/O6HtdJft2/bRi0V5PXglqF5WsVOOs9UtEuimxxR0DKjIz wRqNBW0P0A6lK0MDJsQH9PkYzdmYkG6yhgqek= Original-Received: by 10.231.11.1 with SMTP id r1mr1448467ibr.23.1246054910620; Fri, 26 Jun 2009 15:21:50 -0700 (PDT) In-Reply-To: <3b31caf90906261504r77be9eegb8a3c73fc2d87ab4@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Sat, 27 Jun 2009 00:38:25 -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:65572 Archived-At: On Fri, Jun 26, 2009 at 3:04 PM, Edward O'Connor wrote: >> (setq default-directory "h:") > > Does replacing that with > > (cd "h:") > > do the right thing? > No. Message buffer out put is at the end of this message. Again, the thing that puzzles me is that (setq default-directory "h:") works in Emacs-22.1, but not in 22.3. I guess I'll just use 22.3 and change directory manually ... And I should clarify one thing, based on what Eli wrote. "h:" is *not* my HOME, HOME is identified correctly as c:/Documents and Settings/mheller:. "h:" is where all my data are stored, that's why I would like it to be the place that C-x C-f takes me to. Sorry if I caused confusion ... Thanks anyway! Markus PS: Content of *messages* after replacing (setq default-directory "h:") with (cd "h:") ("C:\\Program Files\\emacs-22.3\\bin\\emacs.exe") Loading encoded-kb...done Loading c:/Program Files/emacs-22.3/site-lisp/tex-site.el (source)...done An error has occurred while loading `c:/Documents and Settings/mheller/_emacs': error: No such directory found via CDPATH environment variable To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. For information about GNU Emacs and the GNU system, type C-h C-a.