GNU bug report logs - #23957
[PATCH] Make fboundp an alias for symbol-function

Previous Next

Package: emacs;

Reported by: Robert Cochran <robert-emacs <at> cochranmail.com>

Date: Tue, 12 Jul 2016 15:50:03 UTC

Severity: wishlist

Tags: fixed, patch

Merged with 23988

Fixed in version 25.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Sora Firestorm <robert <at> cochranmail.com>
Cc: Philipp Stephani <p.stephani2 <at> gmail.com>, Robert Cochran <robert-emacs <at> cochranmail.com>, 23957 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#23957: [PATCH] Make fboundp an alias for symbol-function
Date: Tue, 12 Jul 2016 20:10:00 +0000 (UTC)
> >> I'd suggest to simply remove the FIXME instead.
> >
> > I'd be somewhat curious about who wrote it and why.  Maybe
> > there is something else that could be done to satisfy whatever
> > the perceived need was.
> 
> I just did a blame for that line, and it lead back to commit eadf1faa
> ("Conflate Qnil and Qunbound for `symbol-function'.") by Stefan Monnier
> <monnier <at> iro.umontreal.ca> (CC'd).

Yes, well, perhaps Stefan will chime in with the reason(s) for it.

But to my mind the simple action "Conflate Qnil and Qunbound for
`symbol-function'" sounds like it is about doing something to
`symbol-function' rather than doing something to `fboundp'.

It is the behavior (hence meaning) of `fboundp' that changes
if you set it as an alias for `symbol-function'.  The latter's
behavior does not change.




This bug report was last modified 9 years and 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.