From unknown Thu Aug 21 14:54:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#37747 <37747@debbugs.gnu.org> To: bug#37747 <37747@debbugs.gnu.org> Subject: Status: An Introduction to Programming in Emacs Lisp (eintr) - Texinfo documentation error Reply-To: bug#37747 <37747@debbugs.gnu.org> Date: Thu, 21 Aug 2025 21:54:09 +0000 retitle 37747 An Introduction to Programming in Emacs Lisp (eintr) - Texinf= o documentation error reassign 37747 emacs submitter 37747 Lata BL severity 37747 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 11:18:20 2019 Received: (at submit) by debbugs.gnu.org; 14 Oct 2019 15:18:21 +0000 Received: from localhost ([127.0.0.1]:41470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iK271-0006Ij-PW for submit@debbugs.gnu.org; Mon, 14 Oct 2019 11:18:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:47606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJzCP-0005K6-Db for submit@debbugs.gnu.org; Mon, 14 Oct 2019 08:11:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55226) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJzCO-0003rK-1p for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 08:11:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJzCM-0007DZ-DV for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 08:11:39 -0400 Received: from sonic307-53.consmr.mail.ir2.yahoo.com ([87.248.110.30]:36149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJzCL-0007AY-G1 for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2019 08:11:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1571055094; bh=jWFIitNAcX+ISfcuDTFvzTcm9/aGaDX/TZzcIf8LiZI=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=rAZrlCoIw7RE7W+E+UFe1Lw0+zC6aqdZjYTK/Ur+fDDf1WFNmSlIAIVmJxd8YiB5siO36I3RGK5oZ7qSxZP4zKTnPlL6MSOIBR4YHaOCEQ+WmGDfYbKupcevbUELphcLB615vASqpDuFYTMVCny5OZ8cDTd4N6T3/Wx8ZjaJBA2majDU9zqB0dUP2oXMg8tdTHp0dXuwYwYumLAdzvQFhx3mq7n9j05XiGPjqsSJ5LxWqzsX6bSpyM4UvgpXKbEFK74WRkDa/t0j96i25DPTMWEzcXDD5tt9F247T+ckN6E6CnGpJqyMoj3EvIapdjZdZJg86ab6TbFgqfSDAu5xJg== X-YMail-OSG: Sbub2WoVM1lCH7smL6Bbgcp9ArZNAPJnTk8t8Xauc8hKN6wgMSTNKpve60_CIKQ 23L2.r2oaiSUEs19gzGt_E.6aRfl0Ieeqyoq2L1PlHDSO8LMm0jQDwlNBO6Nd.ld6PXuHKMOhyvg VmiFwPKEe2SXYk1CzcPl4nmAQ_uimS8r8KY1S.mZXv0bgoUL_IEQVPEI2aTi7twNzAuz0ezzfsWp 2fcmwV_EA.1c5ok1Bb9Ro2yxFIp65UlgvCS3ibP5eI8mmmE3JKJV.MI0.sYtCUJSU.jB6JefIAU9 D8RxXqcTpE8KqIIrzpo6SZtgdnlh2.IEKd_szEc3aVbhm7nz6IOjvhCJmFAhEZvjHKM5BM9UsmPF 8F1EjXlBffe1tj2vbY72YtnJ_KP8K2ATCSvlBxYmf8bnxE_Vb4fEPLJmL44pVQ49yLWUgZxZij32 P7ICpGRICatdRP3T22DIhoFkkKcB8QXdPxqvNRZ44azmugug7AfWl4dIlIwO964vJtsV6LnXDh_C dfyGR2lTy_tYTtXqwZgP2tK5RqWdDojDC95cBDdavpXRbmyV36O6X1nswum2oS95mcg3MDOVSA7e nknl_DX.J4s73KUPx_r.JKrl446OoSgnQA3l9iptG2M99.P18Avc5Rlf8OEXhqlbbKG6HjHTWuV6 IiKpYS0_HgNmCHECEueAv5Fz5VjW1rB6xswurZyFGwOU_.J.EkKJofbytYJCd9Xon41A7YSHp.lL R1xTqOo8AdUsK4I6g2wA2ZGRWjTH9bayY10WA6uWaj.gReaSqnxRlN.G3UbUE1z74cv4FoPR6oF5 _BMWGaejkhNR2etVt2vT6fhSWKMpGwfixV4UkVrF9lvsoBKcj9SmH5zviUdFKopho7ejunGZEyd4 QqvFWrcalbxcPa1GxWya3VX_v1JTYFfMerrT9ro85l3kC39gOhV.cUneVq653ngpjEaleJNwuJgy 80Jf5XASMl7kxBhMLyUt8NvcKrccjRFUyLb7sDMb8dJOVM2SiGcccWqWiLh4QwjiHVbngMhC8Wf4 1JAxOX3Gac8gpVx9S1w.OrCufD98UnLCTnWQvshAWoo9bCgioDgq9ZDnikzwhMPHWqAkgrQ3beHs 7qdrNF9tYgYJdFze3BdL7qHY69n.fj_xMN17ThEeFSv0nMUmnchlgAOS5mr8E12PanXKOVOTWiEJ .IXwd1zG7kUlvSv.YfHt8yewx5bFdTtVMl_1P3xYAzgkFVWEBI6Y12PkSdDbwnSd1nVspePxGTpA AGcGcXRMa6nWz3I_3oF4a8b9S6lvmNe0BAV0vkp133wsgYmvxv.AORV0sjHzDH1lp Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Mon, 14 Oct 2019 12:11:34 +0000 Date: Mon, 14 Oct 2019 12:11:29 +0000 (UTC) From: Lata BL To: bug-gnu-emacs@gnu.org Message-ID: <2095903294.2007679.1571055089307@mail.yahoo.com> In-Reply-To: <1302705746.2006815.1571054667316@mail.yahoo.com> References: <1302705746.2006815.1571054667316@mail.yahoo.com> Subject: An Introduction to Programming in Emacs Lisp (eintr) - Texinfo documentation error MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2007678_613201346.1571055089306" Content-Length: 3193 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 87.248.110.30 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 14 Oct 2019 11:18:14 -0400 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.6 (--) ------=_Part_2007678_613201346.1571055089306 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Package: emacs I am reading the Introduction to Programming in Emacs Lisp (eintr) document= ation in Emacs 26.3 in Info mode I have encountered 2 possible errors so far:- Error 1) I am confused as to whether there are 3 or 4 "special forms" in ch= apter 3. Is 'defun' treated as a macro or a special form or both of those? 3.7 The =E2=80=98if=E2=80=99 Special Form =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D A third special form, in addition to =E2=80=98defun=E2=80=99 and =E2=80=98l= et=E2=80=99, is the conditional =E2=80=98if=E2=80=99. <<< The number of special forms is later contradicted in 3.10 as follows >>= > 3.10 =E2=80=98save-excursion=E2=80=99 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The =E2=80=98save-excursion=E2=80=99 function is the third and final specia= l form that we will discuss in this chapter. Error 2) Possible extra closing parenthesis prevents evaluation with C-x C-= e 3.7.1 The =E2=80=98type-of-animal=E2=80=99 Function in Detail --------------------------------------------- ... =C2=A0 In the =E2=80=98type-of-animal=E2=80=99 function, the code for the = =E2=80=98if=E2=80=99 looks like this: =C2=A0 =C2=A0 (if (equal characteristic "fierce") =C2=A0 =C2=A0 =C2=A0 =C2=A0 (message "It is a tiger!"))) thank you, Mark Bennett-Leaver =20 ------=_Part_2007678_613201346.1571055089306 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Package: emacs

I am reading the Introduction to= Programming in Emacs Lisp (eintr) documentation in Emacs 26.3 in Info mode=

I have encountered 2 possible errors so far:-
Error 1) I am conf= used 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 thos= e?

3.7 The =E2=80=98if=E2=80=99 Special Form
=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
A third specia= l form, in addition to =E2=80=98defun=E2=80=99 and =E2=80=98let=E2=80=99, i= s the
conditional =E2=80=98if=E2=80=99.

<<< The number o= f special forms is later contradicted in 3.10 as follows >>>
3.10 =E2=80=98save-excursion=E2=80=99
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The =E2=80=98save-excursion=E2=80=99 f= unction is the third and final special form that
we will discuss in this= chapter.


Error 2) Possible extra closing parenthesis prevents e= valuation with C-x C-e
3.7.1 The =E2=80=98type-of-animal=E2=80=99 Functi= on in Detail
---------------------------------------------
...
=C2= =A0 In the =E2=80=98type-of-animal=E2=80=99 function, the code for the =E2= =80=98if=E2=80=99 looks like
this:

=C2=A0 =C2=A0 (if (equal chara= cteristic "fierce")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (message "= ;It is a tiger!")))

thank you, Mark Bennett-Leaver <= /div> =20 ------=_Part_2007678_613201346.1571055089306-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 13:25:41 2019 Received: (at 37747-done) by debbugs.gnu.org; 14 Oct 2019 17:25:41 +0000 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 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 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 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 Date: Mon, 14 Oct 2019 20:25:19 +0300 Message-Id: <83imori6io.fsf@gnu.org> From: Eli Zaretskii To: Lata BL In-reply-to: <2095903294.2007679.1571055089307@mail.yahoo.com> (bug-gnu-emacs@gnu.org) Subject: Re: bug#37747: An Introduction to Programming in Emacs Lisp (eintr) - Texinfo documentation error 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37747-done Cc: 37747-done@debbugs.gnu.org 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 (---) > 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. From unknown Thu Aug 21 14:54:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 12 Nov 2019 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator