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 14:07:44 +0300 (IDT) Sender: emacs-devel-admin@gnu.org Message-ID: References: <200204240713.g3O7DgO17536@sic.twinsun.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1019643142 27888 127.0.0.1 (24 Apr 2002 10:12:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2002 10:12:22 +0000 (UTC) Cc: himi@m17n.org, 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 170Jl8-0007Fh-00 for ; Wed, 24 Apr 2002 12:12:22 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 170Jml-0007BL-00 for ; Wed, 24 Apr 2002 12:14:03 +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 170Jl1-0006zO-00; Wed, 24 Apr 2002 06:12:15 -0400 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 170Ji8-00040v-00 for ; Wed, 24 Apr 2002 06:09:16 -0400 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id OAA08302; Wed, 24 Apr 2002 14:07:44 +0300 (IDT) X-Sender: eliz@is Original-To: Paul Eggert In-Reply-To: <200204240713.g3O7DgO17536@sic.twinsun.com> 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:3167 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3167 On Wed, 24 Apr 2002, Paul Eggert wrote: > For example, I know that Windows sometimes plays funky games with > letter case in file names. Suppose the user prefers one case for the > directory name, and sets PWD accordingly. Won't the user be annoyed if > Emacs uses the different case returned by getcwd? > > Similarly, suppose the Windows directory has a mangled file name that > is returned by getcwd, but the user prefers the non-mangled name in > $PWD. All true and important, IMHO. Add the slash/backslash schizophreny to it as well. > Also, are permissions problems ever an issue on Windows platforms? In > Unix and GNU/Linux, getcwd can fail because a parent directory is not > readable, and that is an argument for preferring $PWD to getcwd. Is > such a getcwd failure possible in Windows? I don't think so, but I don't think we should hardwire such assumptions into Emacs if we can do better by changing a single function in w32.c.