From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81198 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Emacs version compatibility Date: Thu, 02 Feb 2012 14:28:20 +0100 Message-ID: <87liol4b63.fsf@gnus.org> References: <871uqey9t4.fsf@gnus.org> <87k445ptt5.fsf@marauder.physik.uni-ulm.de> <877h057ejp.fsf@gnus.org> <87r4ydms6b.fsf@gmx.de> <87boph33v2.fsf@gnus.org> <87bophmnff.fsf@gmx.de> <87pqdx76vm.fsf@gnus.org> <8739atl776.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328189338 27186 80.91.229.3 (2 Feb 2012 13:28:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 13:28:58 +0000 (UTC) Cc: ding@gnus.org To: Michael Albinus Original-X-From: ding-owner+M29479@lists.math.uh.edu Thu Feb 02 14:28:57 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rswif-00084m-Cx for ding-account@gmane.org; Thu, 02 Feb 2012 14:28:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RswiP-0005Xb-1J; Thu, 02 Feb 2012 07:28:41 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RswiN-0005XO-OB for ding@lists.math.uh.edu; Thu, 02 Feb 2012 07:28:39 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RswiL-0000b4-Sx for ding@lists.math.uh.edu; Thu, 02 Feb 2012 07:28:39 -0600 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RswiK-0000t9-9U for ding@gnus.org; Thu, 02 Feb 2012 14:28:36 +0100 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Rswi7-0005wf-22; Thu, 02 Feb 2012 14:28:23 +0100 In-Reply-To: <8739atl776.fsf@gmx.de> (Michael Albinus's message of "Thu, 02 Feb 2012 14:02:05 +0100") User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) X-MailScanner-ID: 1Rswi7-0005wf-22 MailScanner-NULL-Check: 1328794103.3044@+dzM5bQqMnqKWmQAOtPj4Q X-Spam-Status: No X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81198 Archived-At: Michael Albinus writes: > You might support Emacs 22, and you might need this compatibility > code. Then you decide to drop Emacs 22 support, and you might not need > it any longer. How would you know whether you still need this code? > And how would you organize to take only the compatibility functions > for Emacs 23 and up? Well, if you say "./configure --with-emacs=emacs23; make" and you then get a warning about function `foo' being undefined or taking the wrong number of parameters, then you just copy that function from the compat library, and you're done. Removing stuff you no longer need is slightly trickier, but isn't really that vital, either. If there are a few functions your targets no longer need, that's no catastrophe. But if you want to remove stuff, the just remove the entire compat file and see what warnings you get, and put the stuff you need back in. -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome