From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37747: An Introduction to Programming in Emacs Lisp (eintr) - Texinfo documentation error Date: Mon, 14 Oct 2019 20:25:19 +0300 Message-ID: <83imori6io.fsf@gnu.org> References: <1302705746.2006815.1571054667316@mail.yahoo.com> <2095903294.2007679.1571055089307@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="116124"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37747-done@debbugs.gnu.org To: Lata BL Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 14 19:53:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iK4Wz-000U2V-UM for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2019 19:53:18 +0200 Original-Received: from localhost ([::1]:55022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK4Wy-0006KO-LT for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2019 13:53:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48444) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK46e-00005C-2b for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 13:26:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK46d-0008NL-1L for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 13:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32808) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iK46c-0008NB-UU for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 13:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iK46c-0003Ji-PE for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 13:26:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2019 17:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 37747 X-GNU-PR-Package: emacs Mail-Followup-To: 37747@debbugs.gnu.org, eliz@gnu.org, lbennettleaver@yahoo.co.uk Original-Received: via spool by 37747-done@debbugs.gnu.org id=D37747.157107394112714 (code D ref 37747); Mon, 14 Oct 2019 17:26:02 +0000 Original-Received: (at 37747-done) by debbugs.gnu.org; 14 Oct 2019 17:25:41 +0000 Original-Received: from localhost ([127.0.0.1]:41628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK46H-0003J0-7l for submit@debbugs.gnu.org; Mon, 14 Oct 2019 13:25:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK46F-0003In-Ca for 37747-done@debbugs.gnu.org; Mon, 14 Oct 2019 13:25:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iK46A-0007qg-2U; Mon, 14 Oct 2019 13:25:34 -0400 Original-Received: from [176.228.60.248] (port=2072 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iK461-0002vg-E8; Mon, 14 Oct 2019 13:25:28 -0400 In-reply-to: <2095903294.2007679.1571055089307@mail.yahoo.com> (bug-gnu-emacs@gnu.org) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169287 Archived-At: > 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" > > 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.