GNU bug report logs - #11735
24.1.50; "Warning: Unknown defun property ... in ..."

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 18 Jun 2012 17:50:01 UTC

Severity: minor

Tags: wontfix

Found in version 24.1.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 11735 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#11735: 24.1.50; "Warning: Unknown defun property ... in ..."
Date: Tue, 19 Jun 2012 12:36:00 -0400
>> (Actually, you've shown only that there exists an implementation
>> (albeit a common one) that prints a warning.  That does not confirm
>> that the CL spec says that's OK.  But I claimed IANAL...)
> http://www.sbcl.org/manual/index.html#ANSI-Conformance

AFAIK, contrary to Ada, Common Lisp does not try to enforce particular
behaviors with respect to compilation warnings.

>> Perhaps this kind of message is a candidate for a :debug warning level?  I
>> already said that it is useful for programmers.  I do not see it as helpful for
>> general users just loading a library.  On the contrary: some might become
>> confused, if not downright worried.  That's all I'm trying to say.

Just to put things in perspective, this message only occurs for uses of
`declare' which use declarations not supported directly by Elisp
(that's fairly uncommon) and only for those `declare's that are inside
a `defun' rather than a `defun*' (even less common), and then only for
code that's not byte-compiled.
That's sufficiently rare that I'm not worried about it.


        Stefan




This bug report was last modified 11 years and 166 days ago.

Previous Next


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