From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#48298: Invalid time specification: encode-time((0 30 11 1 1 0 nil -1 nil)) Date: Sun, 09 May 2021 12:09:41 +0200 Message-ID: <87czu0nrq2.fsf@gnus.org> References: <83tunc8kv3.fsf@gnu.org> <87fsyw5nfg.fsf@tcd.ie> <83fsyw8g7f.fsf@gnu.org> <87tunc4793.fsf@tcd.ie> <87zgx4nsjd.fsf@gnus.org> <87k0o8441c.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38020"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48298@debbugs.gnu.org, lewwadoo@gmail.com To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 09 12:10:25 2021 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 1lfgOH-0009jf-24 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 12:10:25 +0200 Original-Received: from localhost ([::1]:55998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfgOF-0005s6-7K for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 06:10:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfgNu-0005ry-0y for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 06:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfgNt-0004x9-Q1 for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 06:10:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfgNt-0007eC-LQ for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 06:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 May 2021 10:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48298 X-GNU-PR-Package: emacs Original-Received: via spool by 48298-submit@debbugs.gnu.org id=B48298.162055499229386 (code B ref 48298); Sun, 09 May 2021 10:10:01 +0000 Original-Received: (at 48298) by debbugs.gnu.org; 9 May 2021 10:09:52 +0000 Original-Received: from localhost ([127.0.0.1]:55243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfgNk-0007du-82 for submit@debbugs.gnu.org; Sun, 09 May 2021 06:09:52 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:52466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfgNh-0007dm-Sx for 48298@debbugs.gnu.org; Sun, 09 May 2021 06:09:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FBFDbZ8WDllhJQ43OmCnpXvpiEqmcLFGznDUxpSOKYk=; b=HK6Z4BwtfWsR3kCBA8J3n4QjRZ ugrw3JkFLkhqoQnSNMeeT1yh/KOh1YE2QSatWUPZSWIZ1vsofbVPH0F6aNvPnVDmUrKgzXpO+v3/Y TzSOwOrgDtzRRsTv+E0wKxvxdggrXUgf2gRjx+f45t+Ly1jm7neVq22Oq7AXoHWp2tno=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfgNZ-000861-Ij; Sun, 09 May 2021 12:09:43 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEX9/P3T0tOdm5ts aGhPTEuBfX0/PDv////akPEOAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UFCQk0IccnOE0AAAGpSURB VDjLtZRLcsIwDIZJZtgnBfY00H2LzAGIhNeUTE9Q1/c/QvXLdh6Ubc3w0me9paxW/3La9pm0eiGh 8+tf+cAi5MKpebDiJJ1wbZb3VRajoX5ONmQgQEU+ZmAg56MBvCeVmsiJB/BRX5cRHAimVKQaXnwo KnUGAQA/3ovCQOzMb7AI4k8Gdp8tVh80aB+b4ppLfonGm4E1Iah8ojm65OzOE1BTXkKffLM5gRtk qJkENuC4KHhkiIAtk2oCErQyuOD3DyDmDMUAywh8qnDKvWb+ItySXHpXgPBAU3JQ92KAGHJYY8is nrelhkE4NICoErBPALJwV07OWZSwfn03uSSOkga+1G5MYEtjVCi/3orXVF31kQmsaXdiP85IBogI l1I/qrexJMmUSJ6G3ZS5swA4z896aqDTbIWvZaTJp6HKafI4vVt0QVutHTKlcXhrNNWa7lGSfpr2 ow4aOht81IruZ4uDeuvoaAuZ5vux2rk8JIHvyyU8Bt2doAmeHrf24DQq5tnWlq1vOz34U7UtHgXV /d4tlTfDZ9c1eFBknapYbdvnD490fgFY+rbxDBEtFgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0w NS0wOVQwOTo1MjozMiswMDowMBNi4QsAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDUtMDlUMDk6 NTI6MzIrMDA6MDBiP1m3AAAAAElFTkSuQmCC X-Now-Playing: Zonal's _Wrecked_: "Medulla" In-Reply-To: <87k0o8441c.fsf@tcd.ie> (Basil L. Contovounesios's message of "Sun, 09 May 2021 11:03:59 +0100") 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:206063 Archived-At: "Basil L. Contovounesios" writes: > It already does: > > The default value is based on January 1st, 1970 at midnight. > > Can it be clarified further? Oh, so it was just a bug... >> (All the other defaults are as zero-ish as possible, and 1970 is used >> here only because of technical limitations.) > > Is it worth mentioning in the docstring that 1970 is chosen to guarantee > portability, similar to the note in encode-time's docstring? Sure; makes sense. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no