GNU bug report logs - #81154
32.0.50; bug in info about erts Code:-section

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Marco Wahl <marco.wahl@HIDDEN>; dated Sat, 30 May 2026 06:03:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 81154 <at> debbugs.gnu.org:


Received: (at 81154) by debbugs.gnu.org; 30 May 2026 11:49:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 30 07:49:05 2026
Received: from localhost ([127.0.0.1]:39504 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTIBd-0003TX-4V
	for submit <at> debbugs.gnu.org; Sat, 30 May 2026 07:49:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40266)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wTIBb-0003Sk-3k
 for 81154 <at> debbugs.gnu.org; Sat, 30 May 2026 07:49:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1wTIBV-0003hE-Au; Sat, 30 May 2026 07:48:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=Sw73UGr7pvuBI2lM1zck112mJxWIJx7N6l/tTY+od9w=; b=ZQKF+AGhtv6K
 UpBmDenYOE68xguDUFzWJHnLCqd6hRV7fZbfz6ml1+0bGZ11mDGv4t4l9SRSgSMMzWMS3e1ity7XN
 3UTeinCobBFjVqmGwX6IKTRL7Six3p4y6yGN3baynK0O+E9OiSub/eudLSjanqsYR6vbO2wQAYm+0
 C91OpBkSy+j7KKY8WFX9lozU/Bm+RiJshdG0EU/M76wlQgbgpbsFCXOGz+j/gdg2QOqmPfzKWQp6H
 uc0Ydffy0frUuEzBlwxWwf6Kr6z9Cw2+RGOmKd/EohJGE/IwD3J+BjEN9STNofwz4MrNwguh4XxE6
 UNzEUFhb9zTeOKlVAlSG+w==;
Date: Sat, 30 May 2026 14:48:52 +0300
Message-Id: <86tsrpyv6j.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Marco Wahl <marco.wahl@HIDDEN>
In-Reply-To: <CAA4ViPxBQK9+1XTxX3DiQph5NWdPDb0xY6iYiqtp-EJLrFpVog@HIDDEN>
 (message from Marco Wahl on Sat, 30 May 2026 12:04:29 +0200)
Subject: Re: bug#81154: 32.0.50; bug in info about erts Code:-section
References: <CAA4ViPyqd0-hkA8c0BacxYEyursGx8=OPGR6mc2dRnjLn2qoRA@HIDDEN>
 <86a4th1c5y.fsf@HIDDEN>
 <CAA4ViPxBQK9+1XTxX3DiQph5NWdPDb0xY6iYiqtp-EJLrFpVog@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81154
Cc: 81154 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Marco Wahl <marco.wahl@HIDDEN>
> Date: Sat, 30 May 2026 12:04:29 +0200
> Cc: 81154 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz@HIDDEN> schrieb am Sa., 30. Mai 2026, 11:26:
> 
>  > From: Marco Wahl <marco.wahl@HIDDEN>
>  > Date: Sat, 30 May 2026 07:58:50 +0200
>  > 
>  > in the info documentation about erts
>  > 
>  >     (info "(ert) erts files")
>  > 
>  > there is this example for a Code:-section:
>  > 
>  >      Code: (indent-region
>  >              (point-min) (point-max))
>  > 
>  > this should rather be
>  > 
>  >      Code: (lambda ()
>  >              (emacs-lisp-mode)
>  >              (indent-region (point-min) (point-max)))
>  > 
>  > 
>  > . btw this code can already be found in the info a few lines above in
>  > the example call of ert-test-erts-file.
> 
>  Thanks.  AFAIU, that's just an example, not a working code snippet, so
>  why is it important to change it?
> 
> the reader of the info-section gets a working example!
> 
> otherwise she might get the (wrong) impression that she can write the action-code for the test just like that:
> (indent-region ...)
> but actually something callable is needed.

That depends on the mode, doesn't it?  No one said it has to be
emacs-lisp-mode, right?  In other modes, this will be incorrect.

> the programmer most likely will find that out, but i think it's nicer not to have to investigate that issue when
> starting with erts-test.

I don't think I agree.  One cannot expect each example in our
documentation to be copy-able into what's supposed to be a working
problem.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81154; Package emacs. Full text available.

Message received at 81154 <at> debbugs.gnu.org:


Received: (at 81154) by debbugs.gnu.org; 30 May 2026 10:04:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 30 06:04:50 2026
Received: from localhost ([127.0.0.1]:37974 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTGYg-0007DV-LY
	for submit <at> debbugs.gnu.org; Sat, 30 May 2026 06:04:50 -0400
Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:42227)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <marco.wahl@HIDDEN>)
 id 1wTGYZ-0007CN-NB
 for 81154 <at> debbugs.gnu.org; Sat, 30 May 2026 06:04:43 -0400
Received: by mail-ed1-x534.google.com with SMTP id
 4fb4d7f45d1cf-6870ad8072eso10410636a12.0
 for <81154 <at> debbugs.gnu.org>; Sat, 30 May 2026 03:04:39 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1780135478; cv=none;
 d=google.com; s=arc-20240605;
 b=QY93zjoIJ8dqS7Uuc1LDQVlsXAwjcai4YAA4csBT1O5dCkPjOIreVDbEOBLCrO3LmB
 QLShbUEkQ3BcRBT7Ve/p2MI1wUXzunDU4/gNp/XOkXtBYb+COF5XNSYL+eMn7b9PvQ8u
 UD5hUWCUEllxbOKZMGYx+HHfYzCMWRHo76I+W+9DNiQfr7VKSvNAGhrzhkXp8y+KgOBB
 txVQDkYr32BK6DQ1mhm1IgIVNf/Xk+LFlp+/ANOqiG+RThxizvNVcI/CI6AYLh+S0fyr
 1pDIFgj6ooFUgecK5AARvnzQURwecHRfcCJJAF7VOf3xX8Zxcx39/aUul5KYpVN/W5cu
 u9GQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:dkim-signature;
 bh=CxtwFYniQEplUsb9aLns3rOxLb2O9qQJOEEVB6F1IRs=;
 fh=P0ZHAs5Cs9fwk13Mfk82kEw133WHfNGvXNu5nrNr0+0=;
 b=MvaTaEQMLirntzG0sNsCeFXjD7W8mP5xTlrJxckv1EuHhdqE6/byVQQuADxcQZysYK
 HYK1mVdoEaMhqQnOWt12M0WsL9CkXBhLmfOqeELBh/e0l+uquRdf6MGp53kTRWcxy19O
 MB4G+x80iaLeB6rL1KHJaBy6FxXvzqIWRb1DDIJug7DNrgKp2IqLqcMhKflQm4S+stlX
 V9zQTK+u+OouzqyDqH961agifr1ysX5OVd8kw8uJVGmPThp9LXPcqfH2hxLURrifrTLX
 YS+ADgw4wnjB+Ov3L4h/2cPrei594GBsfs3OlPYDgFcqskcc6ineP1zRKKSui8oCjc7G
 vdsA==; darn=debbugs.gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1780135478; x=1780740278; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=CxtwFYniQEplUsb9aLns3rOxLb2O9qQJOEEVB6F1IRs=;
 b=mChFT5fEWkbBbrV9CtawxrYI7pNw+L1JPbAZ1MjwpdV5ae+qsqokK6t/plA53uPySy
 bCNozJoGwvYWK6awIleq6m7wfDvURN0TTid+fRqXzfMcmWyuLe3IM5cEArpeLvnpRt0F
 TKZABY3byc7JZFbL9cQKCYXf77SnFhQh007oI4seOaUfhVOWjPWr0bCPmgNWSwetWAYn
 msOTHta3qNPEi5fsTgkVQfdGGpGIHIltN4zZ260hC2jjZMlWW1zhr3Kukxr6oQXNOaqN
 S9+wiIgx5RkkJUMWYT8gB3zT1eTS6jz1g9nXxD2L/Ix/dmq5kgUPs6aCV4G6jE31ZOor
 jWmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1780135478; x=1780740278;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=CxtwFYniQEplUsb9aLns3rOxLb2O9qQJOEEVB6F1IRs=;
 b=NkTYXZXI4neWYKCNza6rEPyojvNnK7iSk1q/0GDSkaAulyd1jQQCF4KvH2wFDYlnQt
 VXJ6JnUacq+2+fLo1C0A0AninFLkW6IGTORc9HXr1u0a+o+mMYz0oQZRvecFJ9FRqMpo
 rFJVdkhfa0LSlKs43W7g1DosTVmW1RzT8oVmC+Tl8ZjxD4ufyENFD4TXxVFDsmq9gWQx
 DUTWtBoZpS6/hAcD7TnFmHfaO32ywPV9Z4KIO1Za4OOXz7si52Hj4KAV+oTHuiZ2lE1o
 ZMdG8+eRpdj/YzD4oy8/sEAY0L1QkYj68aG7Jmrzdr6impubVSslh/nUkljRoESx8gl/
 cOyQ==
X-Gm-Message-State: AOJu0Yymw+hoL4DzW1NaC7Auw/sXmdeFIR0/HAVUimLEc3lr23+yWv/P
 30QPM8omFL49XXBwsjJsY00KTXMzmYUnrMCYcW5FgVmLgLyKrW0FE1wn21n+lQp80BjF/JJ2bDU
 3c03xvCMpPzZghcQDoxofGm6zLXBmKrE=
X-Gm-Gg: Acq92OH4OB4suTcQzOpOnX1osVd3pYIFqS2LVP067LXdyOlIhbMSC7e6XqisOpC4v+L
 y2C8j6a3xCQ52ea1EjoD0C9jPj/Gxeg0pHeD+TZ0ZwQeDSZlkhZHtAh0CZM6Cp9zpAH/nVHnkNj
 DQFbYi5fBlNecJvxPcHbhII92DkLvozrEAK6oqy7RTef9+DMO7f4ohDE58BKUPcpiRbBWzR9d//
 dTdGmV8MBOjA6SNA9oFzBU6v2NEMSr9Ccr/Bbu6EX0uJK4bHMghDYbNtHhBSMmXq7rWcCgKt4rn
 jSnDm2hMvamVMTNIi50IHlMMD9TF704uzbutObeCYVgmW5bkZgpOz0qaJRycy1h2i+XBw0Yvbjs
 J
X-Received: by 2002:aa7:d9c1:0:b0:68a:d002:e20a with SMTP id
 4fb4d7f45d1cf-68c069b0118mr2311319a12.3.1780135477710; Sat, 30 May 2026
 03:04:37 -0700 (PDT)
MIME-Version: 1.0
References: <CAA4ViPyqd0-hkA8c0BacxYEyursGx8=OPGR6mc2dRnjLn2qoRA@HIDDEN>
 <86a4th1c5y.fsf@HIDDEN>
In-Reply-To: <86a4th1c5y.fsf@HIDDEN>
From: Marco Wahl <marco.wahl@HIDDEN>
Date: Sat, 30 May 2026 12:04:29 +0200
X-Gm-Features: AVHnY4Lykv7FlJb4dtWL3jsuIt_KAmablhbyfEqHLWRKnJUj8ushWN3RbScefTU
Message-ID: <CAA4ViPxBQK9+1XTxX3DiQph5NWdPDb0xY6iYiqtp-EJLrFpVog@HIDDEN>
Subject: Re: bug#81154: 32.0.50; bug in info about erts Code:-section
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000cd1277065306160b"
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 81154
Cc: 81154 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

--000000000000cd1277065306160b
Content-Type: text/plain; charset="UTF-8"

Eli Zaretskii <eliz@HIDDEN> schrieb am Sa., 30. Mai 2026, 11:26:

> > From: Marco Wahl <marco.wahl@HIDDEN>
> > Date: Sat, 30 May 2026 07:58:50 +0200
> >
> > in the info documentation about erts
> >
> >     (info "(ert) erts files")
> >
> > there is this example for a Code:-section:
> >
> >      Code: (indent-region
> >              (point-min) (point-max))
> >
> > this should rather be
> >
> >      Code: (lambda ()
> >              (emacs-lisp-mode)
> >              (indent-region (point-min) (point-max)))
> >
> >
> > . btw this code can already be found in the info a few lines above in
> > the example call of ert-test-erts-file.
>
> Thanks.  AFAIU, that's just an example, not a working code snippet, so
> why is it important to change it?
>

the reader of the info-section gets a working example!

otherwise she might get the (wrong) impression that she can write the
action-code for the test just like that: (indent-region ...)
but actually something callable is needed.

the programmer most likely will find that out, but i think it's nicer not
to have to investigate that issue when starting with erts-test.

--000000000000cd1277065306160b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><div>Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN=
g">eliz@HIDDEN</a>&gt; schrieb am Sa., 30. Mai 2026, 11:26:</div><div clas=
s=3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt;=
 From: Marco Wahl &lt;<a href=3D"mailto:marco.wahl@HIDDEN" target=3D"_bl=
ank" rel=3D"noreferrer">marco.wahl@HIDDEN</a>&gt;<br>
&gt; Date: Sat, 30 May 2026 07:58:50 +0200<br>
&gt; <br>
&gt; in the info documentation about erts<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0(info &quot;(ert) erts files&quot;)<br>
&gt; <br>
&gt; there is this example for a Code:-section:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 Code: (indent-region<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (point-min) (point-max=
))<br>
&gt; <br>
&gt; this should rather be<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 Code: (lambda ()<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (emacs-lisp-mode)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (indent-region (point-=
min) (point-max)))<br>
&gt; <br>
&gt; <br>
&gt; . btw this code can already be found in the info a few lines above in<=
br>
&gt; the example call of ert-test-erts-file.<br>
<br>
Thanks.=C2=A0 AFAIU, that&#39;s just an example, not a working code snippet=
, so<br>
why is it important to change it?<br></blockquote></div></div><div dir=3D"a=
uto"><br></div><div dir=3D"auto">the reader of the info-section gets a work=
ing example!</div><div dir=3D"auto"><br></div><div dir=3D"auto">otherwise s=
he might get the (wrong) impression that she can write the action-code for =
the test just like that: (indent-region ...)</div><div dir=3D"auto">but act=
ually something callable is needed.</div><div dir=3D"auto"><br></div><div d=
ir=3D"auto">the programmer most likely will find that out, but i think it&#=
39;s nicer not to have to investigate that issue when starting with erts-te=
st.</div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div dir=
=3D"auto"><div class=3D"gmail_quote gmail_quote_container"><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
</blockquote></div></div></div>

--000000000000cd1277065306160b--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81154; Package emacs. Full text available.

Message received at 81154 <at> debbugs.gnu.org:


Received: (at 81154) by debbugs.gnu.org; 30 May 2026 09:26:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 30 05:26:20 2026
Received: from localhost ([127.0.0.1]:37608 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTFxR-0002Ce-2a
	for submit <at> debbugs.gnu.org; Sat, 30 May 2026 05:26:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41144)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wTFxJ-0002C3-TQ
 for 81154 <at> debbugs.gnu.org; Sat, 30 May 2026 05:26:12 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1wTFxE-0007mY-9q; Sat, 30 May 2026 05:26:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=6xmkhRkERfjdQ/FalNgJ7qZUiP7QaymlwqSya7XpfJk=; b=VxNhVNqTATQb
 4IFMOmXc6i66cmQYAqddED0rWPvOAVIdls+NW9GGER58ORlCScPrr80iuSi1HkOaQPS7Vcy2qg4c2
 4IH2SjXoRCsXEHiQjvPcqBqUIjTzFbBtqRPsq9z1k7rDf8kRJNQEuNn0mcOEmg3YzUYwxTML2Oitu
 CubmdNdEtxL+X/Tljd+zUw1ZtBGGkc4vzLOWMiV6xhMX3FBmMRejtXRYRaALzGLfhmQTogkKAR/Ja
 DWMQ56/7JQaYbE6Y+Nt2X/Dv/i5en6ecWYUd1Yr6JyqHCaanPcfMiCglU9lEC4cwruam2kwGmvwEJ
 TyQphxVyhqfYOlGWQg28qQ==;
Date: Sat, 30 May 2026 12:26:01 +0300
Message-Id: <86a4th1c5y.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Marco Wahl <marco.wahl@HIDDEN>
In-Reply-To: <CAA4ViPyqd0-hkA8c0BacxYEyursGx8=OPGR6mc2dRnjLn2qoRA@HIDDEN>
 (message from Marco Wahl on Sat, 30 May 2026 07:58:50 +0200)
Subject: Re: bug#81154: 32.0.50; bug in info about erts Code:-section
References: <CAA4ViPyqd0-hkA8c0BacxYEyursGx8=OPGR6mc2dRnjLn2qoRA@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81154
Cc: 81154 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Marco Wahl <marco.wahl@HIDDEN>
> Date: Sat, 30 May 2026 07:58:50 +0200
> 
> in the info documentation about erts
> 
>     (info "(ert) erts files")
> 
> there is this example for a Code:-section:
> 
>      Code: (indent-region
>              (point-min) (point-max))
> 
> this should rather be
> 
>      Code: (lambda ()
>              (emacs-lisp-mode)
>              (indent-region (point-min) (point-max)))
> 
> 
> . btw this code can already be found in the info a few lines above in
> the example call of ert-test-erts-file.

Thanks.  AFAIU, that's just an example, not a working code snippet, so
why is it important to change it?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81154; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 May 2026 06:02:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 30 02:02:39 2026
Received: from localhost ([127.0.0.1]:35699 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTCmK-0000lh-Dg
	for submit <at> debbugs.gnu.org; Sat, 30 May 2026 02:02:38 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:40982)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <marco.wahl@HIDDEN>)
 id 1wTCmF-0000kz-LD
 for submit <at> debbugs.gnu.org; Sat, 30 May 2026 02:02:33 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <marco.wahl@HIDDEN>)
 id 1wTCm6-0000S9-Is
 for bug-gnu-emacs@HIDDEN; Sat, 30 May 2026 02:02:22 -0400
Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <marco.wahl@HIDDEN>)
 id 1wTCm5-00088K-24
 for bug-gnu-emacs@HIDDEN; Sat, 30 May 2026 02:02:22 -0400
Received: by mail-ed1-x536.google.com with SMTP id
 4fb4d7f45d1cf-68b2229b48eso4041486a12.2
 for <bug-gnu-emacs@HIDDEN>; Fri, 29 May 2026 23:02:20 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1780120939; cv=none;
 d=google.com; s=arc-20240605;
 b=TcWlBvdyvvTMgRS75fng4XL/mQe8HsoglzdS29zxKkgzxvF2pBe8Bjj4VjzBQ3Zw0h
 0d2+0XTsSzzUe35pxJuZtprX7PukasmFunF0Xs4fsBxVU+ofZfu04O1pMTSBw4zf2tO4
 nAbZpQoabKjvCuB5/sg73Ecqj6jAfe1E1RhRoBVGlb/XxjaxbVoAwLsTlzyWn9GnfCPe
 CFUxupo1KIM6aNXOoe0NhK2P/zW8y3k/0tsvEht/aDj492R6r1WBPEm73QKB01sw3h2m
 LfnpFpjF1ds6PHqASXsnCZrIxl3bUL/DWnm3FciaAnW4gUalyOBDRUhvFd3kWqkZAha9
 JQ9w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=to:subject:message-id:date:from:mime-version:dkim-signature;
 bh=R9iby/P9UIJu+GlaTy1eamSQanTsT6gp219ETP8YPwQ=;
 fh=+R8aXOFVnuBbN1nRXJJI02Ia//JUQJmLW/Uk/VaA0ag=;
 b=R9mRW6EkjYnMONCHUDktWbS/AtB8YdWHXzekCGMJM6syXI8DYbE5T+goqDvOTrXBVF
 yLLtlkq4Wc3Wfm/aT1Cc1MfzwrJMtQEMlGWQOHSUz6ZhyoukH/yv4w+wFxXBsj0OxQjp
 ed+VYBWiAbJ7g/dng/Z3+DFHtahG+NqFuGIUwXE9AKWnNHtr1pD4goYfvPT/7i5nV4MO
 s8zkEg3j6uCSNeJ2Mjr6QuEHFs6spl/Q8UYTYRXKKcOC3NRBsGsHvnm75jMYK+jbvH1B
 Hlao8c9cvHt0TUk4p/3dKNnQe068IeYii8cTHWlCaSqGNFOuqnw8fFxDT1mMFwlRjJTU
 bKxA==; darn=gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1780120939; x=1780725739; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=R9iby/P9UIJu+GlaTy1eamSQanTsT6gp219ETP8YPwQ=;
 b=aQ8xUFqsUrV3aekXzIF0omFiwt1FZqzMOrVf5JlC7rbYAoXZ2bOI85DCF5/NO7R9A/
 z6x2+aTEMK4tMMyM6XYkeuysPw5xUhfzjZUykQsy96ogOf9vbdoEAleq9elosGrni1W2
 BtuG/gf6AIRL2t4Z8DmsTv6plwpw4gsvtU0FzC1zh5DNIcq3bNLOwiF4GptcJJLou6PE
 RNz2H9OS92jPwJi3YyONZU3P/L0IcRlusWjYq1e+N/Zvu1iflA05pMVMgCMoKhabdoYw
 mFuCPa/Dedvb4o4SMnZ66aA0OemT2i6oGAJg0ixV+UAi6YF5KlfH4SoLcrqeASWv7gRi
 n3bQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1780120939; x=1780725739;
 h=to:subject:message-id:date:from:mime-version:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=R9iby/P9UIJu+GlaTy1eamSQanTsT6gp219ETP8YPwQ=;
 b=CpTOliUWewzMOdsJxQvlgeRW6HOUsaVhyOqnGOC912AIJA7M7pJV29LlnZkUeUqoFN
 oKgfUJ678raCULYGQTOjD+Yz8pWtObIaKecfclXYwe4Q+Wa618Ka5XIU7GydhJ+T3CzJ
 4E70Djc/5b7ZuR9z+Rs8IkSS8ghqnzYUHAKrnp3RJ0KvfVeT4tL59+MTD5WrjHLPQom8
 cR2hpAnnvZ1X0b2xAmp+oltbzn3aSwq18ChXg9wojkZOw6cDSt6HCumy8zhQsRM9cJDf
 Rqni01Xqh6Jwe0yJQ4QqiyEomhBmc+UJf7UZz2Oh8OydBX55oJKm1OjaGmHDI+WLyQJZ
 ijxg==
X-Gm-Message-State: AOJu0YxlPQ9Q6lFzwnz+6LWWOE/4FcZ4uBesPwi71BLkId4o3pBUOE0m
 g4r9jrNnvAz/OZC1fFs9xzVT7G3sROEAO0SD3r0Mu5E6nQng7zjIQbRxn+BAcxQkzDOovrrGrej
 RK16Dl8rWkg7Qy617DzRQW+/2uOdP//KcwkMT
X-Gm-Gg: Acq92OHq1C8m2cV3mu5h7HX9+UGVoALfYiuw2nP6bXMipeSn0o1utQsGzMErtyxW7j+
 WynCANoXt0tI/ByEyd9OpiwU9OYTLVFLOxvi3Oz3L06FCMYqRwm53EBNJVgKYgcbkimuPsv5HpA
 ZVzxx4fVXehlOoKOAKQYJq3yA1ExD3Cun/5fGpr/wfMvcA70EoGGp2ROak5a75C0nl0qsVxUNIt
 teJjYHxh5a1YDxmk3SJeuhhEOktAaVshwhbFnePYkr7W3n7WBrrVzGUQZ9tN23aPypgAAxoPGZT
 swHswpUbTkaUFAqpbnMDUMrlQZ5mCcjpLTqkO7k1KehneI9FRhPRfWUZXLgtjaniXpd14pC3hIy
 29yg=
X-Received: by 2002:a05:6402:2112:b0:68a:c316:34fc with SMTP id
 4fb4d7f45d1cf-68c8ae13a31mr1354039a12.9.1780120938535; Fri, 29 May 2026
 23:02:18 -0700 (PDT)
MIME-Version: 1.0
From: Marco Wahl <marco.wahl@HIDDEN>
Date: Sat, 30 May 2026 07:58:50 +0200
X-Gm-Features: AVHnY4L64U1sbQoUWx1VvfWaxxhaTPAuEAEu40DDKMbw16NX1SRjMKTzpg1pTcg
Message-ID: <CAA4ViPyqd0-hkA8c0BacxYEyursGx8=OPGR6mc2dRnjLn2qoRA@HIDDEN>
Subject: 32.0.50; bug in info about erts Code:-section
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::536;
 envelope-from=marco.wahl@HIDDEN; helo=mail-ed1-x536.google.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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: in the info documentation about erts (info "(ert) erts
 files") there is this example for a Code:-section: 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (marco.wahl[at]gmail.com)
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

in the info documentation about erts

    (info "(ert) erts files")

there is this example for a Code:-section:

     Code: (indent-region
             (point-min) (point-max))

this should rather be

     Code: (lambda ()
             (emacs-lisp-mode)
             (indent-region (point-min) (point-max)))


. btw this code can already be found in the info a few lines above in
the example call of ert-test-erts-file.




Acknowledgement sent to Marco Wahl <marco.wahl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#81154; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 30 May 2026 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.