unofficial mirror of bug-gnu-emacs@gnu.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 14:11:35 -0700	[thread overview]
Message-ID: <4943188A1CCD43D98D28B1A62D6D115A@us.oracle.com> (raw)
In-Reply-To: <A7BF5AAA5DBD4330835556F11CC31B90@us.oracle.com>

> > > Warning: Unknown defun property fixnum in foo
> > > Warning: Unknown defun property simple-string in foo
> >  
> > > Is this a bug?
> >  
> > It's a name-clash between Elisp's `declare' and CL's 
> > `declare', which results in warnings, which AFAIK are harmless.
> 
> Yes, well it would be clearer for us to say something about 
> _declare_ here, not just something about a "defun property".
> 
> Bonus points for saying something to make it clear to users 
> (of cl.el) that these particular Common Lisp `declare' settings are not 
> supported by cl.el.
> 
> (Warnings are not necessarily harmless, BTW, mais passons...)
> 
> Anyway, feel free to close the bug.  I mainly wanted to raise 
> the question, not being sure this was the message you intended.

Actually, no; I'm being too lenient about this.

This should _not_ be a runtime message that _users_ see, IMO.  Byte-compiler
"warnings" are one thing (they can be annoying enough occasionally).  This,
however, is downright obnoxious.

I'm seeing this each time I start Emacs, just because I load a library
(`el-swank-fuzzy') that someone converted from SLIME code.

If Emacs doesn't know how to handle such things then it should wisely apply the
maxim, "Better to keep your mouth shut and be thought a fool than to open it and
remove all doubt."  IOW, do not advertise Emacs ignorance at runtime, just pass
over it in respectful silence.

Byte compilation is a different story.  Yes, we should let someone who is
byte-compiling know about such things.  But not users who just load (and maybe
never invoke anything in) some library.

Can we please put a muzzle on this?  Thx.






  reply	other threads:[~2012-06-18 21:11 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4943188A1CCD43D98D28B1A62D6D115A@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 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).