From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81196 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.gnus.general Subject: Re: Emacs version compatibility Date: Thu, 02 Feb 2012 14:02:05 +0100 Message-ID: <8739atl776.fsf@gmx.de> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328187767 15313 80.91.229.3 (2 Feb 2012 13:02:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 13:02:47 +0000 (UTC) Cc: ding@gnus.org To: Lars Ingebrigtsen Original-X-From: ding-owner+M29477@lists.math.uh.edu Thu Feb 02 14:02:46 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 1RswJC-0005Tb-Tp for ding-account@gmane.org; Thu, 02 Feb 2012 14:02:39 +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 1RswIy-0005Lf-OP; Thu, 02 Feb 2012 07:02:24 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RswIx-0005LU-Nu for ding@lists.math.uh.edu; Thu, 02 Feb 2012 07:02:23 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RswIt-0001ak-DI for ding@lists.math.uh.edu; Thu, 02 Feb 2012 07:02:23 -0600 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by quimby.gnus.org with smtp (Exim 4.72) (envelope-from ) id 1RswIr-0000Fn-OV for ding@gnus.org; Thu, 02 Feb 2012 14:02:17 +0100 Original-Received: (qmail invoked by alias); 02 Feb 2012 13:02:12 -0000 Original-Received: from p57BB9489.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.148.137] by mail.gmx.net (mp012) with SMTP; 02 Feb 2012 14:02:12 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/0SsheQ/D06udlr87ISE4+3l10ZwBc0jQVvGh1K1 jvpMVTxZ4oqs4d In-Reply-To: <87pqdx76vm.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 02 Feb 2012 13:32:45 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81196 Archived-At: Lars Ingebrigtsen writes: > So this would be orthogonal to the Emacs versions. (Well, sort of. The > function (re)definitions wouldn't necessarily work on all Emacs versions > that have ever been, so they need to check whether they can actually do > what they're trying to do. Or give up. Like this: > > (when (and (not (fboundp 'help-function-arglist)) > (fboundp 'function-arglist)) > (defun help-function-arglist (def &optional preserve-names) > )) 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? Best regards, Michael.