From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: should fset 'symbol get an undefined function warning? Date: Tue, 30 Oct 2007 13:47:02 -0700 Message-ID: <200710302047.l9UKl7qQ022627@oogie-boogie.ics.uci.edu> References: <200710300514.l9U5Exr1024070@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193777358 5187 80.91.229.12 (30 Oct 2007 20:49:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2007 20:49:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 30 21:49:19 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 1Imy1S-0002MT-3Q for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 21:49:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Imy1I-0008F6-LT for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 16:49:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Imy1F-0008Ej-2g for emacs-devel@gnu.org; Tue, 30 Oct 2007 16:49:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Imy1C-0008DI-6F for emacs-devel@gnu.org; Tue, 30 Oct 2007 16:48:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Imy1C-0008D9-3G for emacs-devel@gnu.org; Tue, 30 Oct 2007 16:48:58 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Imy1B-0002jA-Nk for emacs-devel@gnu.org; Tue, 30 Oct 2007 16:48:58 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l9UKl7qQ022627; Tue, 30 Oct 2007 13:47:07 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Tue\, 30 Oct 2007 14\:58\:15 -0400") Original-Lines: 16 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:82159 Archived-At: Stefan Monnier 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.