From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: featurep Date: 19 Mar 2002 23:59:37 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <5xbsdkyxie.fsf@kfs2.cua.dk> References: <200203190844.g2J8iOq09224@wijiji.santafe.edu> <5xg02wd6cm.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016653737 5110 127.0.0.1 (20 Mar 2002 19:48:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Mar 2002 19:48:57 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16nm4v-0001KJ-00 for ; Wed, 20 Mar 2002 20:48:57 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16nmAo-0004bM-00 for ; Wed, 20 Mar 2002 20:55:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16nSnk-00081d-00; Tue, 19 Mar 2002 18:13:56 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16nSZK-0007jz-00; Tue, 19 Mar 2002 17:59:02 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 668D07C047; Tue, 19 Mar 2002 22:58:40 +0000 (GMT) Original-To: Jason Rumney In-Reply-To: Original-Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2055 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2055 Jason Rumney writes: > storm@cua.dk (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 http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel