[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 00b8c7e: Make ls-lisp.el behave like Posix hosts when directo
From: |
Eli Zaretskii |
Subject: |
Re: master 00b8c7e: Make ls-lisp.el behave like Posix hosts when directory doesn't exist |
Date: |
Fri, 15 Feb 2019 17:41:40 +0200 |
> From: Michael Albinus <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
> Date: Fri, 15 Feb 2019 15:10:31 +0100
>
> > + ;; Emulate what we do on Posix hosts when we call access-file
> > + ;; in insert-directory.
> > + (signal 'file-error
> > + (list "Reading directory"
> > + "Directory doesn't exist or is inaccessible"
> > + file))))))
>
> On GNU/Linux, it is `file-missing' (introduced in Emacs 26).
I know. But ls-lisp doesn't know whether it failed because the
directory doesn't exist, or does exist but isn't accessible, and
trying to discern between these two situations doesn't seem worth it.