From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#11735: 24.1.50; "Warning: Unknown defun property ... in ..." Date: Mon, 18 Jun 2012 19:45:26 -0700 Message-ID: References: <8DE4AF0D660148A7A7D69D38AD6BEE74@us.oracle.com><4943188A1CCD43D98D28B1A62D6D115A@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340074010 11784 80.91.229.3 (19 Jun 2012 02:46:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2012 02:46:50 +0000 (UTC) Cc: 11735@debbugs.gnu.org To: "'Stefan Monnier'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 19 04:46:49 2012 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 1SgoSu-0008EE-JR for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jun 2012 04:46:48 +0200 Original-Received: from localhost ([::1]:37942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgoSu-0003v6-Lr for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jun 2012 22:46:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgoSr-0003uV-SY for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 22:46:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgoSq-0007Nf-4U for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 22:46:45 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgoSq-0007NX-0s for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 22:46:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SgoW2-0006M2-7I for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 22:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jun 2012 02:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11735-submit@debbugs.gnu.org id=B11735.134007414724360 (code B ref 11735); Tue, 19 Jun 2012 02:50:02 +0000 Original-Received: (at 11735) by debbugs.gnu.org; 19 Jun 2012 02:49:07 +0000 Original-Received: from localhost ([127.0.0.1]:47544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgoV9-0006Kr-FO for submit@debbugs.gnu.org; Mon, 18 Jun 2012 22:49:07 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:40596) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SgoV6-0006Kj-QG for 11735@debbugs.gnu.org; Mon, 18 Jun 2012 22:49:05 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q5J2jhHV009378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 Jun 2012 02:45:44 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q5J2jhJ9001833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Jun 2012 02:45:43 GMT Original-Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q5J2jg87024728; Mon, 18 Jun 2012 21:45:43 -0500 Original-Received: from dradamslap1 (/10.159.170.47) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 18 Jun 2012 19:45:42 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac1NtsBYO9JEFwIYRUWMmJ6gSA3G6QADazgw X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61095 Archived-At: > > Apparently you are wedded to the idea of a runtime message here. > > No, So if you are not wedded to it, then perhaps this will be fixed? > it's simply a macro-expansion-time message. > Macro-expansion either > happens at compile-time, or if the file is not compiled it happens at > run-time. The macro doesn't know whether it's called during > compilation or at run-time. Thanks for the implementation description. But that does not speak to what the message is really for and whether or how much the current implementation really fits the message's purpose. Do what you will with this bug report. To my mind it is misguided to bother & possibly confuse users with this kind of message when they just load some library. Without checking the Common Lisp spec (IANAL), I would guess that even Common Lisp, which defines such optimization declarations, leaves it up to CL implementations to ignore some of them. But I doubt that it leaves it up to them to raise a warning for those declarations it does not recognize. Just a guess (haven't read CLTL in a _long_ time). But that's typically the approach taken for this kind of thing (optimization declarations, hints to compilers or optimizers, etc.): Handle the unknown with silence - not with alarm.