From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: init_buffer PWD fix Date: Mon, 22 Apr 2002 10:03:22 +0300 (IDT) Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1019455593 18043 127.0.0.1 (22 Apr 2002 06:06:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2002 06:06:33 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zWy9-0004gu-00 for ; Mon, 22 Apr 2002 08:06:33 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16zWyi-0003pu-00 for ; Mon, 22 Apr 2002 08:07:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zWxm-0003l1-00; Mon, 22 Apr 2002 02:06:10 -0400 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zWwd-0003hC-00 for ; Mon, 22 Apr 2002 02:04:59 -0400 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id KAA12124; Mon, 22 Apr 2002 10:03:23 +0300 (IDT) X-Sender: eliz@is Original-To: Keiichiro Nagano In-Reply-To: Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2979 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2979 On Mon, 22 Apr 2002, Keiichiro Nagano wrote: > init_buffer uses environmental variable PWD to identify current > working directory. I think we should not use it on Windows. On > Windows with Cygwin, PWD is unreliable and confusing, because > > * Cygwin bash treats it > * Cygwin sh (ash) doesnot > * to say nothing of command.com, cmd.exe, nmake.exe and so on Sorry, I don't understand the problem. command.com. cmd.exe etc. don't set PWD, so the current Emacs code should DTRT. I don't know about ash; are you saying that it sets PWD to the wrong value? It's impossible to evaluate your suggestion without understanding the details. Please describe those details. Thanks in advance.