From: Dan Nicolaescu <dann@ics.uci.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: should fset 'symbol get an undefined function warning?
Date: Tue, 30 Oct 2007 13:47:02 -0700 [thread overview]
Message-ID: <200710302047.l9UKl7qQ022627@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <jwvzly0whuh.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue\, 30 Oct 2007 14\:58\:15 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > The warning "the function `my-fset-test' is not known to be defined"
> > is generated when compiling:
>
> > (fset 'my-fset-test 'foo)
> > (my-fset-test)
>
> > Wouldn't it be better if the warning was not generated?
>
> Could be. But if you use `defalias' the warning will be gone. Why do
> you want to use `fset'?
"I" don't, but there are a some files in the tree that do that, one
that I remember of the top of my head is viper-util. But there are
some more.
next prev parent reply other threads:[~2007-10-30 20:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-30 5:14 should fset 'symbol get an undefined function warning? Dan Nicolaescu
2007-10-30 18:58 ` Stefan Monnier
2007-10-30 20:47 ` Dan Nicolaescu [this message]
2007-10-30 21:05 ` Drew Adams
2007-10-30 21:59 ` Stefan Monnier
2007-10-30 22:39 ` Drew Adams
2007-10-31 0:55 ` Stefan Monnier
2007-10-31 0:09 ` Richard Stallman
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=200710302047.l9UKl7qQ022627@oogie-boogie.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@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.