From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add a new function to convert a time value to the canonical format. Date: Tue, 23 Apr 2019 15:13:17 +0200 Message-ID: References: <20190423124613.36743-1-phst@google.com> <83o94w50j9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="2968"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Philipp Stephani , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 23 15:21:43 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIvMj-0000RH-O6 for ged-emacs-devel@m.gmane.org; Tue, 23 Apr 2019 15:21:41 +0200 Original-Received: from localhost ([127.0.0.1]:53700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIvJP-0003tF-T0 for ged-emacs-devel@m.gmane.org; Tue, 23 Apr 2019 09:18:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIvI5-0003qe-G3 for emacs-devel@gnu.org; Tue, 23 Apr 2019 09:16:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIvEq-0004dO-CA for emacs-devel@gnu.org; Tue, 23 Apr 2019 09:13:33 -0400 Original-Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]:38115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIvEo-0004bY-Su; Tue, 23 Apr 2019 09:13:30 -0400 Original-Received: by mail-oi1-x242.google.com with SMTP id a6so11208422oie.5; Tue, 23 Apr 2019 06:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=763hKoua5TMYu/MnsUfEOFemiEahqOu/+5kYEnVLH/4=; b=ayrG8smeU8mWK/qnGPoXyC++wjdp4cezs9/Y89xTeavk4d8iM/t/yFUuBfs65oJLj6 4XiubYWIVRnwkiw8i0eRuggT5EFheH5FzIc4TzBNDYd+vj7bw1toMpWRbm+G+Xb9Mukp iY50EXfcxgMGmOxDAZ86Nx/Xn6exNIuHq+rwpCfp7raRRZwBvDLhYCb/31F5nyG0496+ OxrFRgok/3k7PJgVI//QS1VQOIrZ1oXsRYfv3KtxNYCQ6UC2z4YyEHMgElcttlcIhI2D 2k8A/vA5w76nJ774bsLXmFLUl17ZnH/RiRxUOSabmYTjoWAI07R0NYo6qv9bTZ+Vx9Wy 5ARA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=763hKoua5TMYu/MnsUfEOFemiEahqOu/+5kYEnVLH/4=; b=ujvoy5iZUweXzAuPy8VD1TcXkPFEvp61/6vAC82ndxta86A335clirMdKfuCzJoNTe wXy4KMp3JZqMry3JWnBVq27bsilMLiml4y0rFU55Fj8iI/3oo51QbXhX8+JbQYyeeINL ZT3Xo20fmhYKVMyDJW5OlnJCniD5LuFH+cjsNkJ73z1WIdcDiZOwLXtcNPtavg2cAEmu VPtduk8pJ6ii+bJjw2BlFb3tC6WFBNQvBXBKYw0/Wrx3hDz15yHBnfdS7lqo9Tavc4sm 2uzNx1dUyVyBFDUqa/GMHSc/gcYlVkL1db6WbrIU8yLHEoD7GdisG6qyf5diMne8iqVb /ueA== X-Gm-Message-State: APjAAAVEcCkOQ1DzVaMQv83iPzwKcLos9vbMRTekdAtPqZafyt2SUeN7 4JDWFXWBLTCpKcB4jRl6NCWtCH5r7RIlZoO65/NIIw== X-Google-Smtp-Source: APXvYqx7R/Da4FMweUI0f03QDaLXN1sXBA2yuWuHctid6ZzJ+UspdweGPV4rXekz3VeKM4fyihzlg948svqBqpmuoaE= X-Received: by 2002:aca:b3c2:: with SMTP id c185mr1756117oif.98.1556025209341; Tue, 23 Apr 2019 06:13:29 -0700 (PDT) In-Reply-To: <83o94w50j9.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::242 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:235816 Archived-At: Am Di., 23. Apr. 2019 um 15:11 Uhr schrieb Eli Zaretskii : > > > From: Philipp Stephani > > Date: Tue, 23 Apr 2019 14:46:13 +0200 > > Cc: Philipp Stephani > > > > Such a function is useful for users that want to do their own time > > calculations and conversions. > > > > * src/timefns.c (Ftime_canonicalize): New defun. > > > > * test/src/timefns-tests.el (time-canonicalize): New unit test. > > Please include documentation of this. Actually it seems superfluous because (encode-time timeval t) does the same. I guess we don't need this any more. Sorry for the noise.