From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: should fset 'symbol get an undefined function warning? Date: Tue, 30 Oct 2007 20:09:06 -0400 Message-ID: References: <200710300514.l9U5Exr1024070@oogie-boogie.ics.uci.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193789378 11449 80.91.229.12 (31 Oct 2007 00:09:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2007 00:09:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 31 01:09:39 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1In19P-00014A-JG for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 01:09:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In19F-0003Nv-Vi for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 20:09:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1In19B-0003Lt-Vw for emacs-devel@gnu.org; Tue, 30 Oct 2007 20:09:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1In19A-0003Jp-E5 for emacs-devel@gnu.org; Tue, 30 Oct 2007 20:09:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In19A-0003JX-2x for emacs-devel@gnu.org; Tue, 30 Oct 2007 20:09:24 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1In199-0002Kp-P4 for emacs-devel@gnu.org; Tue, 30 Oct 2007 20:09:23 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1In18s-00035g-Bs; Tue, 30 Oct 2007 20:09:06 -0400 In-reply-to: <200710300514.l9U5Exr1024070@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Mon, 29 Oct 2007 22:14:59 -0700) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82179 Archived-At: 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'.