From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: declare-function from included file Date: Wed, 19 Mar 2008 22:45:02 +0100 Message-ID: <87fxumwfq9.fsf@photon.caeruleus.net> References: <75y78fk08w.fsf@fencepost.gnu.org> <874pb2zgn0.fsf@photon.caeruleus.net> <87r6e6wj3j.fsf@photon.caeruleus.net> <200803192042.m2JKg3Cm010626@sallyv1.ics.uci.edu> <87lk4ewht0.fsf@photon.caeruleus.net> <200803192119.m2JLJuUL000802@sallyv1.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 1205963338 2564 80.91.229.12 (19 Mar 2008 21:48:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2008 21:48:58 +0000 (UTC) Cc: Glenn Morris , Stefan Monnier , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 19 22:49:26 2008 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 1Jc6A1-00066x-Pt for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2008 22:49:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jc69R-0004cI-O4 for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2008 17:48:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jc65x-0003MH-SR for emacs-devel@gnu.org; Wed, 19 Mar 2008 17:45:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jc65v-0003M3-VF for emacs-devel@gnu.org; Wed, 19 Mar 2008 17:45:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jc65v-0003Ly-PD for emacs-devel@gnu.org; Wed, 19 Mar 2008 17:45:11 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jc65r-0004jz-TE; Wed, 19 Mar 2008 17:45:08 -0400 Original-Received: from photon.caeruleus.net (p54A53F50.dip0.t-ipconnect.de [84.165.63.80]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1Jc65o03Dh-0000pa; Wed, 19 Mar 2008 22:45:05 +0100 In-Reply-To: <200803192119.m2JLJuUL000802@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 19 Mar 2008 14:19:56 -0700") X-Provags-ID: V01U2FsdGVkX19anKq0aVDOSAFK0cAgePEwWbE2/wWLYAbuEn9 2uXUQnUOhtt5YWbbGQSX88YCMq79I91qISZDwN/Sa6fXxQC9xF oKDBjHXmub3DeZTNVs3gw== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:93014 Archived-At: * Dan Nicolaescu (2008-03-19) writes: > Ralf Angeli writes: > > > In RefTeX's own repository compiling still emits warnings. > > What's wrong with just copying the declare-functions from emacs CVS to > get rid of them? I've already explained this in this thread. > > It's not just the `declare-function' stuff I'm after. RefTeX contains a > > lot of `defvar' statements which are only there for the sake of the byte > > compiler. > > > > And I'd like to put those into a separate file as well along with > > stuff like `declare-function' calls. > > defvars work, they are well known by any elisp hackers. > Why develop a new facility the everyone looking at the code will have to > figure out? Oh, I see putting them in a separate file does not work either. I guess I'll have to live with the cruft then. -- Ralf