From unknown Mon Aug 18 22:11:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52197: [PATCH] Format and index concept 'predicate' in ELisp Intro Resent-From: Y. E. Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Nov 2021 10:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52197 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 52197@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: "Y. E." Received: via spool by submit@debbugs.gnu.org id=B.163826767225873 (code B ref -1); Tue, 30 Nov 2021 10:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Nov 2021 10:21:12 +0000 Received: from localhost ([127.0.0.1]:40232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms0G8-0006jE-7w for submit@debbugs.gnu.org; Tue, 30 Nov 2021 05:21:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:44180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms0G7-0006j8-Am for submit@debbugs.gnu.org; Tue, 30 Nov 2021 05:21:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms0G7-0001I5-5X for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 05:21:11 -0500 Received: from out2.migadu.com ([188.165.223.204]:37387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms0G2-0006qe-Ks for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 05:21:10 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ego.team; s=key1; t=1638267647; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=8zufA1mA2782A5Z+bL93zNX8C5WQf/ScorxRhTU1crY=; b=qBQMJ2xuWoXy5TWPJc+48npEY4MGzINwkWkGhkWalAMSff2obnt3Ol9dZGoxNMQM3L4n5D Jkl0aXQRaQ5pOXTsMHFKc9o+QAl5AiO9Vg5htP1vr81ANe+qzhMC7LUL6oA3klTj3/dDt4 3PzUJMj2ROJNTQ8M0kmuBQT+WT0oELw= From: Y. E. Date: Tue, 30 Nov 2021 12:20:46 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=188.165.223.204; envelope-from=yet@ego.team; helo=out2.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Tags: patch As the subject claims, the patch suggests improving representation of the concept 'predicate' in Emacs Lisp Introduction. As far as I can tell, this is the only place among Emacs bundled manuals that introduce the concept. --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Format-and-index-concept-predicate-in-ELisp-Intro.patch >From a097c026d9e894679cbb248c8ce5edfb6036e0e5 Mon Sep 17 00:00:00 2001 From: YugaEgo Date: Tue, 30 Nov 2021 12:02:39 +0200 Subject: [PATCH] Format and index concept 'predicate' in ELisp Intro * doc/lispintro/emacs-lisp-intro.texi (Wrong Type of Argument): Add index and format definition. --- doc/lispintro/emacs-lisp-intro.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 6ddc3bfb5c..9f1f10e8d6 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi @@ -2146,9 +2146,10 @@ Wrong Type of Argument of the buffer.) In Emacs Lisp, @code{+} can be used to add the numeric value of marker positions as numbers. +@cindex @samp{predicate} defined The @samp{p} of @code{number-or-marker-p} is the embodiment of a practice started in the early days of Lisp programming. The @samp{p} -stands for ``predicate''. In the jargon used by the early Lisp +stands for @dfn{predicate}. In the jargon used by the early Lisp researchers, a predicate refers to a function to determine whether some property is true or false. So the @samp{p} tells us that @code{number-or-marker-p} is the name of a function that determines -- 2.30.0 --=-=-=-- From unknown Mon Aug 18 22:11:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52197: [PATCH] Format and index concept 'predicate' in ELisp Intro Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Nov 2021 13:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52197 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Y. E. Cc: 52197@debbugs.gnu.org Received: via spool by 52197-submit@debbugs.gnu.org id=B52197.163827744518725 (code B ref 52197); Tue, 30 Nov 2021 13:05:01 +0000 Received: (at 52197) by debbugs.gnu.org; 30 Nov 2021 13:04:05 +0000 Received: from localhost ([127.0.0.1]:40357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms2nl-0004rw-2x for submit@debbugs.gnu.org; Tue, 30 Nov 2021 08:04:05 -0500 Received: from quimby.gnus.org ([95.216.78.240]:41190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms2ni-0004rT-U8 for 52197@debbugs.gnu.org; Tue, 30 Nov 2021 08:04:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=u84TB3qjn2PlYbsikmV7XWnwSuj8gR8ALzUvwwFAR/I=; b=hQjaNI+P+ENKLmPzK0Q0EWIkkw 5xUFHQe9uIgISYCi1ZQszKm9quI8u4zXnVwixhhVdLeC5h4VJUxm+t0HBwNzQmRaEpPdbUba1XVSy o2RrNAVJ7sE9P+WZtL5gm/S7PpTnwUh3DU5uJVEZMDNJfBBGg+/QIH5rkhDeqEnS7/f0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms2nZ-0006Jr-OR; Tue, 30 Nov 2021 14:03:56 +0100 From: Lars Ingebrigtsen References: X-Now-Playing: Herbert's _Musca_: "Be Young feat. Daisy Godfrey" Date: Tue, 30 Nov 2021 14:03:52 +0100 In-Reply-To: (Y. E.'s message of "Tue, 30 Nov 2021 12:20:46 +0200") Message-ID: <87o861pzgn.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Y. E. writes: > As the subject claims, the patch suggests improving representation of > the concept 'predicate' in Emacs Lisp Introduction. > > As far as I can tell, this is the only place among Emacs bundled > man [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Y. E. writes: > As the subject claims, the patch suggests improving representation of > the concept 'predicate' in Emacs Lisp Introduction. > > As far as I can tell, this is the only place among Emacs bundled > manuals that introduce the concept. Thanks; applied to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 30 08:04:15 2021 Received: (at control) by debbugs.gnu.org; 30 Nov 2021 13:04:15 +0000 Received: from localhost ([127.0.0.1]:40360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms2nv-0004sL-9Y for submit@debbugs.gnu.org; Tue, 30 Nov 2021 08:04:15 -0500 Received: from quimby.gnus.org ([95.216.78.240]:41206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms2nt-0004s8-RE for control@debbugs.gnu.org; Tue, 30 Nov 2021 08:04:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oxOWK/j8D8B/Llkt7D+8nGozuq3iCxCSlapYJydGTkY=; b=pzcON1hCyFWUMPHAvx+UL6Cvxt Fy1iaZpHFlX0ZW9hA4lnYuKUlgFoScr3QwoAPk6zMIbylvt/B/6v1PBNPgdM5tcgaSidbd4Vtd1/Z FGm84NkzmTdqSvTGSZwINEXZifYOToDNOeA9JjQqRaFLnLBPS7XzJd/MP2V9wF0WlUS4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms2nl-0006K0-Ii for control@debbugs.gnu.org; Tue, 30 Nov 2021 14:04:08 +0100 Date: Tue, 30 Nov 2021 14:04:01 +0100 Message-Id: <87mtllpzge.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #52197 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 52197 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 52197 28.1 quit