From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Y. E. via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#52197: [PATCH] Format and index concept 'predicate' in ELisp Intro Date: Tue, 30 Nov 2021 12:20:46 +0200 Message-ID: Reply-To: "Y. E." Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5669"; mail-complaints-to="usenet@ciao.gmane.io" To: 52197@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 30 11:22:23 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms0HG-0001DD-JE for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 11:22:23 +0100 Original-Received: from localhost ([::1]:42620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms0HF-0001OU-0g for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 05:22:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms0Gw-0001MR-FK for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 05:22:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms0Gw-00071B-1o for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 05:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ms0Gv-0006kM-Ro for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 05:22:01 -0500 X-Loop: help-debbugs@gnu.org 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 X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163826767225873 (code B ref -1); Tue, 30 Nov 2021 10:22:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Nov 2021 10:21:12 +0000 Original-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 Original-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 Original-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 Original-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= 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , Y. E. Xref: news.gmane.io gmane.emacs.bugs:221107 Archived-At: --=-=-= 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 --=-=-=--