From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: inverse of float-time? Date: Wed, 11 Sep 2013 15:31:53 -0400 Organization: disorganization Message-ID: <87r4cvnoie.fsf@gnu.org> References: <87vc27ntqe.fsf@gnu.org> <5230C108.2040609@cs.ucla.edu> Reply-To: sds@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378927932 10715 80.91.229.3 (11 Sep 2013 19:32:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Sep 2013 19:32:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 11 21:32:17 2013 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 1VJq9A-0004qk-HW for ged-emacs-devel@m.gmane.org; Wed, 11 Sep 2013 21:32:16 +0200 Original-Received: from localhost ([::1]:37610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJq9A-0002Qo-4x for ged-emacs-devel@m.gmane.org; Wed, 11 Sep 2013 15:32:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJq93-0002QX-Gm for emacs-devel@gnu.org; Wed, 11 Sep 2013 15:32:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJq8z-000166-Fb for emacs-devel@gnu.org; Wed, 11 Sep 2013 15:32:09 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:35586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJq8z-00015w-8q for emacs-devel@gnu.org; Wed, 11 Sep 2013 15:32:05 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VJq8w-0004YQ-Jc for emacs-devel@gnu.org; Wed, 11 Sep 2013 21:32:02 +0200 Original-Received: from 74.113.160.197 ([74.113.160.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Sep 2013 21:32:02 +0200 Original-Received: from sds by 74.113.160.197 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Sep 2013 21:32:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 74.113.160.197 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Cancel-Lock: sha1:+25XcC0crVb7KMszUBNeLQzh0cI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:163303 Archived-At: > * Paul Eggert [2013-09-11 12:14:16 -0700]: > > On 09/11/13 10:39, Sam Steingold wrote: >> Is it possible to convert the return value of float-time back to a list >> of integers? > > That's not easy to do now, but it'd be easy to add. Please do! > We could add an optional argument to current-time, > decoded just like float-time's argument is decoded, > and current-time could convert it to a list of integers. Sounds good! It would also be nice if all functions which work with lists accepted floats too, e.g., `format-time-string'. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 13.04 (raring) X 11.0.11303000 http://www.childpsy.net/ http://ffii.org http://jihadwatch.org http://camera.org http://truepeace.org http://palestinefacts.org http://think-israel.org Conscience is like a hamster: it is either asleep or gnawing.