From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78372 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: no gnus registry new dependency on ert? Date: Wed, 06 Apr 2011 05:03:29 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87ipur8zny.fsf@lifelogs.com> References: <8762qs3swu.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302084254 20945 80.91.229.12 (6 Apr 2011 10:04:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2011 10:04:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M26676@lists.math.uh.edu Wed Apr 06 12:04:10 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 1Q7Pas-0000aY-D3 for ding-account@gmane.org; Wed, 06 Apr 2011 12:04:10 +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 1Q7PaZ-0007EF-I1; Wed, 06 Apr 2011 05:03:51 -0500 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 1Q7PaY-0007E9-5q for ding@lists.math.uh.edu; Wed, 06 Apr 2011 05:03:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q7PaW-0006Wm-Jq for ding@lists.math.uh.edu; Wed, 06 Apr 2011 05:03:49 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q7PaU-0002jg-Ef for ding@gnus.org; Wed, 06 Apr 2011 12:03:46 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q7PaT-0000In-8q for ding@gnus.org; Wed, 06 Apr 2011 12:03:45 +0200 Original-Received: from c-67-186-102-106.hsd1.il.comcast.net ([67.186.102.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Apr 2011 12:03:45 +0200 Original-Received: from tzz by c-67-186-102-106.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Apr 2011 12:03:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-67-186-102-106.hsd1.il.comcast.net 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" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:le7u+tG3LStqNS/Vgz3TGJJ6LG8= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78372 gmane.emacs.devel:138223 Archived-At: On Wed, 06 Apr 2011 12:28:17 +0800 Eric Abrahamsen wrote: EA> The recent registry rewrite has introduced a dependency on the ERT EA> testing library -- that library is part of emacs 24 but not emacs 23. Hmm, I'm actually not sure how to provide the ERT tests only if ERT is available. Is there an example? It seems like: (require 'ert nil t) ... (when (featurep 'ert) (ert-deftest gnus-registry-usage-test () ... ) should work but I want to be sure it will work properly. EA> That made for an awkward code update, is there any way to warn people of EA> what's happening, or even include a local installation of ERT for those EA> who don't have it already? All the registry code will run fine without the ERT tests and I don't think we need to ship ERT with Gnus. So I'd rather make it optional. Ted