From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: featurep Date: Fri, 22 Mar 2002 19:35:15 -0700 (MST) Sender: emacs-devel-admin@gnu.org Message-ID: <200203230235.g2N2ZFP01824@aztec.santafe.edu> References: <200203190844.g2J8iOq09224@wijiji.santafe.edu> <5xg02wd6cm.fsf@kfs2.cua.dk> <200203210904.g2L94HA10124@wijiji.santafe.edu> <5xit7qgj3b.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1016851493 18289 127.0.0.1 (23 Mar 2002 02:44:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 23 Mar 2002 02:44:53 +0000 (UTC) Cc: jasonr@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 16obWW-0004ks-00 for ; Sat, 23 Mar 2002 03:44:52 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16obdS-0001VS-00 for ; Sat, 23 Mar 2002 03:52:02 +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 16obWC-0005Ws-00; Fri, 22 Mar 2002 21:44:32 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16obNZ-0004w0-00; Fri, 22 Mar 2002 21:35:37 -0500 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g2N2ZFa00021; Fri, 22 Mar 2002 19:35:15 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g2N2ZFP01824; Fri, 22 Mar 2002 19:35:15 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: storm@cua.dk In-Reply-To: <5xit7qgj3b.fsf@kfs2.cua.dk> (storm@cua.dk) 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:2147 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2147 I didn't include all the standard features, so while (featurep 'make-network-process '(:family local)) returns t iff local sockets are supported, testing with (featurep 'make-network-process '(:family nil)) returns nil, because the default is always supported, so there is no reason to (be able to) test for it. Is that ok? That seems reasonable. BTW, I've changed Ffeaturep to use Fmember instead of Fmemq to compare features, so we can now use all sorts of data (e.g. lists or strings) as subfeatures. Yes, that was essential here. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel