From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78843 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: ERT tests on Emacs22 Date: Wed, 18 May 2011 09:52:09 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87mxik3vty.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1305730421 26101 80.91.229.12 (18 May 2011 14:53:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 May 2011 14:53:41 +0000 (UTC) Cc: Ding Mailing List To: David Engster Original-X-From: ding-owner+M27143@lists.math.uh.edu Wed May 18 16:53:37 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QMi7y-0003Og-HE for ding-account@gmane.org; Wed, 18 May 2011 16:53:35 +0200 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 1QMi7j-0001t9-Rx; Wed, 18 May 2011 09:53:19 -0500 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 1QMi7i-0001sv-4p for ding@lists.math.uh.edu; Wed, 18 May 2011 09:53:18 -0500 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 1QMi7g-00034B-J1 for ding@lists.math.uh.edu; Wed, 18 May 2011 09:53:18 -0500 Original-Received: from chirelay1o.jumptrading.com ([38.98.147.153] helo=chirelay1.jumptrading.com) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QMi7e-0001JR-4C for ding@gnus.org; Wed, 18 May 2011 16:53:14 +0200 Original-Received: from chirelay1.jumptrading.com (unknown [127.0.0.1]) by chirelay1.jumptrading.com (Symantec Mail Security) with ESMTP id C0463320025 for ; Wed, 18 May 2011 09:53:12 -0500 (CDT) X-AuditID: 26629395-9ffe3bb0000031b3-18-4dd3dd58a632 Original-Received: from chiexchange02.w2k.jumptrading.com (unknown [38.98.147.140]) by chirelay1.jumptrading.com (Symantec Mail Security) with ESMTP id 799B02DC039 for ; Wed, 18 May 2011 09:53:12 -0500 (CDT) Original-Received: from internalsmtp.w2k.jumptrading.com (10.2.4.29) by chiexchange02.w2k.jumptrading.com (10.2.4.71) with Microsoft SMTP Server id 8.1.291.1; Wed, 18 May 2011 09:52:10 -0500 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com ([10.2.14.81]) by internalsmtp.w2k.jumptrading.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 18 May 2011 09:52:10 -0500 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: (David Engster's message of "Mon, 16 May 2011 15:16:15 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-OriginalArrivalTime: 18 May 2011 14:52:10.0515 (UTC) FILETIME=[2A78DE30:01CC156B] X-Brightmail-Tracker: AAAAAA== X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78843 Archived-At: On Mon, 16 May 2011 15:16:15 +0200 David Engster wrote: DE> trying to get the ERT tests to work on Emacs22, it occured to me that DE> you're depending on the hashtable-print-readable feature, which is only DE> available since Emacs 23.2? So I'm afraid you'll either have to restrict DE> the registry to newer Emacsen, or you'll have to create an object-write DE> method for registry-db which properly serializes hash-tables for older DE> Emacsen... Ugh. Well, the gnus-registry is an optional package so we could simply say it's not for older Emacsen and skip the ERT tests there. The package could, when loaded, complain if the feature is not available. I'd really like to avoid writing a hashtable serializer for the sake of Emacs 23.1 and older users. It's been missing since the gnus-registry.el rewrite and no one has complained, so I doubt it's a big population of people who want the latest Gnus yet can't upgrade their Emacs. The next major release of Gnus should probably require 23.2 or newer, anyhow. Ted