From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: encode-time vs decode-time Date: Tue, 06 Aug 2019 17:21:35 +0300 Message-ID: <83blx2cr2o.fsf@gnu.org> References: <502b23f8-58ed-38ff-ae50-fae391129a10@cs.ucla.edu> <87v9viuivo.fsf@mouse.gnus.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="45841"; mail-complaints-to="usenet@blaine.gmane.org" Cc: larsi@gnus.org, andrewjmoreton@gmail.com, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 06 16:21:54 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hv0LZ-000Boj-Tk for ged-emacs-devel@m.gmane.org; Tue, 06 Aug 2019 16:21:54 +0200 Original-Received: from localhost ([::1]:33772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hv0LY-0007NW-VX for ged-emacs-devel@m.gmane.org; Tue, 06 Aug 2019 10:21:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40928) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hv0LU-0007NQ-Nc for emacs-devel@gnu.org; Tue, 06 Aug 2019 10:21:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hv0LU-0005Jc-K4; Tue, 06 Aug 2019 10:21:48 -0400 Original-Received: from [176.228.60.248] (port=4983 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hv0LT-0005Fx-U7; Tue, 06 Aug 2019 10:21:48 -0400 In-reply-to: (message from Paul Eggert on Mon, 5 Aug 2019 18:48:21 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:239209 Archived-At: > From: Paul Eggert > Date: Mon, 5 Aug 2019 18:48:21 -0700 > Cc: Andy Moreton , emacs-devel@gnu.org > > OK, after some cogitation I installed something along those lines into master. I > called the new function 'time-convert' by analogy with the existing functions > time-add etc. So now, as you suggested, encode-time has reverted to its old role > of converting from decoded timestamps to Lisp timestamps and its API is now simpler. Thanks, but judging by the changes in Lisp files all over, it sounds like this is a backward-incompatible change? That'd be unfortunate.