unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Hendrik Tews <hendrik.tews@kernkonzept.com>
To: Phil Sainty <psainty@orcon.net.nz>
Cc: 55914@debbugs.gnu.org
Subject: bug#55914: 28.1; Defining as dynamic an already lexical var
Date: Sun, 12 Jun 2022 10:54:52 +0200	[thread overview]
Message-ID: <87a6ail0rn.fsf@cert2.kernkonzept.com> (raw)
In-Reply-To: <f6870511b38a34c8aa56224a88862d5e@webmail.orcon.net.nz> (Phil Sainty's message of "Sun, 12 Jun 2022 12:10:04 +1200")

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





  parent reply	other threads:[~2022-06-12  8:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-11 21:33 bug#55914: 28.1; Defining as dynamic an already lexical var Hendrik Tews
2022-06-12  0:10 ` Phil Sainty
2022-06-12  2:10   ` Phil Sainty
2022-06-12  8:54   ` Hendrik Tews [this message]
2022-06-12 10:33 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6ail0rn.fsf@cert2.kernkonzept.com \
    --to=hendrik.tews@kernkonzept.com \
    --cc=55914@debbugs.gnu.org \
    --cc=psainty@orcon.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).