[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: init_buffer PWD fix

From: Eli Zaretskii
Subject: Re: init_buffer PWD fix
Date: Wed, 24 Apr 2002 14:07:44 +0300 (IDT)

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]