GNU bug report logs - #55914
28.1; Defining as dynamic an already lexical var

Previous Next

Package: emacs;

Reported by: Hendrik Tews <hendrik.tews <at> kernkonzept.com>

Date: Sat, 11 Jun 2022 21:34:01 UTC

Severity: normal

Found in version 28.1

Full log


View this message in rfc822 format

From: Hendrik Tews <hendrik.tews <at> kernkonzept.com>
To: Phil Sainty <psainty <at> orcon.net.nz>
Cc: 55914 <at> debbugs.gnu.org
Subject: bug#55914: 28.1; Defining as dynamic an already lexical var
Date: Sun, 12 Jun 2022 10:54:52 +0200
Hi,

thanks for your quick answer.

> Which indicates a bug to be fixed, no?

Well, not as long as the documentation clear states that in this
case the dynamic value is set.

> If the variable is *supposed* to be dynamic (everywhere), then
> lexical libraries which refer to it must declare (defvar FOO) to
> mark it as a dynamic variable, if it's possible that the proper
> definition may not yet have been loaded.

Is this statement in the manual somewhere? If not, would you mind
adding it?

Best regards,

Hendrik Tews




This bug report was last modified 3 years and 4 days ago.

Previous Next


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