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: Using emerge on windows? Funky errors with Temp files Date: Fri, 18 Mar 2011 23:54:29 +0200 Message-ID: <83y64cqelm.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1300485298 29985 80.91.229.12 (18 Mar 2011 21:54:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2011 21:54:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 18 22:54:53 2011 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.69) (envelope-from ) id 1Q0hdF-0001S9-Di for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Mar 2011 22:54:53 +0100 Original-Received: from localhost ([127.0.0.1]:54738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0hdE-0001Du-U0 for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Mar 2011 17:54:52 -0400 Original-Received: from [140.186.70.92] (port=46221 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0hcs-0001Cn-Rt for help-gnu-emacs@gnu.org; Fri, 18 Mar 2011 17:54:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0hcr-0005kR-Mv for help-gnu-emacs@gnu.org; Fri, 18 Mar 2011 17:54:30 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:32835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0hcr-0005kM-C8 for help-gnu-emacs@gnu.org; Fri, 18 Mar 2011 17:54:29 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LI900300WSIM100@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Fri, 18 Mar 2011 23:54:27 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.131.120]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LI9003Y0WUPBI80@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Fri, 18 Mar 2011 23:54:27 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 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:80256 Archived-At: > From: fork > Date: Fri, 18 Mar 2011 21:31:23 +0000 (UTC) > > Well, maybe set the temp directory to to something that actually exists? Like: > > (setq temporary-file-directory "C:\\Temp") The temporary directory used by emerge by default is "c:/DOCUME~1/webbs/LOCALS~1/Temp/", and it surely exists, albeit you are probably used to its full name: c:/Documents and Settings/webbs/Local Settings/Temp/ (The name emerge uses is the 8+3 alias of the full name.) The problem is that emerge.el had a bug whereby it would escape the "~" characters with a backslash, which produces an invalid file name on Windows (because the Windows shell does not treat a backslash as a quote character). The patch I sent solves this.