From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: Re: trunk r117093: (seconds-to-string): New function to pretty print time delay in seconds. Date: Tue, 13 May 2014 07:48:49 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1399934958 8702 80.91.229.3 (12 May 2014 22:49:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 May 2014 22:49:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sam Steingold Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 13 00:49:11 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wjz1x-0004tF-8N for ged-emacs-devel@m.gmane.org; Tue, 13 May 2014 00:49:09 +0200 Original-Received: from localhost ([::1]:40372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wjz1w-0002UZ-Uh for ged-emacs-devel@m.gmane.org; Mon, 12 May 2014 18:49:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wjz1p-0002Sj-4V for emacs-devel@gnu.org; Mon, 12 May 2014 18:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wjz1i-0008PU-VW for emacs-devel@gnu.org; Mon, 12 May 2014 18:49:01 -0400 Original-Received: from hampton-mail.hostforweb.net ([205.234.204.210]:56093 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wjz1i-0008PI-Rd; Mon, 12 May 2014 18:48:54 -0400 Original-Received: from localhost.localdomain ([127.0.0.1]:40303 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.82) (envelope-from ) id 1Wjz1g-000epl-8a; Mon, 12 May 2014 17:48:52 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130012 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.12) Emacs/24.4.50 (i686-pc-cygwin) Cancel-Lock: sha1:iSxowinCgHtfj/+gkzwHl7+ymhw= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: yamaoka X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] X-Received-From: 205.234.204.210 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171817 Archived-At: On Mon, 12 May 2014 16:14:26 +0000, Sam Steingold wrote: > --- a/lisp/calendar/time-date.el 2014-01-01 07:43:34 +0000 > +++ b/lisp/calendar/time-date.el 2014-05-12 16:14:24 +0000 [...] > + (concat (format "%.2f" (/ delay (third here))) (second here)))))) Isn't it better to use cad..r or nth rather than third and second? ,---- | Compiling calendar/time-date.el | | In end of data: | calendar/time-date.el:412:1:Warning: the following functions are not known to | be defined: third, second | Wrote /tmp/.yamaoka/Eo/emacs-24.4.50/lisp/calendar/time-date.elc `----