[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: locate-file in Emacs

From: Hrvoje Niksic
Subject: Re: locate-file in Emacs
Date: Thu, 18 Apr 2002 18:49:21 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i686-pc-linux)

Miles Bader <address@hidden> writes:

> Hrvoje Niksic <address@hidden> writes:
>> > I think that probably the best thing to do is to simply deprecate
>> > the MODE interface
>> You find it best, but I don't agree.  I think MODE is nice for the
>> added efficiency (which my implementation doesn't use).
> I think that the common cases could (and probably should) be hardwired
> for efficiency's sake.  [E.g., (eq predicate 'file-executable-p) ]

Maybe.  But playing that kind of game can be extremely dangerous.
People can and do redefine built-in functions for all kinds of
reasons.  When I say `file-executable-p', I expect *that* to be run,
and not something else.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]