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: byte compiler warnings when bootstrapping Date: Tue, 23 Oct 2007 10:23:55 -0400 Message-ID: References: <200710210738.l9L7cIGs012673@oogie-boogie.ics.uci.edu> <200710211558.l9LFwIBv003882@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 1193149464 8493 80.91.229.12 (23 Oct 2007 14:24:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2007 14:24:24 +0000 (UTC) Cc: dann@ics.uci.edu, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 16:24:25 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 1IkKg9-0008S1-Kn for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 16:24:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkKg0-0002Ft-F6 for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 10:24:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkKfw-0002Ei-G0 for emacs-devel@gnu.org; Tue, 23 Oct 2007 10:24:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkKfu-0002Cx-3h for emacs-devel@gnu.org; Tue, 23 Oct 2007 10:24:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkKft-0002Cs-Tc for emacs-devel@gnu.org; Tue, 23 Oct 2007 10:24:05 -0400 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkKfo-0007oS-Nc; Tue, 23 Oct 2007 10:24:01 -0400 Original-Received: from pastel.home ([74.12.205.156]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071023142356.YOGE18413.tomts22-srv.bellnexxia.net@pastel.home>; Tue, 23 Oct 2007 10:23:56 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E1EEB8564; Tue, 23 Oct 2007 10:23:55 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Tue\, 23 Oct 2007 03\:12\:18 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Error: This connection is not (no longer?) in the cache. 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:81563 Archived-At: > I think it would be good. Although I think I'd rather allow the > external-function-delcaration to give an arglist so that the bytecompiler > can check you passed the right number of arguments as well. So maybe > something like > (declare-function ) > That seems like a good design, but I think it should also have > the file name, so that something at build time can check all these > against the files they refer to. I don't think the argument is important (the build-time check can just as well read all the files to figure out whether the function is defined in some file), but it wouldn't hurt, indeed. Stefan