unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* new fboundp behavior weird
@ 2012-12-29 11:38 Thierry Volpiatto
  2012-12-29 12:35 ` Thierry Volpiatto
  2012-12-31  3:06 ` Stefan Monnier
  0 siblings, 2 replies; 11+ messages in thread
From: Thierry Volpiatto @ 2012-12-29 11:38 UTC (permalink / raw)
  To: emacs-devel

Hi,
the new behavior of fboundp seems really bad.
For example debug-on-entry fail on functions not already bound but have
an alias.
something like:

special-form-p: function xxx is void.

--8<---------------cut here---------------start------------->8---
#'(lambda (symbol)
    (and (fboundp symbol)
	 (not (special-form-p symbol))))
--8<---------------cut here---------------end--------------->8---

(fboundp symbol)
=> t
(symbol-function symbol)
=> the function linked to symbol.

So in this case fboundp is unable to protect the call to special-form-p.

I guess the problem comes from here, but didn't digg more.
I will try to setup a recipe to reproduce ASAP.

NOTE: This is reproductible only on the trunk, not emacs-24 branch which
is working fine.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-12-31  6:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-29 11:38 new fboundp behavior weird Thierry Volpiatto
2012-12-29 12:35 ` Thierry Volpiatto
2012-12-29 16:27   ` Drew Adams
2012-12-29 17:41     ` Thierry Volpiatto
2012-12-29 20:56       ` Drew Adams
2012-12-29 21:36         ` Thierry Volpiatto
2012-12-30 10:25           ` Vitalie Spinu
2012-12-30 11:57             ` Vitalie Spinu
2012-12-29 16:32   ` Andreas Schwab
2012-12-31  3:06 ` Stefan Monnier
2012-12-31  6:51   ` Thierry Volpiatto

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).