From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Tests, Emacs-25 and Conditional Features Date: Sat, 19 Mar 2016 21:26:40 +0000 Message-ID: <87vb4i40rz.fsf@russet.org.uk> References: <87k2l2zgre.fsf@russet.org.uk> <87h9g6xzrb.fsf@gmx.de> <87shzpxvfv.fsf@russet.org.uk> <83bn6d9iml.fsf@gnu.org> <87zitwf4pz.fsf@russet.org.uk> <831t789h95.fsf@gnu.org> <87r3f7em8x.fsf@russet.org.uk> <83twk38wep.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458423708 4691 80.91.229.3 (19 Mar 2016 21:41:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2016 21:41:48 +0000 (UTC) Cc: michael.albinus@gmx.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 19 22:41:38 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ahOco-0000dD-S5 for ged-emacs-devel@m.gmane.org; Sat, 19 Mar 2016 22:41:35 +0100 Original-Received: from localhost ([::1]:50628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahOco-000864-A8 for ged-emacs-devel@m.gmane.org; Sat, 19 Mar 2016 17:41:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahOcR-0007zq-6l for emacs-devel@gnu.org; Sat, 19 Mar 2016 17:41:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahOcQ-0005vl-Ad for emacs-devel@gnu.org; Sat, 19 Mar 2016 17:41:11 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:35526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahOcK-0005v4-Kd; Sat, 19 Mar 2016 17:41:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:References:Message-ID :Date:In-Reply-To:Subject:Cc:To:From; bh=Jq2OeEmJhIMLGfPiwsRPaVyScby4GJtf+iz2bbNjjG4=; b=D3bzbLJFkE5JA3nOgnHDkNEnrt NnlkJy/2u26pJlCO1uVwCOAIUBUTbYShQ4NxabO1t/l53myCez6ylOCGcK8Bau/Tzejr8rHTclwRA JyovTSnS2sHg19JvVUUg9W1dcDGxiH2X1XuJG+SQbT6NcNQT9MFH8MUpbJiplAxtCPAcQV3r1tzlZ lRFuGLmAAETqLhUQ/VPdAyWA4pkOk8yDOAiGuaVXGC3zWUqBpVvTUpC/UBDdBXyF1Odfcr2ITD2+6 N7rb7n8GNOKP4dRk6pDjWABLmlpYsFKIauXsHdbKMlpdNgFFWAkmxD1Xp9fENBmcaOWkrURSHxsw3 W4XtUuUg==; Original-Received: from cpc1-benw10-2-0-cust373.gate.cable.virginm.net ([77.98.219.118]:35775 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1ahOcJ-0033MV-KZ; Sat, 19 Mar 2016 21:41:03 +0000 In-Reply-To: <83twk38wep.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Mar 2016 20:37:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:201904 Archived-At: Eli Zaretskii writes: >> From: phillip.lord@russet.org.uk (Phillip Lord) >> Cc: michael.albinus@gmx.de, emacs-devel@gnu.org >> Date: Fri, 18 Mar 2016 17:20:30 +0000 >> >> Eli Zaretskii writes: >> >> Michael's example shows, we have a gnutls-available-p function which >> >> is defined if gnutls is not available, but for libxml, we check for >> >> non-definition of functions. >> > >> > It would be trivial to add a libxml2-available-p function, but I fail >> > to see how is this different from using fboundp. And AFAIU, in the >> > context of this discussion, you don't want to trust the likes of >> > gnutls-available-p, either. >> >> One is one way, the other is the other way. >> >> Principle of least surprise and all that stuff. > > Are we still talking about the feature test you wanted to have? Yeah. A consistent mechanism for identifying the presence of absence of build conditional features would be no bad thing. Phil