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: declare-function from included file Date: Wed, 19 Mar 2008 15:18:09 -0700 Message-ID: <200803192218.m2JMIASg026896@sallyv1.ics.uci.edu> 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> <87fxumwfq9.fsf@photon.caeruleus.net> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205965314 9805 80.91.229.10 (19 Mar 2008 22:21:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2008 22:21:54 +0000 (UTC) Cc: Glenn Morris , Stefan Monnier , emacs-devel@gnu.org To: Ralf Angeli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 19 23:38:07 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Jc6v3-0001fu-DX for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2008 23:38:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jc6fD-0006OD-TR for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2008 18:21:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jc6f7-0006Kz-Nh for emacs-devel@gnu.org; Wed, 19 Mar 2008 18:21:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jc6f5-0006HH-Bd for emacs-devel@gnu.org; Wed, 19 Mar 2008 18:21:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jc6f5-0006H2-2w for emacs-devel@gnu.org; Wed, 19 Mar 2008 18:21:31 -0400 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1Jc6f1-0003VG-4V; Wed, 19 Mar 2008 18:21:27 -0400 X-ICS-MailScanner-Watermark: 1206569894.25363@RhSb59oFQj6reElH18JffA Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m2JMIASg026896; Wed, 19 Mar 2008 15:18:10 -0700 (PDT) In-Reply-To: <87fxumwfq9.fsf@photon.caeruleus.net> (Ralf Angeli's message of "Wed, 19 Mar 2008 22:45:02 +0100") Original-Lines: 21 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 10 (beta) 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:93018 Archived-At: Ralf Angeli writes: > * 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. The 3 files that use declare-function would need to add a one liner for compatibility with older versions or XEmacs: (eval-and-compile (unless (fboundp 'declare-function) (defmacro declare-function (&rest)))) This is already done by other files in the emacs tree. As a GNU package reftex should not deliberately diverge from Emacs CVS HEAD...