From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81166 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Emacs version compatibility Date: Thu, 02 Feb 2012 08:40:06 +0100 Message-ID: <87k445ptt5.fsf@marauder.physik.uni-ulm.de> References: <871uqey9t4.fsf@gnus.org> Reply-To: Reiner Steib NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1328168436 6211 80.91.229.3 (2 Feb 2012 07:40:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 07:40:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29447@lists.math.uh.edu Thu Feb 02 08:40:35 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 1RsrHX-000276-46 for ding-account@gmane.org; Thu, 02 Feb 2012 08:40:35 +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 1RsrHO-0002o7-8T; Thu, 02 Feb 2012 01:40:26 -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 1RsrHM-0002nr-Oj for ding@lists.math.uh.edu; Thu, 02 Feb 2012 01:40:24 -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 1RsrHL-0000S6-QM for ding@lists.math.uh.edu; Thu, 02 Feb 2012 01:40:24 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RsrHK-0000KE-Dc for ding@gnus.org; Thu, 02 Feb 2012 08:40:22 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RsrHJ-000238-Dn for ding@gnus.org; Thu, 02 Feb 2012 08:40:21 +0100 Original-Received: from p5481e4dc.dip.t-dialin.net ([84.129.228.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 08:40:21 +0100 Original-Received: from Reiner.Steib by p5481e4dc.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 08:40:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 63 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5481e4dc.dip.t-dialin.net X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81166 Archived-At: On Wed, Feb 01 2012, Lars Ingebrigtsen wrote: > I think Ma Gnus should drop Emacs 22 compatibility, and it should also > drop non-Mule XEmacs compatibility. Fine with me. Although dropping Emacs 22 probably doesn't help too much as long as you support XEmacs 21.4. > More controversially :-), I think 真 Gnus should also stop defining > compatibility functions like `gnus-mark-active-p', and instead just > start maintaining a `gnus-compat.el' library that would define functions > like `mark-active-p' for Emacsen that don't define them. 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´[1] which broke Gnus and emacs-jabber. > 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´. Bye, Reiner. [1] ,---- | From: Reiner Steib | Subject: Bogus definition of replace-in-string in color-theme.el | (was: Fwd: Re: Error viewing PGP/mime signed messages) | To: Xavier Maillard | Cc: Katsumi Yamaoka jpl.org> | Date: Wed, 19 Mar 2008 13:39:51 +0100 | Message-ID: marauder.physik.uni-ulm.de> | | Hi Xavier, | | please fix the use of `replace-in-string' in color-theme.el ASAP (see | the problem described below and in ). | | No package should ever define functions and variables out of it's own | name space: | | ,----[ (info "(elisp)Coding Conventions") ] | | * If a package needs to define an alias or a new function for | | compatibility with some other version of Emacs, name it with the | | package prefix, not with the raw name with which it occurs in the | | other version. Here is an example from Gnus, which provides many | | examples of such compatibility issues. | | | | (defalias 'gnus-point-at-bol | | (if (fboundp 'point-at-bol) | | 'point-at-bol | | 'line-beginning-position)) | `---- | [ Forwarded articles from | | stripped. ] `---- -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/