From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kFGcLO1fYGJMCAEAbAwnHQ (envelope-from ) for ; Wed, 20 Apr 2022 21:33:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4GekLO1fYGItLQEA9RJhRA (envelope-from ) for ; Wed, 20 Apr 2022 21:33:01 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E949D1959C for ; Wed, 20 Apr 2022 21:33:00 +0200 (CEST) Received: from localhost ([::1]:43116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhG4R-0001O9-FA for larch@yhetil.org; Wed, 20 Apr 2022 15:32:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhF4c-0004Rx-49 for emacs-orgmode@gnu.org; Wed, 20 Apr 2022 14:29:06 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:47628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhF4a-0004XU-A1 for emacs-orgmode@gnu.org; Wed, 20 Apr 2022 14:29:05 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 897321600B3; Wed, 20 Apr 2022 11:29:02 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tOGuFoLldJh0; Wed, 20 Apr 2022 11:29:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id DA5F91600C0; Wed, 20 Apr 2022 11:29:01 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tARiEbo9sOMQ; Wed, 20 Apr 2022 11:29:01 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A66791600B3; Wed, 20 Apr 2022 11:29:01 -0700 (PDT) Message-ID: Date: Wed, 20 Apr 2022 11:29:01 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: Max Nikulin References: <5ed963b2-3fa8-48d8-627e-bc0571d15b43@gmail.com> <149de00f-115b-5367-414f-c7700ef8966b@cs.ucla.edu> <2dd15844-01b3-0144-740c-185ec8488a81@cs.ucla.edu> <4a23f3a4-fe8f-d396-49d8-10034803be63@gmail.com> <52fb10fb-892a-f273-3be8-28793f27e204@cs.ucla.edu> <5cd820d4-ae67-43d4-9e63-c284d51ff1e4@gmail.com> <25d90a4b-f47d-01b4-2bfe-9951e97fe676@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department Subject: Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones In-Reply-To: <25d90a4b-f47d-01b4-2bfe-9951e97fe676@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=131.179.128.68; envelope-from=eggert@cs.ucla.edu; helo=zimbra.cs.ucla.edu X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, 54764@debbugs.gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650483181; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=YbCENhzzeB83Y/suD/e5BGT8H2I/q88Ylq9sILStE3k=; b=g9PIBS9/7qQntDSUK9K+qaGIsKX5uL7Q6OSpUVJnJNBfzCQoY8vawrKZhYi7A1tvGUTUeJ b9dXazdVkmLt3831FRfE8zQi5p0T910sfrCRlhu9K22jI2dBlt4qnr+oEplYvTQms6FPmq n8LTlVJAzis6xf54hVfZhGrr696efYcFNix7RujXF9ABQ15Ez2TRvaLw3Sz00/1NSmwTjH +ehCwAyNVi008xoK/3HckG3PMB4kqzJTgqbrFSktJ0qPuKyRnp5mq/oHXatVpZD/Wv6MDm yvHwOCyF78GgU2t+HDcCpj96Nl/kblmsuuZig9Jjgzws+K37UAz0k33qYkTR7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650483181; a=rsa-sha256; cv=none; b=LMNs1e/yjLjhsZE8bUKPiot/AW33vtemLdVP7sZxs9xh/DwEB5ORp2AWRiUM4NJroz+z9m zm/Wjc0w5wjO1FSRvcOyJ1Q577uEV9RSRt3U/bukzDiqtB/hNmO254JJEKPxPUNJl2j+e9 H7M+MVWwr5SyY4VfUs6OHbuEg0ZRWzrqn5emv93c7ErjuOQWo4Ftuc4wN8RIkzeeLo4H7y xR2dwCkwlnM/f0esevK/0MHGDXW7H4M73WevmIndoKQWFVCC/GXEpmQhP0UCa72OOv8x2Y yQcbCAJxE7ZBR2WYIC94xBD7PHO2O9mirS9q/Z5yG09Vp9FhdgXG3N3rUUkfaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.04 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E949D1959C X-Spam-Score: -3.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: XN9ND7X1sO++ On 4/20/22 08:07, Max Nikulin wrote: > I have not checked if mktime is a part of > POSIX and C standard. mktime is part of both the C standard and POSIX. POSIX extends the C standard by saying that time_t is an integer type (the C standard allows time_t to be a floating-point type) and that time_t counts non-leap seconds since the Epoch (the C standard doesn't say what time_t counts, thought it implies that it counts seconds from some origin, which may not be 1970). > I still believe that optional DST and ZONE values is an improvement of > the `encode-time' interface with no real drawbacks. Yes, that's the direction we're headed.