GNU bug report logs - #18836
25.0.50; `insert-directory' barfs on nonexistent file, but not for `ls-lisp-insert-directory'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 25 Oct 2014 19:57:01 UTC

Severity: wishlist

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 18836 <at> debbugs.gnu.org, drew.adams <at> oracle.com
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 <at> gnus.org>
> Date: Sat, 30 Apr 2016 16:56:19 +0200
> Cc: 18836 <at> 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?




This bug report was last modified 3 years and 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.