[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18836: 25.0.50; `insert-directory' barfs on nonexistent file, but no
From: |
Eli Zaretskii |
Subject: |
bug#18836: 25.0.50; `insert-directory' barfs on nonexistent file, but not for `ls-lisp-insert-directory' |
Date: |
Sat, 30 Apr 2016 18:39:59 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sat, 30 Apr 2016 16:56:19 +0200
> Cc: 18836@debbugs.gnu.org
>
> > Would it be possible to make vanilla `insert-directory' more tolerant,
> > i.e., make it act like `ls-lisp-insert-directory', in this respect?
>
> I have no opinion on that, but: What on Earth is that function (and all
> its adjacent functions) doing in files.el?
Where else would you like them to be?
> (insert-directory "." "-l")
> =>
> drwxrwxr-x 22 larsi larsi 4096 april 30 16:49 .
>
> This doesn't seem like a very ... useful general function.
Then how come dired.el calls it?