From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81175 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 10:47:06 +0100 Message-ID: <877h057ejp.fsf@gnus.org> References: <871uqey9t4.fsf@gnus.org> <87k445ptt5.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328176053 25266 80.91.229.3 (2 Feb 2012 09:47:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 09:47:33 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29456@lists.math.uh.edu Thu Feb 02 10:47:33 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 1RstGO-00062q-Ty for ding-account@gmane.org; Thu, 02 Feb 2012 10:47:33 +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 1RstGI-0003et-Ft; Thu, 02 Feb 2012 03:47:26 -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 1RstGH-0003ek-GS for ding@lists.math.uh.edu; Thu, 02 Feb 2012 03:47:25 -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 1RstGG-0008AU-H0 for ding@lists.math.uh.edu; Thu, 02 Feb 2012 03:47:25 -0600 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RstGF-0003Vm-3v for ding@gnus.org; Thu, 02 Feb 2012 10:47:23 +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 1RstG0-0007eM-7B for ding@gnus.org; Thu, 02 Feb 2012 10:47:08 +0100 In-Reply-To: <87k445ptt5.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Thu, 02 Feb 2012 08:40:06 +0100") User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) X-MailScanner-ID: 1RstG0-0007eM-7B MailScanner-NULL-Check: 1328780828.52504@nce8LzYTGCQtEDl5JHklkQ X-Spam-Status: No X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81175 Archived-At: Reiner Steib writes: > Please don't. It violates the Emacs coding guidelines. Packages that > have gone that road have broken other packages in the past. > E.g. color-scheme defined `replace-in-string=B4[1] which broke Gnus and > emacs-jabber. Yes, it's a maintenance nightmare. On the other hand, I think there should be a (shared) repository of compatibility functions, so that we all can pretend that we're programming for the Emacs trunk. The problem with that `replace-in-string' was that it wasn't compatible with anything much. I'm proposing that (learning from the gnulib example), that we should have a repository of compat functions that behave like you'd expect them to behave. >> This will make the source code more readable, I think. > > I can't see that `mark-active-p' is much more readable as > `gnus-mark-active-p=B4. If you can rely on `gnus-mark-active-p' doing the same as `mark-active-p', then that's true. But you can't know that without reading the code for the function in question. It slows down reading the code. If you read some of the Gnus code, there are so many equivalent `gnus-*' functions that's it's pretty frustrating. --=20 (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome