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 03:25:57 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <8296-Wed24Apr2002190326+0300-eliz@is.elta.co.il> 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 1019672841 22359 127.0.0.1 (24 Apr 2002 18:27:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2002 18:27:21 +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 170RU9-0005oW-00 for ; Wed, 24 Apr 2002 20:27:21 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 170RVv-0001bj-00 for ; Wed, 24 Apr 2002 20:29:12 +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 170RU3-0008JE-00; Wed, 24 Apr 2002 14:27: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 170RSp-0008FK-00 for ; Wed, 24 Apr 2002 14:26:00 -0400 Original-Received: (qmail 14685 invoked from network); 24 Apr 2002 18:25:14 -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 18:25:14 -0000 Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Wed, 24 Apr 2002 14:10:36 -0400") Original-Lines: 21 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:3204 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3204 Eli Zaretskii writes: > I can throw together an example where the opposite is true: the value > of PWD is better than what GetCurrentDirectory returns. But "PWD" is NOT cared by almost all of the Windows application. On the contrary, Get/SetCurrentDirectory() is always cared. > OTOH, differences in behavior on different platforms are not a good > idea, either. It makes the documentation either confusing or > incorrect, and it confuses people who need to work on several > different platforms. I don't think it's a difference. I believe that users only want to set the prefered current directory, and it's best to use getcwd() to realize that at least on Windows. With regards, from himi