From: Eli Zaretskii <eliz@gnu.org>
To: Lata BL <lbennettleaver@yahoo.co.uk>
Cc: 37747-done@debbugs.gnu.org
Subject: bug#37747: An Introduction to Programming in Emacs Lisp (eintr) - Texinfo documentation error
Date: Mon, 14 Oct 2019 20:25:19 +0300 [thread overview]
Message-ID: <83imori6io.fsf@gnu.org> (raw)
In-Reply-To: <2095903294.2007679.1571055089307@mail.yahoo.com> (bug-gnu-emacs@gnu.org)
> Date: Mon, 14 Oct 2019 12:11:29 +0000 (UTC)
> From: Lata BL via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> I have encountered 2 possible errors so far:-
> Error 1) I am confused as to whether there are 3 or 4 "special forms" in chapter 3.
> Is 'defun' treated as a macro or a special form or both of those?
>
> 3.7 The ‘if’ Special Form
> =========================
> A third special form, in addition to ‘defun’ and ‘let’, is the
> conditional ‘if’.
>
> <<< The number of special forms is later contradicted in 3.10 as follows >>>
>
> 3.10 ‘save-excursion’
> =====================
> The ‘save-excursion’ function is the third and final special form that
> we will discuss in this chapter.
Thanks, I fixed these places. 'defun' was originally a special form,
but now it's a macro, as described in "Complications" and in section
3.1.
> Error 2) Possible extra closing parenthesis prevents evaluation with C-x C-e
> 3.7.1 The ‘type-of-animal’ Function in Detail
> ---------------------------------------------
> ...
> In the ‘type-of-animal’ function, the code for the ‘if’ looks like
> this:
>
> (if (equal characteristic "fierce")
> (message "It is a tiger!")))
In the current version of the manual, this is a complete function, and
its parentheses are balanced.
With that, I'm closing this bug report.
prev parent reply other threads:[~2019-10-14 17:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1302705746.2006815.1571054667316@mail.yahoo.com>
2019-10-14 12:11 ` bug#37747: An Introduction to Programming in Emacs Lisp (eintr) - Texinfo documentation error Lata BL via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-10-14 17:25 ` Eli Zaretskii [this message]
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=83imori6io.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=37747-done@debbugs.gnu.org \
--cc=lbennettleaver@yahoo.co.uk \
/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).