From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68966 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus and No Gnus Date: Mon, 07 Sep 2009 17:31:33 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252384187 16817 80.91.229.12 (8 Sep 2009 04:29:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2009 04:29:47 +0000 (UTC) Cc: emacs-devel@gnu.org, ding@gnus.org To: Katsumi Yamaoka Original-X-From: ding-owner+M17384@lists.math.uh.edu Tue Sep 08 06:29:39 2009 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.50) id 1MksKo-0005SY-VT for ding-account@gmane.org; Tue, 08 Sep 2009 06:29:39 +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 1MksKI-0001mS-5t; Mon, 07 Sep 2009 23:29:06 -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 1MkloH-0008Tl-E1 for ding@lists.math.uh.edu; Mon, 07 Sep 2009 16:31:37 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1MkloF-0003F1-UW for ding@lists.math.uh.edu; Mon, 07 Sep 2009 16:31:37 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Mklor-0004GU-00 for ; Mon, 07 Sep 2009 23:32:13 +0200 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MkloD-0006Nl-TX; Mon, 07 Sep 2009 17:31:33 -0400 X-Spook: IDEA digicash strategic PLO Hamas Juiliett Class X-Ran: DovS6MV'Q(1d:"n;4*cW<6>]'Y?NDnoF50.qk;Dy^crVaJPUA^MvXD,Iqh>zfR7{m',T1a X-Hue: green X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-Spam-Score: -5.6 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68966 Archived-At: Katsumi Yamaoka wrote: > Today I tried synch'ing the Gnus trunk with the Emacs trunk and > found a problem concerning `float-time'. Sorry, I did my best to think about these issues. > In time-date.el, `define-obsolete-function-alias' is not available > in Emacs 21 that Gnus still supports. It causes an error when > loading gnus-load.el. I'm not suggesting this as a solution to this issue, but does the very latest Gnus really need to run on 3 major versions of Emacs? When are you going to drop support for Emacs 21? > In ecomplete.el, gnus-util.el and time-date.el, (featurep 'xemacs) > is used for checking if `float-time' is available like this: > > (if (featurep 'xemacs) > (time-to-seconds time) > (float-time time)) > > However, XEmacs may implement `float-time' in the future. I used featurep in preference to fboundp to avoid compilation warnings, and so that the compiler could optimise the test away. > Therefore I made changes in those files as attached below. WDYT? Fine. I would then stick a with-no-warnings around every use of time-to-seconds, and an eval-and-compile around the revised definition of gnus-float-time.