From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Max Nikulin Newsgroups: gmane.emacs.bugs,gmane.emacs.orgmode Subject: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones Date: Mon, 25 Apr 2022 22:30:46 +0700 Message-ID: <355c422f-6945-e670-4610-70e67035e193@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11661"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Cc: emacs-orgmode@gnu.org, 54764@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 25 17:31:27 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 1nj0gR-0002uY-JU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Apr 2022 17:31:27 +0200 Original-Received: from localhost ([::1]:40232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nj0gQ-0002A1-2M for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Apr 2022 11:31:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj0g2-00028c-Ha for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2022 11:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nj0g2-0007Z5-9D for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2022 11:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nj0g2-0006XJ-22 for bug-gnu-emacs@gnu.org; Mon, 25 Apr 2022 11:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Max Nikulin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Apr 2022 15:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 54764-submit@debbugs.gnu.org id=B54764.165090065725115 (code B ref 54764); Mon, 25 Apr 2022 15:31:02 +0000 Original-Received: (at 54764) by debbugs.gnu.org; 25 Apr 2022 15:30:57 +0000 Original-Received: from localhost ([127.0.0.1]:35882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj0fx-0006X0-GM for submit@debbugs.gnu.org; Mon, 25 Apr 2022 11:30:57 -0400 Original-Received: from mail-lj1-f178.google.com ([209.85.208.178]:37650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj0fv-0006Wl-6P for 54764@debbugs.gnu.org; Mon, 25 Apr 2022 11:30:55 -0400 Original-Received: by mail-lj1-f178.google.com with SMTP id y19so7033886ljd.4 for <54764@debbugs.gnu.org>; Mon, 25 Apr 2022 08:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kXu1cFojkC9L7It5JcBsKcHEe9CPrDSGtUBIrOIMBxQ=; b=cCYpOr43KF8aq3bwRwS2v0+A/tYcpNMHBahdcHVN2OF9NeN5yUPzjaSvPmmzXwGVNB b7E4MTp2mslj7QGMBHP/10OdU+dOGYPz4sMQhxMrNsc47VChJRkPMUvirwKLt5KVpSYi GCS5MXmytNV4I3x6sdJDDQU4rz/iUrLzBAlQCRRlhtJXDsftJ4NzYfnLBY1dioa/3JX3 Ja4via0778BgvMJ+WSRuy5Z+iPAkE7u7VZpSJtuPqf0G1cqpMVi01w8ahRpZtweU6fSl 1y7BUXTCuAENR+gEOssUx4rSyCHE7rDAIs8fVMQ8SUCLrz4DaU9ehTUWFrQWQoFamrc7 fw/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kXu1cFojkC9L7It5JcBsKcHEe9CPrDSGtUBIrOIMBxQ=; b=eelvHaVwZbkTDA/MukSnvePZfb3LBFIQQRq2rQMeJyjnDvbpPAH636wTNa4nNX2+QU xsnekv22UxGl8Ggcxm9rgoMmGOlN7eMGhYrAPkCsEC7p0y/D27S7CvN6jcM2rlJOmjg3 ITGHg8+fh51gLGqY4zgIZ/xEKxuVcMmNsqTEDwQ4wZHFQB/8cd5KkQYpr5jZCMTB1As/ HyqmkEKHFhyI9IqDcRkNNZnatw8o91DONrpPJWYxzAY/1kglV1m6J8eh0I2dSBjrQmc0 1o0wtNe+VVgQhxFFduG3gIHWCuc4Ynh4DXYroMaoFzOGpff7MLgjFM0M7/7GYqPgKmSi FpEg== X-Gm-Message-State: AOAM5305Zts5hfaemmh55NqDb95YTUZj8z9tgU9O0LUUhIxUygvjNyFi n4s7TMeI80ujHqk4rkXNQBA= X-Google-Smtp-Source: ABdhPJxRs9YwDQRs46XzhYw7lB1jG/pSyMNxzD9YUZ8ob8rJ+YHIFSxv1PG67gPEwgRfy/0mjBc43w== X-Received: by 2002:a2e:8798:0:b0:24f:12ec:5268 with SMTP id n24-20020a2e8798000000b0024f12ec5268mr2672090lji.367.1650900648937; Mon, 25 Apr 2022 08:30:48 -0700 (PDT) Original-Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id j8-20020a056512028800b004720b14e536sm331676lfp.237.2022.04.25.08.30.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Apr 2022 08:30:48 -0700 (PDT) Content-Language: en-US In-Reply-To: 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:230656 gmane.emacs.orgmode:144739 Archived-At: On 21/04/2022 01:29, Paul Eggert wrote: > On 4/20/22 08:07, Max Nikulin wrote: > >> 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. Paul, a week has passed since you posted the patch series. Unlike the changes related to timestamp representation, nobody argued concerning 6 element list argument of `encode-time': [PATCH 1/6] Support (encode-time (list s m h D M Y)) Unless I have missed something, this patch can be pushed without other ones and it will be a step forward. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qOHkDv6+ZmLjUwAAbAwnHQ (envelope-from ) for ; Mon, 25 Apr 2022 17:32:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6KsNDv6+ZmICrQAAG6o9tA (envelope-from ) for ; Mon, 25 Apr 2022 17:32:14 +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 D596118E1 for ; Mon, 25 Apr 2022 17:32:13 +0200 (CEST) Received: from localhost ([::1]:40170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nj0hA-00025T-LZ for larch@yhetil.org; Mon, 25 Apr 2022 11:32:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj0ft-00023w-H3 for emacs-orgmode@gnu.org; Mon, 25 Apr 2022 11:30:53 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:38814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nj0fr-0007VH-PX for emacs-orgmode@gnu.org; Mon, 25 Apr 2022 11:30:53 -0400 Received: by mail-lj1-x236.google.com with SMTP id q185so9109947ljb.5 for ; Mon, 25 Apr 2022 08:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kXu1cFojkC9L7It5JcBsKcHEe9CPrDSGtUBIrOIMBxQ=; b=cCYpOr43KF8aq3bwRwS2v0+A/tYcpNMHBahdcHVN2OF9NeN5yUPzjaSvPmmzXwGVNB b7E4MTp2mslj7QGMBHP/10OdU+dOGYPz4sMQhxMrNsc47VChJRkPMUvirwKLt5KVpSYi GCS5MXmytNV4I3x6sdJDDQU4rz/iUrLzBAlQCRRlhtJXDsftJ4NzYfnLBY1dioa/3JX3 Ja4via0778BgvMJ+WSRuy5Z+iPAkE7u7VZpSJtuPqf0G1cqpMVi01w8ahRpZtweU6fSl 1y7BUXTCuAENR+gEOssUx4rSyCHE7rDAIs8fVMQ8SUCLrz4DaU9ehTUWFrQWQoFamrc7 fw/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kXu1cFojkC9L7It5JcBsKcHEe9CPrDSGtUBIrOIMBxQ=; b=HdwEUfD0W0Q4qmST/NI8V96DshQuqxw67vkoFmlYFYL0stwFFXVHiftQeKLhn4CutK jfeu724ZpF5iYHKls85JsK401XUoGr8xUYKyNgCzTKkP/7Y5xmThH/rDxkqVUbGjUBub BxTulK1RDC86bS7JiBRPoUp6nXqqXZs/10wNiNN/dlLN/19/LSARv4oCyEJgyI9wIJoh uGT6g7a4vbOgKIivafLgFtw3wIVovl7YfVJKidiEcMFvlsmqSeGY7zaH72M1Et5i1IT3 82CMDqZvvfSgZ51Er3IyVk8Shq4rd2KD/br9ndptUBSYDkLnpl0J9UcpOzHJ0pCOsFgp Yn0w== X-Gm-Message-State: AOAM533kj7B1SZhStxWNtMr3fVnylxUFLGnpoBrpwBcfVrOCg68f9lKd 0iDb6/RJy5dUXl/8NVLWblQ= X-Google-Smtp-Source: ABdhPJxRs9YwDQRs46XzhYw7lB1jG/pSyMNxzD9YUZ8ob8rJ+YHIFSxv1PG67gPEwgRfy/0mjBc43w== X-Received: by 2002:a2e:8798:0:b0:24f:12ec:5268 with SMTP id n24-20020a2e8798000000b0024f12ec5268mr2672090lji.367.1650900648937; Mon, 25 Apr 2022 08:30:48 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id j8-20020a056512028800b004720b14e536sm331676lfp.237.2022.04.25.08.30.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Apr 2022 08:30:48 -0700 (PDT) Message-ID: <355c422f-6945-e670-4610-70e67035e193@gmail.com> Date: Mon, 25 Apr 2022 22:30:46 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones Content-Language: en-US To: Paul Eggert 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: Max Nikulin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=manikulin@gmail.com; helo=mail-lj1-x236.google.com X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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=1650900734; 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:dkim-signature; bh=kXu1cFojkC9L7It5JcBsKcHEe9CPrDSGtUBIrOIMBxQ=; b=Tim+p9ZomYB89O64LOs283nZoTMsrpKX1Ljq1uMktjW8CZrERWdkBvNbg6jkXN4S/AGqKW cEdynfLPaWYloLOIfUFFhc8y4FohgB0SSqNEuSRnkQm32VeAye+2ccr8BM484pUvHD62CH N0lDkVp1AQNhrt7zrn1JetZKhmbRpCumgyjFIcjYPMcsfjZCxZzqIxYTblB26PTDlsGaej WiJk9b8Is3MI+SmEmwFgKbSPaCmpvW92/Pr/7g8pTFixxDPUDWoJUkioC7h4rSxllpP0PO oGtjE9nZROXQJalKq1G+O5SD37hYik+5YIyl57S5Z5Xiq5I8dHL8k4+5Z7F9rg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650900734; a=rsa-sha256; cv=none; b=UvUWXAfdsUx08lH7dmLEsIya6sJDaA3AGx6YX4cGQ2UAEkxDVWlBenNOc2cP1mLwIyXRDZ 7+cxuxki/t8pUuxnkS57Bq1sgRKEoDR8nE+7Maz0mdIxGsi005gXcv/9b6ZBa0yFLiicev MMv6owcvXYbVCemfkUaZPe4aqdHATtEuR78Ds9zVlYhlz1TCxq9Hc96oYIhrVQ4PGAm/sA M62q2M327viZDouatIMgEQXpshceKOBWpFBNv25VvCyVjuRKwxydQRiOj09indLlSwIvgZ T6grTQWadBAePOzVwf8/ZB3+vql76Kn6QJ4fbhjQgRQc+XRSV0S3KLQ9ngWdaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cCYpOr43; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 5.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cCYpOr43; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: D596118E1 X-Spam-Score: 5.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: V1hOhQF1HIx1 On 21/04/2022 01:29, Paul Eggert wrote: > On 4/20/22 08:07, Max Nikulin wrote: > >> 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. Paul, a week has passed since you posted the patch series. Unlike the changes related to timestamp representation, nobody argued concerning 6 element list argument of `encode-time': [PATCH 1/6] Support (encode-time (list s m h D M Y)) Unless I have missed something, this patch can be pushed without other ones and it will be a step forward.