all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>
Cc: 11735@debbugs.gnu.org
Subject: bug#11735: 24.1.50; "Warning: Unknown defun property ... in ..."
Date: Mon, 18 Jun 2012 19:45:26 -0700	[thread overview]
Message-ID: <E402B75AB520498F95966C9FA1688BD1@us.oracle.com> (raw)
In-Reply-To: <jwvbokg15ku.fsf-monnier+emacs@gnu.org>

> > 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.






  reply	other threads:[~2012-06-19  2:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18 17:45 bug#11735: 24.1.50; "Warning: Unknown defun property ... in ..." Drew Adams
2012-06-18 20:37 ` Stefan Monnier
2012-06-18 20:49   ` Drew Adams
2012-06-18 21:11     ` Drew Adams
2012-06-18 21:43       ` Stefan Monnier
2012-06-18 22:03         ` Drew Adams
2012-06-19  0:59           ` Stefan Monnier
2012-06-19  2:45             ` Drew Adams [this message]
2012-06-19 11:54               ` Juanma Barranquero
2012-06-19 13:34                 ` Drew Adams
2012-06-19 13:41                   ` Juanma Barranquero
2012-06-19 16:36                     ` Stefan Monnier
2012-06-19 17:08                       ` Drew Adams
2012-06-19 21:37                         ` Stefan Monnier
2012-06-19 22:01                           ` Drew Adams
2014-02-09  3:40                             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E402B75AB520498F95966C9FA1688BD1@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=11735@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.