From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#23957: [PATCH] Make fboundp an alias for symbol-function Date: Tue, 12 Jul 2016 16:35:40 -0400 Message-ID: References: <87k2gr49lp.fsf@cochranmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1468355786 32305 80.91.229.3 (12 Jul 2016 20:36:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2016 20:36:26 +0000 (UTC) Cc: Robert Cochran , 23957@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 22:36:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bN4Pd-0006ko-9A for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 22:36:13 +0200 Original-Received: from localhost ([::1]:43348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN4Pc-000095-NI for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 16:36:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN4PW-00008z-3O for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 16:36:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN4PS-0003xy-1H for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 16:36:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN4PR-0003xt-US for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 16:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bN4PR-0007mm-Nr for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 16:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2016 20:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 23957-submit@debbugs.gnu.org id=B23957.146835574829909 (code B ref 23957); Tue, 12 Jul 2016 20:36:01 +0000 Original-Received: (at 23957) by debbugs.gnu.org; 12 Jul 2016 20:35:48 +0000 Original-Received: from localhost ([127.0.0.1]:48783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN4PD-0007mL-RB for submit@debbugs.gnu.org; Tue, 12 Jul 2016 16:35:47 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:41602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN4PC-0007m7-33 for 23957@debbugs.gnu.org; Tue, 12 Jul 2016 16:35:46 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CtCwA731xV/3mcpUVcgxCEAsEMCYdLBAICgTw5FAEBAQEBAQGBCkEFg10BAQMBViMFCwsOJhIUGA0kiDcIzyMBAQEBBgEBAQEeizqFBQeELQWzP4FFI2GDMyKCeAEBAQ X-IPAS-Result: A0CtCwA731xV/3mcpUVcgxCEAsEMCYdLBAICgTw5FAEBAQEBAQGBCkEFg10BAQMBViMFCwsOJhIUGA0kiDcIzyMBAQEBBgEBAQEeizqFBQeELQWzP4FFI2GDMyKCeAEBAQ X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="247628100" Original-Received: from 69-165-156-121.dsl.teksavvy.com (HELO pastel.home) ([69.165.156.121]) by ironport2-out.teksavvy.com with ESMTP; 12 Jul 2016 16:35:41 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7D8E164405; Tue, 12 Jul 2016 16:35:40 -0400 (EDT) In-Reply-To: (Philipp Stephani's message of "Tue, 12 Jul 2016 17:40:06 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120958 Archived-At: > 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