From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Naming predicates (was: master d0c77a1: Remove some assumptions about timestamp format) Date: Fri, 28 Sep 2018 14:06:07 -0400 Message-ID: References: <20180925021527.10418.61555@vcs0.savannah.gnu.org> <20180925021528.9A119204E8@vcs0.savannah.gnu.org> <87bm8lanwu.fsf@gmx.de> <87o9ck6270.fsf@gmx.de> <2cfc5ca3-d661-f431-397a-705682ab17eb@cs.ucla.edu> <877ej5ap0o.fsf@gmx.de> <3356af4b-f6f5-e353-6162-a5fa8880d223@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1538157925 22975 195.159.176.226 (28 Sep 2018 18:05:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2018 18:05:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 28 20:05:21 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5x8j-0005sU-KI for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2018 20:05:21 +0200 Original-Received: from localhost ([::1]:44759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5xAq-0002is-79 for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2018 14:07:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5xA8-0002im-I6 for emacs-devel@gnu.org; Fri, 28 Sep 2018 14:06:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5xA2-0007n6-To for emacs-devel@gnu.org; Fri, 28 Sep 2018 14:06:48 -0400 Original-Received: from [195.159.176.226] (port=52713 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5x9z-0007Oj-09 for emacs-devel@gnu.org; Fri, 28 Sep 2018 14:06:40 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1g5x7T-0004H5-Ky for emacs-devel@gnu.org; Fri, 28 Sep 2018 20:04:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 10 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:TsxH26JtXPgzgbt2vZh0GUFcli8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:230111 Archived-At: >> Shouldn't this be `time-equal-p', as we have already `time-less-p'? > Thanks, as a Scheme refugee I never can remember which predicates should end > in "-p" vs "p" vs nothing. I installed the attached. The rule is not that bad: use a "-p or p" suffix whenever a Schemer would use a "?" suffix. As for when to use "-p" vs just "p" I'd say you can simply always use "-p" when it's something you define. Stefan "who likes Scheme's ?, ->, and ! naming conventions"