From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: [Bug] (defun foo) during compilation defines `foo' as 0-arg `igno re' Date: Mon, 07 Apr 2003 21:55:07 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84vfxq6q1w.fsf@lucy.is.informatik.uni-duisburg.de> References: <67B8CED503F3D511BB9F0008C75DAD6605485564@dewdfx17> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049746820 14312 80.91.224.249 (7 Apr 2003 20:20:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2003 20:20:20 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 07 22:20:05 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 192d63-0003i3-00 for ; Mon, 07 Apr 2003 22:20:03 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 192d9i-0004Py-00 for ; Mon, 07 Apr 2003 22:23:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192czp-0005lI-09 for emacs-devel@quimby.gnus.org; Mon, 07 Apr 2003 16:13:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 192crs-0003F8-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 16:05:24 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 192cl6-0000Sc-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 15:58:24 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192cjp-0008Ad-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 15:57:05 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 192cjN-0001uO-00 for ; Mon, 07 Apr 2003 21:56:37 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 192cjM-0001u7-00 for ; Mon, 07 Apr 2003 21:56:36 +0200 Original-Lines: 17 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:sqbjXUFMAp4TNGfRsr5nC46U2/A= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12996 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12996 "Wedler, Christoph" writes: > [Test using Emacs-21.2.95.1.] > > If you evaluate (defun foo), you get the error > (wrong-number-of-arguments # 1) There has been talk about making (defun foo) behave analogously to (defvar foo), but at the moment this is not so, AFAIK. You can require the package where foo is defined. In Tramp, I have the problem with compatibility code, and there I fool the Lisp interpreter by doing (funcall 'foo ...), but that's probably not the right approach. -- A preposition is not a good thing to end a sentence with.