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: Wed, 24 Apr 2002 19:03:26 +0300 Sender: emacs-devel-admin@gnu.org Message-ID: <8296-Wed24Apr2002190326+0300-eliz@is.elta.co.il> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019664392 4034 127.0.0.1 (24 Apr 2002 16:06:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2002 16:06:32 +0000 (UTC) Cc: eggert@twinsun.com, emacs-devel@gnu.org, knagano@sodan.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 170PHr-00012x-00 for ; Wed, 24 Apr 2002 18:06:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 170PJb-0006pu-00 for ; Wed, 24 Apr 2002 18:08:19 +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 170PHl-00041A-00; Wed, 24 Apr 2002 12:06:25 -0400 Original-Received: from heimdall.inter.net.il ([192.114.186.17]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 170PGs-0003xx-00 for ; Wed, 24 Apr 2002 12:05:30 -0400 Original-Received: from Zaretsky ([80.230.2.40]) by heimdall.inter.net.il (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id BIJ15004; Wed, 24 Apr 2002 19:03:35 +0300 (IDT) Original-To: himi@meadowy.org X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: (himi@meadowy.org) 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:3186 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3186 > From: MIYASHITA Hisashi(=?ISO-2022-JP?B?GyRCNVwyPBsoQiAbJEI+MBsoQjpISU1J?=) > > Date: Wed, 24 Apr 2002 19:30:35 +0900 > > > True for now. But suppose we introduce into Emacs support for > > Cygwin-style symlinks some day--are we supposed to go through all the > > primitives and invent Windows-specific code to handle that? > > But even if it is true, I previously said that GetCurrentDirectory() > holds the straightforward values set by SetCurrentDirectory(), so we don't > have to stick to "PWD" environemt variable that may be different from > the value of "PWD". It's something for the user to decide, I think. For example, I'm guessing that GetCurrentDirectory returns a file name with backslashes and might have some weird letter-case conversions applied to it; users might not want that. > Furthermore, in this view, I think that we MUST NOT use "PWD" > environment variable to obtain the current directory because it's > never standardized. Do you know of some Windows application that uses PWD in an incompatible fashion? I use Windows for quite some time, and have never seen such a beast. The only applications that use PWD are ported Unix and GNU tools, and they all use it in a consistent manner.