From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: should fset 'symbol get an undefined function warning? Date: Tue, 30 Oct 2007 14:58:15 -0400 Message-ID: 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 1193770726 10191 80.91.229.12 (30 Oct 2007 18:58:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2007 18:58:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 30 19:58:47 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 1ImwIL-0001fx-Dw for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 19:58:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImwIC-00083N-68 for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 14:58:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImwI7-00080e-CB for emacs-devel@gnu.org; Tue, 30 Oct 2007 14:58:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImwI5-0007xO-K1 for emacs-devel@gnu.org; Tue, 30 Oct 2007 14:58:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImwI5-0007xE-Cn for emacs-devel@gnu.org; Tue, 30 Oct 2007 14:58:17 -0400 Original-Received: from x-132-204-242-121.xtpr.umontreal.ca ([132.204.242.121] helo=ceviche.home) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1ImwI5-0005Fy-08 for emacs-devel@gnu.org; Tue, 30 Oct 2007 14:58:17 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 31B8EB4ABE; Tue, 30 Oct 2007 14:58:14 -0400 (EDT) In-Reply-To: <200710300514.l9U5Exr1024070@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 29 Oct 2007 22:14:59 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:82148 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) > 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'? Stefan