From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55635: `make-decoded-time' incorrectly sets DST to nil, it should be -1 (guess) Date: Sat, 28 May 2022 19:53:47 +0300 Message-ID: <83o7zhlht0.fsf@gnu.org> References: <940415ce-2e31-ae18-3e16-8fdc54504a67@gmail.com> <87o7zkbif3.fsf@gnus.org> <96e9d729-2e23-5637-3136-ac29e26aa287@cs.ucla.edu> <87r14f8dhw.fsf@gnus.org> <87zgj23pn9.fsf@gnus.org> <0e506652-fb7d-5707-8247-7747ff1e53b0@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33952"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, eggert@cs.ucla.edu, 55635-done@debbugs.gnu.org To: Maxim Nikulin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 28 18:54:10 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuzha-0008jT-2t for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 May 2022 18:54:10 +0200 Original-Received: from localhost ([::1]:49676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuzhY-0005WL-P4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 May 2022 12:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuzhS-0005Vx-Jr for bug-gnu-emacs@gnu.org; Sat, 28 May 2022 12:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuzhS-00073R-Ao for bug-gnu-emacs@gnu.org; Sat, 28 May 2022 12:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuzhS-0007lD-6t for bug-gnu-emacs@gnu.org; Sat, 28 May 2022 12:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 May 2022 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55635 X-GNU-PR-Package: emacs Original-Received: via spool by 55635-done@debbugs.gnu.org id=D55635.165375683929822 (code D ref 55635); Sat, 28 May 2022 16:54:02 +0000 Original-Received: (at 55635-done) by debbugs.gnu.org; 28 May 2022 16:53:59 +0000 Original-Received: from localhost ([127.0.0.1]:38801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuzhP-0007kw-0T for submit@debbugs.gnu.org; Sat, 28 May 2022 12:53:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuzhN-0007ki-CK for 55635-done@debbugs.gnu.org; Sat, 28 May 2022 12:53:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuzhH-00071d-9x; Sat, 28 May 2022 12:53:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Gv8WU2xhQROBXm2nMuK7fZfmtdf4weUxvKRVowX1fZY=; b=EGoTCCqpjhO2 8T46qo2YFvHhYhj+hPq6Z8l3/BCM6HUPlZ2cndd8b/1G4QamfULP9iSEv1z3OGHzHgWrIWck9wGwD sN8BX7HuYPXVZ+k4rO8SilOiK2mvogoVYr1ulXQblEyDRQ+rsdPVDHGSu3iQDtRnB6n75rVeSP6+Z SyDY7yfrDlHs3hDeowE8WC+eF9wKALf2DSEoh7csyFeNl7MG+kWYfysIBwsHP3gjudGZVqarkWef8 xia4QTxfnLX5MPTmyoZ2yNJ4lVs4mMCQ+NBk/MFucOQIltuvEw9cfr6qVTjPFnlrmDc2Ygzm01ZvJ uIyf/HNBGSqMjm3O+St4SA==; Original-Received: from [87.69.77.57] (port=2293 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuzhG-0000BJ-Pj; Sat, 28 May 2022 12:53:51 -0400 In-Reply-To: <0e506652-fb7d-5707-8247-7747ff1e53b0@gmail.com> (message from Maxim Nikulin on Sat, 28 May 2022 23:31:43 +0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233266 Archived-At: > Cc: 55635-done@debbugs.gnu.org > From: Maxim Nikulin > Date: Sat, 28 May 2022 23:31:43 +0700 > > I think, it is confusing that `make-decoded-time' is used to create > timestamps *and* time intervals. They are different types, for example > sum of intervals is meaningful (despite may be ambiguous) while there is > no point to add timestamps. But this situation already exists with time units anyway. You can add an hour to some other time, but there's also a valid time stamp that expresses 1 hour past the epoch UTC, and their values are exactly identical.