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 in files from Gnus (hashcash.el, imap.el) Date: Mon, 03 Dec 2007 19:28:21 +0100 Message-ID: <87d4tnvdiy.fsf@neutrino.caeruleus.net> References: <200712011634.lB1GYCkr018222@oogie-boogie.ics.uci.edu> <87mysuwdcx.fsf@neutrino.caeruleus.net> <87ac27w4lz.fsf@neutrino.caeruleus.net> <87u00eufga.fsf@neutrino.caeruleus.net> <200712022237.lB2MbNC8016800@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 1196706540 6915 80.91.229.12 (3 Dec 2007 18:29:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2007 18:29:00 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 03 19:29:08 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 1IzG2G-0003Ez-7H for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 19:28:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzG1z-0005p1-Ri for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 13:28:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzG1v-0005lv-CC for emacs-devel@gnu.org; Mon, 03 Dec 2007 13:28:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzG1t-0005iH-9E for emacs-devel@gnu.org; Mon, 03 Dec 2007 13:28:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzG1t-0005hz-0p for emacs-devel@gnu.org; Mon, 03 Dec 2007 13:28:29 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzG1o-0005wo-7H; Mon, 03 Dec 2007 13:28:24 -0500 Original-Received: from neutrino.caeruleus.net (p54A50C79.dip0.t-ipconnect.de [84.165.12.121]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1IzG1l0t4M-000260; Mon, 03 Dec 2007 19:28:22 +0100 In-Reply-To: <200712022237.lB2MbNC8016800@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Sun\, 02 Dec 2007 14\:37\:23 -0800") X-Provags-ID: V01U2FsdGVkX1+wYG6YgFORQeSjSL3u4u05kzTAdlCYPYnull1 zzaCbdZqlZouyxkVqA/6HeoERzG2t37I0/C3hw95cA6Rhih7CK amvpBAU/dyA5z3LhTVTHg== 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:84576 Archived-At: * Dan Nicolaescu (2007-12-02) writes: > Ralf Angeli writes: > > > If those files belong to a package which is also being maintained in a > > different repository and released independently of Emacs, this will > > lead to a fork. > > Such files can just add a 1 line compatibility code: > > (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))) For RefTeX it would probably be better to add something like this only once to the file being loaded first. The content and layout of such files has changed in RefTeX 4.32 (there now is reftex.el and reftex-base.el, the former being generated), so I'll take care of this when this version will be synched to the Emacs repository. Then I'll also look after the isearch-related changes and their effect on compatibility. -- Ralf