all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 49116@debbugs.gnu.org, bugs@gnu.support
Subject: bug#49116: 28.0.50; Why `bound-and-true-p' is not working in lexical binding?
Date: Sun, 20 Jun 2021 01:13:22 +1200	[thread overview]
Message-ID: <80a8a99b4e90c7508a88bb3b98f8545a@webmail.orcon.net.nz> (raw)
In-Reply-To: <83lf76vwt8.fsf@gnu.org>

On 2021-06-20 00:54, Eli Zaretskii wrote:
> Should this be mentioned in the doc string of bound-and-true-p?

It wouldn't hurt, and I see that `boundp' has such a note:

"Note that if `lexical-binding' is in effect, this refers to the
global value outside of any lexical scope."

That same text could be used.

If the confusion is over whether function arguments are dynamic
or lexical then the doc change might not explain things, but it
would probably hint at the source of the confusion.


-Phil






  parent reply	other threads:[~2021-06-19 13:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-19 11:39 bug#49116: 28.0.50; Why `bound-and-true-p' is not working in lexical binding? Jean Louis
2021-06-19 12:49 ` Phil Sainty
2021-06-19 12:54   ` Eli Zaretskii
2021-06-19 13:01     ` Lars Ingebrigtsen
2021-06-19 13:13     ` Phil Sainty [this message]
2021-06-19 13:21       ` Lars Ingebrigtsen
2021-06-21 17:00         ` Michael Heerdegen
2021-06-22 12:59           ` Lars Ingebrigtsen
2021-06-22 23:00 ` Michael Heerdegen

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

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

  git send-email \
    --in-reply-to=80a8a99b4e90c7508a88bb3b98f8545a@webmail.orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=49116@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=eliz@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.