emacs-devel
[Top][All Lists]
Advanced

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

Re: featurep


From: Kim F. Storm
Subject: Re: featurep
Date: 19 Mar 2002 23:59:37 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

Jason Rumney <address@hidden> writes:

> address@hidden (Kim F. Storm) writes:
> 
> > However, for a usage point of view, I don't really see why it
> > matters, and IMHO, using featurep will be _less_ intuitive.
> > For example, I think using
> > 
> >   (if (and (make-network-process :feature :family 'local)
> >            (make-network-process :feature :datagram t))
> 
> Having make-network-process doing something other than making a
> network process is not a more intuitive solution than featurep.

Not but there are fewer things (almost none in fact) to document.
Compare

  (if (make-network-process :feature :family 'local)
      (make-network-process ... ...  :family 'local ...))

to

  (if (featurep 'networking 'local-sockets)
      (make-network-process ... ...  :family 'local ...))

That's two different pairs of symbols rather than one and the same.

But I seem to be out-numbered here, so I'll make the change.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk




reply via email to

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