From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: MIYASHITA Hisashi(=?ISO-2022-JP?B?GyRCNVwyPBsoQiAbJEI+MBsoQjpISU1J?=) Newsgroups: gmane.emacs.devel Subject: Re: init_buffer PWD fix Date: Thu, 25 Apr 2002 02:55:24 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200204241647.g3OGlP201100@shade.twinsun.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1019673380 23616 127.0.0.1 (24 Apr 2002 18:36:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2002 18:36:20 +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 170Rcq-00068n-00 for ; Wed, 24 Apr 2002 20:36:20 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 170Red-0001o4-00 for ; Wed, 24 Apr 2002 20:38:11 +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 170Rcl-00021d-00; Wed, 24 Apr 2002 14:36:15 -0400 Original-Received: from meadow.scphys.kyoto-u.ac.jp ([130.54.54.165]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 170QzG-0005v1-00 for ; Wed, 24 Apr 2002 13:55:27 -0400 Original-Received: (qmail 26190 invoked from network); 24 Apr 2002 17:54:41 -0000 Original-Received: from meadow.meadow.scphys.kyoto-u.ac.jp (HELO MILCH.meadowy.org.meadowy.org) (root@172.16.1.1) by meadow.meadow.scphys.kyoto-u.ac.jp with SMTP; 24 Apr 2002 17:54:41 -0000 Original-To: Paul Eggert In-Reply-To: <200204241647.g3OGlP201100@shade.twinsun.com> (Paul Eggert's message of "Wed, 24 Apr 2002 09:47:25 -0700 (PDT)") Original-Lines: 26 User-Agent: T-gnus/6.15.4 (based on Oort Gnus v0.04) (revision 11) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.1 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/1.99 Alpha1 (AWOFUCHI) 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:3207 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3207 Paul Eggert writes: >> From: MIYASHITA Hisashi(=?ISO-2022-JP?B?GyRCNVwyPBsoQiAbJEI+MBsoQjpISU1J?=) >> >> Date: Wed, 24 Apr 2002 19:30:35 +0900 >> >> I think that we MUST NOT use "PWD" environment variable to obtain >> the current directory because it's never standardized. > > I'm not sure what you mean by "it's never standardized". PWD is part > of the POSIX standard. Yes, you are correct. "PWD" is reserved and required to be set by shell on POSIX compliant systems. Of course, I supposed the case on Windows in that mail. > It's true that one can have a problem when > mixing POSIX and non-POSIX shells, since the latter don't update PWD > and this can cause PWD to become incorrect; but this is becoming less > of an issue with time, and anyway Emacs does have a workaround for it. It's one of problems when using Cygwin on Windows ;-). With regards, from himi