unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: should fset 'symbol get an undefined function warning?
Date: Tue, 30 Oct 2007 20:09:06 -0400	[thread overview]
Message-ID: <E1In18s-00035g-Bs@fencepost.gnu.org> (raw)
In-Reply-To: <200710300514.l9U5Exr1024070@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Mon, 29 Oct 2007 22:14:59 -0700)

    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)

If you use `fset' it means that you are playing around with the
symbol's definition.  So it seems like a mistake to assume anything
about it.  Normally the first arg of `fset' is not a quoted constant
anyway.

If you want to make an alias that the compiler will know about, use
`defalias'.

      parent reply	other threads:[~2007-10-31  0:09 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
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 [this message]

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=E1In18s-00035g-Bs@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /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).