GNU bug report logs - #11000
24.0.94; Caching '--dired' is a bad idea

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Mon, 12 Mar 2012 12:17:01 UTC

Severity: minor

Tags: wontfix

Found in version 24.0.94

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 11000 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 11000 <at> debbugs.gnu.org
Subject: Re: bug#11000: 24.0.94; Caching '--dired' is a bad idea
Date: Tue, 13 Mar 2012 19:47:42 -0400
Leo wrote:

> On 2012-03-13 00:47 +0800, Glenn Morris wrote:
>> Not caching it is a worse idea.
>
> Could you elaborate on this point? I really would like to know.

Just that it sounds very inefficient for everybody to have test what
options `ls' supports on every invocation, just because you are doing
something that sounds frankly rather odd.

There are many places in Emacs that test for features in external
commands the first time only, then make the IMO reasonable assumption
that the command isn't going to change underneath.
rmail-movemail-variant-in-use, find-exec-terminator, etc.




This bug report was last modified 12 years and 63 days ago.

Previous Next


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