GNU bug report logs - #64290
“named-let” doc bug?

Previous Next

Package: emacs;

Reported by: Shynur Xie <one.last.kiss <at> outlook.com>

Date: Sun, 25 Jun 2023 23:18:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 64290 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Shynur Xie <one.last.kiss <at> outlook.com>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 64290 <at> debbugs.gnu.org
Subject: Re: bug#64290: “named-let” doc bug?
Date: Mon, 26 Jun 2023 15:19:35 +0300
> From: Shynur Xie <one.last.kiss <at> outlook.com>
> Date: Sun, 25 Jun 2023 23:16:41 +0000
> msip_labels: 
> 
> The following code seems fine semantically and grammatically:
> 
>     ;; -*- lexical-binding: nil; -*-
>     (named-let f ((n 1))
>       (dotimes (i n)
>         (f 0)))
> 
> But it throws error.
> 
> Perhaps we should clarify that “‘named-let’ works as expected only
> when ‘lexical-binding’ is enabled” in relevant doc?

Stefan, any comments?




This bug report was last modified 1 year and 334 days ago.

Previous Next


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