From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: Robert Cochran <robert-emacs@cochranmail.com>, 23957@debbugs.gnu.org
Subject: bug#23957: [PATCH] Make fboundp an alias for symbol-function
Date: Tue, 12 Jul 2016 16:35:40 -0400 [thread overview]
Message-ID: <jwvlh1638f0.fsf-monnier+bug#23957@gnu.org> (raw)
In-Reply-To: <CAArVCkRQh2+xA+-Bd_wWPizbbtCoQhaDUWz_49Xo6mEQGhLJ0w@mail.gmail.com> (Philipp Stephani's message of "Tue, 12 Jul 2016 17:40:06 +0000")
> And the docstring of `fboundp' does specify that it returns t (not just
> non-nil), so this is indeed a breaking chance.
> I'd suggest to simply remove the FIXME instead.
FWIW, the reason why I put a FIXME instead of making this change, is
that I wasn't sure indeed exactly how to make such a change.
I expect 99% of the uses of fboundp don't care about the distinction
between t and other non-nil values. And at least 90% of the remaining
1% is probably ill-advised to rely on this distinction. But the benefit
of redefining fboundp as an alias rather than as its own function is
probably too small to justify risking such breakage.
Stefan
next prev parent reply other threads:[~2016-07-12 20:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-12 7:08 bug#23957: [PATCH] Make fboundp an alias for symbol-function Robert Cochran
2016-07-12 16:13 ` Drew Adams
2016-07-12 17:40 ` Philipp Stephani
2016-07-12 17:49 ` Drew Adams
2016-07-12 19:11 ` Robert Cochran
2016-07-12 20:06 ` Drew Adams
2016-07-12 23:02 ` Robert Cochran
2016-07-13 2:14 ` Drew Adams
2016-07-12 19:20 ` Sora Firestorm
2016-07-12 20:10 ` Drew Adams
2016-07-12 20:35 ` Stefan Monnier [this message]
2016-07-13 5:35 ` Robert Cochran
2016-07-14 22:53 ` Robert Cochran
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='jwvlh1638f0.fsf-monnier+bug#23957@gnu.org' \
--to=monnier@iro.umontreal.ca \
--cc=23957@debbugs.gnu.org \
--cc=p.stephani2@gmail.com \
--cc=robert-emacs@cochranmail.com \
/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.