unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Y. E. via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 52197@debbugs.gnu.org
Subject: bug#52197: [PATCH] Format and index concept 'predicate' in ELisp Intro
Date: Tue, 30 Nov 2021 12:20:46 +0200	[thread overview]
Message-ID: <m2fsrendvl.fsf@ego.team> (raw)

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

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.



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Format-and-index-concept-predicate-in-ELisp-Intro.patch --]
[-- Type: text/patch, Size: 1286 bytes --]

From a097c026d9e894679cbb248c8ce5edfb6036e0e5 Mon Sep 17 00:00:00 2001
From: YugaEgo <yet@ego.team>
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


             reply	other threads:[~2021-11-30 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30 10:20 Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-11-30 13:03 ` bug#52197: [PATCH] Format and index concept 'predicate' in ELisp Intro Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2fsrendvl.fsf@ego.team \
    --to=bug-gnu-emacs@gnu.org \
    --cc=52197@debbugs.gnu.org \
    --cc=yet@ego.team \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).