From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#23957: [PATCH] Make fboundp an alias for symbol-function Date: Tue, 12 Jul 2016 17:40:06 +0000 Message-ID: References: <87k2gr49lp.fsf@cochranmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114013b20e1bc5053773c37c X-Trace: ger.gmane.org 1468345285 27721 80.91.229.3 (12 Jul 2016 17:41:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2016 17:41:25 +0000 (UTC) To: Drew Adams , Robert Cochran , 23957@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 19:41:17 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 1bN1gJ-0008Af-PM for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 19:41:15 +0200 Original-Received: from localhost ([::1]:42427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN1gJ-00046P-1E for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 13:41:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN1gA-00045H-MY for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 13:41:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN1g6-00036W-3p for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 13:41:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN1g6-00036K-11 for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 13:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bN1g5-0001RA-Ss for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 13:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2016 17:41: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.14683452245465 (code B ref 23957); Tue, 12 Jul 2016 17:41:01 +0000 Original-Received: (at 23957) by debbugs.gnu.org; 12 Jul 2016 17:40:24 +0000 Original-Received: from localhost ([127.0.0.1]:48611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN1fT-0001Q5-MV for submit@debbugs.gnu.org; Tue, 12 Jul 2016 13:40:23 -0400 Original-Received: from mail-lf0-f52.google.com ([209.85.215.52]:33614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN1fS-0001Pr-NQ for 23957@debbugs.gnu.org; Tue, 12 Jul 2016 13:40:23 -0400 Original-Received: by mail-lf0-f52.google.com with SMTP id b199so20129248lfe.0 for <23957@debbugs.gnu.org>; Tue, 12 Jul 2016 10:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=m52CkeFmQXbUPiDHK0AVPpERo5cdNwyAgfgbfqsPsCE=; b=Zc2Y901nwLKGjD3HBpGEgbuT/ITR1lJlcO4C43XvpNI/ShLEGII5NTePf5EfgK2Ah6 fdPlomoMgaFCHBd5o0/C33OdsaUOs1jgDAdLp8RsiDm2qgHIE6ma4jG8NvE1fHCkOvQI JhrrInnyinbs7ad5EZIwH4AqPKXKLYF+AteRSKtczP1adq5+HxSaTqPgHe8m+v2ym6ah ajOrxC4XowLjcm4x1Nx/4upmsADVoIiva4eIshbfvBaWZlZQrU7F4oZ2sj6Gamu9RvHq ZH2kmWeWMHc/YBR/psRlWrONbqUQIm1AEoTMlpBMKyrbS9r738Rhdlj5ncK4EEq8w343 WwFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=m52CkeFmQXbUPiDHK0AVPpERo5cdNwyAgfgbfqsPsCE=; b=Wm6HqazFoylW2AdBljeMy+BZIEUyUCQWzradVbvGEYl4FRN0624cBYNtFghpbfJ33J rE8hxDGPa8McsOqIPK8Yxl8Q9vO70pfJzwDiSN6lK8JS9msPqIDA46K7SmA73ef2KeJ1 WNizmeax5jn8CldTUtrQaoTVAkbvxQQjbPZ8Pnmc44PXt6CzW5OWNMKQgewIfln4dijm b5JpQqep4CwEA2H17TEAkvV1WRuCh9QXq2y1GEqu8tzQtpwRq3WIA6A5MdZ3qafYqrQS P2hgp1j+YQBg2Qu1cfcPvGWK8u5nz6nH7Q9FD0Cv5SFWDhr9ZvHzFMn8pgHGnvQYQKtz 6IEQ== X-Gm-Message-State: ALyK8tJMf4Wv/wHdLw/rNsa0LKcgkXDQI9OUOdgzxDUR6ggY8Wj/r/tZZCBO+B4xVqA6KcLfZKlTOpuqqMkvWQ== X-Received: by 10.25.33.194 with SMTP id h185mr1861589lfh.110.1468345216799; Tue, 12 Jul 2016 10:40:16 -0700 (PDT) In-Reply-To: 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:120932 Archived-At: --001a114013b20e1bc5053773c37c Content-Type: text/plain; charset=UTF-8 Drew Adams schrieb am Di., 12. Juli 2016 um 18:14 Uhr: > It is not backward compatible, since `fboundp' returns t if > there is a function value and `symbol-function' returns that > function value. This will break any code that depends on > getting t or nil. > 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. --001a114013b20e1bc5053773c37c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Drew A= dams <drew.adams@oracle.com= > schrieb am Di., 12. Juli 2016 um 18:14=C2=A0Uhr:
It is not backward compatible, since `fboundp' retur= ns t if
there is a function value and `symbol-function' returns that
function value.=C2=A0 This will break any code that depends on
getting t or nil.

And the docstring of `fboundp' does sp= ecify that it returns t (not just non-nil), so this is indeed a breaking ch= ance.

I'd suggest to simply remove the FIXME i= nstead.=C2=A0
--001a114013b20e1bc5053773c37c--