From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 2bb0703 1/2: lisp/*.el: Force non-nil result to t, to match docstring Date: Thu, 17 Oct 2019 10:57:58 +0300 Message-ID: <8336frdcs9.fsf@gnu.org> References: <20191017004602.22269.2935@vcs0.savannah.gnu.org> <20191017004604.866DF20BC2@vcs0.savannah.gnu.org> <875zkonpqm.fsf@gnus.org> <871rvcnmg1.fsf@gnus.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="59163"; mail-complaints-to="usenet@blaine.gmane.org" Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 09:58:24 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iL0fv-000FFT-8q for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 09:58:23 +0200 Original-Received: from localhost ([::1]:39068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL0ft-0000Rz-QX for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 03:58:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41455) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL0fo-0000Pg-6Y for emacs-devel@gnu.org; Thu, 17 Oct 2019 03:58:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iL0fo-0007mT-1A; Thu, 17 Oct 2019 03:58:16 -0400 Original-Received: from [176.228.60.248] (port=4656 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iL0fn-0004up-2T; Thu, 17 Oct 2019 03:58:15 -0400 In-reply-to: <871rvcnmg1.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 17 Oct 2019 04:19:10 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:241123 Archived-At: > From: Lars Ingebrigtsen > Date: Thu, 17 Oct 2019 04:19:10 +0200 > Cc: Emacs developers > > > Depends. When the function is a predicate, t/nil makes more sense > > (generally speaking, there are exceptions) that non-nil/nil. > > I thought it was kinda opposite: When it's a predicate, we only care > about nil/non-nil. No, predicate returns a boolean result. Recall the recent discussion of using -p in function and variable names.