From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs 22.3 ignores setq default-directory Date: Sat, 27 Jun 2009 12:27:23 +0300 Message-ID: <83k52yyqkk.fsf@gnu.org> References: <5cc316a8-1a47-4e0c-af2b-27675d5517f5@q3g2000pra.googlegroups.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 1246104476 14115 80.91.229.12 (27 Jun 2009 12:07:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2009 12:07:56 +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:07:49 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 1MKWhA-0007oJ-1e for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 14:07:48 +0200 Original-Received: from localhost ([127.0.0.1]:35667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKWh9-0002CE-EY for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 08:07:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKUC0-0005HZ-4k for help-gnu-emacs@gnu.org; Sat, 27 Jun 2009 05:27:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKUBy-0005Fb-0k for help-gnu-emacs@gnu.org; Sat, 27 Jun 2009 05:27:27 -0400 Original-Received: from [199.232.76.173] (port=41293 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKUBx-0005FT-SL for help-gnu-emacs@gnu.org; Sat, 27 Jun 2009 05:27:25 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:27014 helo=mtaout3.012.net.il) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKUBx-00058A-Du for help-gnu-emacs@gnu.org; Sat, 27 Jun 2009 05:27:25 -0400 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KLW00D004QFTP00@i_mtaout3.012.net.il> for help-gnu-emacs@gnu.org; Sat, 27 Jun 2009 12:27:23 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.213.34]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KLW002TD4XN5SM0@i_mtaout3.012.net.il> for help-gnu-emacs@gnu.org; Sat, 27 Jun 2009 12:27:23 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-Mailman-Approved-At: Sat, 27 Jun 2009 08:04:27 -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:65586 Archived-At: > From: Markus Heller > Date: Fri, 26 Jun 2009 09:42:12 -0700 (PDT) >=20 > On Jun 25, 11:57=A0pm, Eli Zaretskii wrote: > > > From: Markus Heller > > > Date: Thu, 25 Jun 2009 11:47:30 -0700 (PDT) > > > > > I just installed Emacs 22.3 under Win XP using the precompiled > > > binary. =A0Everything works, my _emacs is read and all customiz= ation > > > such as AuCTeX works fine. > > > > > the only thing that's being ignored is the line > > > > > (setq default-directory "h:") > > > > > which works fine in Emacs 22.1. > > > > Does it work if you start Emacs with the -Q switch, then load you= r > > _emacs with "M-x load-file RET"? >=20 > Yes it does. Any way I can incorporate this in my _emacs? Perhaps run it from one of the -hook variables provided by startup.el. It could be that this setting needs to be run later than it is if simply put at top level of your _emacs file. > > > Any idea as to why and how I can define my home directory? > > > > If "H:\" is your home, then set the HOME environment variable to > > something like "H:\". >=20 > H: is not my home directory, it's where all my data are stored. Well, you did say (above) "how can I define my home directory?"