unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Ken Brown <kbrown@cornell.edu>
Cc: 32246@debbugs.gnu.org
Subject: bug#32246: 27.0.50; files-tests failure on Cygwin
Date: Thu, 26 Jul 2018 17:03:57 +0200	[thread overview]
Message-ID: <87a7qevy1u.fsf@gmx.de> (raw)
In-Reply-To: <d776e3b7-e81a-bbbf-446c-a18af6ff0df8@cornell.edu> (Ken Brown's message of "Thu, 26 Jul 2018 10:54:38 -0400")

Ken Brown <kbrown@cornell.edu> writes:

> Hi Michael,

Hi Ken,

>> The doc of file-name-case-insensitive-p does not require that FILENAME exists.
>
> I think the doc is ambiguous on that.  The first sentence of the doc
> in the elisp manual says, "Sometimes file names or their parts need to
> be compared as strings, in which case it’s important to know whether
> the underlying filesystem is case-insensitive."  This certainly
> suggests that the file should exist, but there's no indication of what
> the function returns for a non-existent file.  And the code doesn't
> attempt to detect this case.
>
> I don't know what the right solution is.

The doc speaks from "the underlying filesystem". So I believe *this*
must be checked. For non-existing files, the respective directory (up to
the part which exist) should be checked. In case of
"/non-existing-dir/non-existing-file", "/" must be checked.

> Best regards,
>
> Ken

Best regards, Michael.





  reply	other threads:[~2018-07-26 15:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-22 18:10 bug#32246: 27.0.50; files-tests failure on Cygwin Ken Brown
2018-07-22 18:23 ` Michael Albinus
2018-07-23 17:01   ` Ken Brown
2018-07-25 12:00     ` Michael Albinus
2018-07-25 13:37       ` Ken Brown
2018-07-25 16:46         ` Michael Albinus
2018-07-25 16:56           ` Ken Brown
2018-07-25 17:33             ` Michael Albinus
2018-07-26 13:56               ` Michael Albinus
2018-07-26 14:54                 ` Ken Brown
2018-07-26 15:03                   ` Michael Albinus [this message]
2018-07-27 18:34                     ` Ken Brown
2018-07-27 19:30                       ` Michael Albinus
2018-07-27 20:30                         ` Ken Brown
2018-07-27 21:10                         ` Eli Zaretskii
2018-07-27 21:32                           ` Ken Brown
2018-07-27 21:34                             ` Ken Brown
2018-07-26 17:38                   ` Eli Zaretskii
2018-07-27 15:27                     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a7qevy1u.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=32246@debbugs.gnu.org \
    --cc=kbrown@cornell.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).