From: Daniel Mendler <mail@daniel-mendler.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 48738@debbugs.gnu.org
Subject: bug#48738: [PATCH] Optimized `describe-variable' predicate
Date: Mon, 31 May 2021 07:19:27 +0200 [thread overview]
Message-ID: <5954146c-7928-6069-4491-282cc27a25d7@daniel-mendler.de> (raw)
In-Reply-To: <877djfmqow.fsf@gnus.org>
On 5/31/21 7:13 AM, Lars Ingebrigtsen wrote:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> I think I'll just go ahead and add `buffer-local-boundp' now -- it'll
>> perhaps encourage further usage of `buffer-local-value'. I remember
>> doing things like
>>
>> (with-current-buffer foo
>> (and (boundp 'zot) zot))
>>
>> because there's no `buffer-local-boundp'.
>
> local-variable-p and local-variable-if-set-p, but neither really do what
> you want in this case.
Yes, I am aware of those. As you say, they don't do what we want here.
The question is which name convention to use here. I think having a
`buffer-local-boundp` makes sense.
next prev parent reply other threads:[~2021-05-31 5:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-30 4:27 bug#48738: [PATCH] Optimized `describe-variable' predicate Daniel Mendler
2021-05-31 4:55 ` Lars Ingebrigtsen
2021-05-31 5:00 ` Daniel Mendler
2021-05-31 5:06 ` Lars Ingebrigtsen
2021-05-31 5:13 ` Lars Ingebrigtsen
2021-05-31 5:19 ` Daniel Mendler [this message]
2021-05-31 5:23 ` Lars Ingebrigtsen
2021-05-31 5:30 ` Daniel Mendler
2021-05-31 5:32 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5954146c-7928-6069-4491-282cc27a25d7@daniel-mendler.de \
--to=mail@daniel-mendler.de \
--cc=48738@debbugs.gnu.org \
--cc=larsi@gnus.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.