emacs-devel
[Top][All Lists]
Advanced

[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:29:29 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i686-pc-linux)

Miles Bader <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've never
needed a generic PREDICATE argument, but I did use MODE.

Another thing I don't like about that change is that it mixes the
namespaces -- PREDICATE would silently misbehave work if your function
happens to be named `executable' or `readable'.  It may not be a
problem in practice, but I'd prefer to keep the namespaces separate.

>   * Using a predicate is more elegant, and more `lispy'.

Maybe we should revert to using OR-ed numbers.  :-)



reply via email to

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