From unknown Fri Aug 15 12:53:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48290 <48290@debbugs.gnu.org> To: bug#48290 <48290@debbugs.gnu.org> Subject: Status: 27.2; Invalid time specification: encode-time((0 30 11 1 1 0 nil -1 nil)) Reply-To: bug#48290 <48290@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:53:29 +0000 retitle 48290 27.2; Invalid time specification: encode-time((0 30 11 1 1 0 = nil -1 nil)) reassign 48290 emacs submitter 48290 =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9C=D0=B8=D1= =85=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2 severity 48290 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 08 12:51:14 2021 Received: (at submit) by debbugs.gnu.org; 8 May 2021 16:51:14 +0000 Received: from localhost ([127.0.0.1]:51179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfQAb-00038b-71 for submit@debbugs.gnu.org; Sat, 08 May 2021 12:51:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:57824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfQ1D-00033R-6s for submit@debbugs.gnu.org; Sat, 08 May 2021 12:41:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfQ1C-0006E3-Vy for bug-gnu-emacs@gnu.org; Sat, 08 May 2021 12:41:31 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:34782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfQ1A-0006n1-I9 for bug-gnu-emacs@gnu.org; Sat, 08 May 2021 12:41:30 -0400 Received: by mail-lf1-x12f.google.com with SMTP id z13so17196685lft.1 for ; Sat, 08 May 2021 09:41:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=pHxqlozoxybQJx3LI6qir2EbBIKFiJ3lsJSKfzh8SPw=; b=JybAEMK4LuKqEWFcSEJaASNreCtB+2xOvZXtjqTnHdMnt2S1Lab/0iX3yZ55QEwcAc CZpZUePhZV1gu5LZcdFOQaFyzqigUQiDaGRZtrfzGL1UKNHwTGCM32xXcYmy2sN/iVpX 1+YSwn4RZcaNdtTnKtWGUFAiNkmqzNL2TypwNMWvFXWlcbb38XBAv47NeqsjJ+v5Yi4w G79dMmPfmLjQlivRfNMZqF5DCI9m5nFolGKcfZs4G/1vxRB3hoIq9YmBvqL/wZkxrl6Y FSWBVYKI5DXPv6iua4acwKNaK9WY4h190gCVWexJJq2hWTKpHH+WeI/BkED+YDhi7yUw ZYXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pHxqlozoxybQJx3LI6qir2EbBIKFiJ3lsJSKfzh8SPw=; b=XAirD9OmyQ0g6/TRgjXyxoNijaD95av9PaZPq4uSHYV1hKYmrbcgXd8T4EUPggEAei e/rWv2iTlgD/OlDiAr3XL9Xke1qfdQzRLSu+tP2LL24cy99+ucZQifx2eIX46A8F9a9m FEeOeabew7pp+M+hkly/xk+f36L6dzlfuYPqvaMoxNAOkAnNGH1daY++PHXPPNSl7pjU SH+0dpVRyIcqLmdB4EMrmmifmDeceSbsigt6cFYZCK8Cdvpr5V1/Z1JB+DwLFV/uuTMt 3nYxPSB89AAMJBKHoMMWDy4i06M+c4PvqGwKAqSvOdgp6XNpHQg2B//i3O1KkVfOrk74 FVxQ== X-Gm-Message-State: AOAM531df4sdnkRJQfiF0kuWRuToA9Ifh3RhhPtuDYYRFVIwVK/zrRKk RuIZ+q3CtC+yEYapz7hl/XhYPDOB8k0+jZci+LboDhSLVh88ZA== X-Google-Smtp-Source: ABdhPJwMV5yC8htR17qz/p+6FnAfBEKWFlPdSiMi7vM6YK0RgrAZ2bsWnNPsr+6eygod3TK/yPSCYkhsCGfZ35423J4= X-Received: by 2002:ac2:5986:: with SMTP id w6mr8253203lfn.644.1620492085619; Sat, 08 May 2021 09:41:25 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JzQuNGF0LDQudC70L7Qsg==?= Date: Sat, 8 May 2021 19:41:14 +0300 Message-ID: Subject: 27.2; Invalid time specification: encode-time((0 30 11 1 1 0 nil -1 nil)) To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="0000000000001fef0805c1d43754" Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=lewwadoo@gmail.com; helo=mail-lf1-x12f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 08 May 2021 12:51:12 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000001fef0805c1d43754 Content-Type: text/plain; charset="UTF-8" In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32) of 2021-03-26 built on CIRROCUMULUS Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6 Repository branch: HEAD Windowing system distributor 'Microsoft Corp.', version 10.0.19041 System Description: Microsoft Windows 10 Home (v10.0.2004.19041.928) Recent messages: Quit Mark set Entering debugger... Back to top level my-mins-between Entering debugger... Back to top level user-error: Beginning of history; no preceding item user-error: End of history; no default available scroll-up-command: End of buffer command-execute: Command attempted to use minibuffer while in minibuffer Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: RUS locale-coding-system: cp1251 Major mode: Emacs-Lisp Minor modes in effect: global-company-mode: t company-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: c:/Users/pc/.emacs.d/elpa/flymake-1.1.1/flymake hides c:/Program Files/Emacs/x86_64/share/emacs/27.2/lisp/progmodes/flymake c:/Users/pc/.emacs.d/elpa/eldoc-1.11.0/eldoc hides c:/Program Files/Emacs/x86_64/share/emacs/27.2/lisp/emacs-lisp/eldoc Features: (shadow sort mail-extr emacsbug sendmail help-fns radix-tree cl-print debug backtrace bookmark pp gnutls network-stream url-http url-gw nsm url-cache url-auth org-habitica vc-git diff-mode cl-extra help-mode org-element avl-tree ol-eww eww mm-url url-queue ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml dom gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search mail-utils mm-util mail-prsvr wid-edit ol-docview doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex ol-bbdb ol-w3m face-remap org-agenda org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table org-keys org-loaddefs find-func cal-menu calendar cal-loaddefs ol org-compat advice org-macs format-spec company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company zerodark-theme let-alist pcase org-capture-complex report 1cfresh process-1cbases process-docs flymake-proc flymake compile comint ansi-color ring warnings thingatpt string-inflection helm-easymenu edmacro kmacro rx info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 367719 37867) (symbols 48 24682 1) (strings 32 86256 2807) (string-bytes 1 3071501) (vectors 16 43765) (vector-slots 8 1238429 232140) (floats 8 271 108) (intervals 56 3530 533) (buffers 1000 33)) --0000000000001fef0805c1d43754 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
=C2=A0o= f 2021-03-26 built on CIRROCUMULUS
Repository revision: deef5efafb70f4b1= 71265b896505b92b6eef24e6
Repository branch: HEAD
Windowing system dis= tributor 'Microsoft Corp.', version 10.0.19041
System Descriptio= n: Microsoft Windows 10 Home (v10.0.2004.19041.928)

Recent messages:=
Quit
Mark set
Entering debugger...
Back to top level
my-min= s-between
Entering debugger...
Back to top level
user-error: Begin= ning of history; no preceding item
user-error: End of history; no defaul= t available
scroll-up-command: End of buffer
command-execute: Command= attempted to use minibuffer while in minibuffer
Configured using:
= =C2=A0'configure --without-dbus --host=3Dx86_64-w64-mingw32
=C2=A0--= without-compress-install 'CFLAGS=3D-O2 -static''

Configu= red features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUT= LS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPE= R LCMS2 GMP

Important settings:
=C2=A0 value of $LANG: RUS
=C2= =A0 locale-coding-system: cp1251

Major mode: Emacs-Lisp

Minor= modes in effect:
=C2=A0 global-company-mode: t
=C2=A0 company-mode: = t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-= mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
= =C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shad= ow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2= =A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transi= ent-mark-mode: t

Load-path shadows:
c:/Users/pc/.emacs.d/elpa/fly= make-1.1.1/flymake hides c:/Program Files/Emacs/x86_64/share/emacs/27.2/lis= p/progmodes/flymake
c:/Users/pc/.emacs.d/elpa/eldoc-1.11.0/eldoc hides c= :/Program Files/Emacs/x86_64/share/emacs/27.2/lisp/emacs-lisp/eldoc

= Features:
(shadow sort mail-extr emacsbug sendmail help-fns radix-tree c= l-print
debug backtrace bookmark pp gnutls network-stream url-http url-g= w nsm
url-cache url-auth org-habitica vc-git diff-mode cl-extra help-mod= e
org-element avl-tree ol-eww eww mm-url url-queue ol-rmail ol-mhe ol-ir= c
ol-info ol-gnus nnir gnus-sum url url-proxy url-privacy url-expand
= url-methods url-history mailcap shr url-cookie url-domsuf url-util svg
x= ml dom gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-sou= rce utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int
gnus-range mes= sage rmc puny rfc822 mml mml-sec epa derived epg
epg-config mm-decode mm= -bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader gnu= s-win gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-= drums text-property-search
mail-utils mm-util mail-prsvr wid-edit ol-doc= view doc-view jka-compr
image-mode exif dired dired-loaddefs ol-bibtex b= ibtex ol-bbdb ol-w3m
face-remap org-agenda org-refile org ob ob-tangle o= b-ref ob-lob ob-table
ob-exp org-macro org-footnote org-src ob-comint or= g-pcomplete pcomplete
org-list org-faces org-entities time-date noutline= outline easy-mmode
org-version ob-emacs-lisp ob-core ob-eval org-table = org-keys
org-loaddefs find-func cal-menu calendar cal-loaddefs ol org-co= mpat
advice org-macs format-spec company-oddmuse company-keywords
com= pany-etags etags fileloop generator xref project company-gtags
company-d= abbrev-code company-dabbrev company-files company-clang
company-capf com= pany-cmake company-semantic company-template
company-bbdb company zeroda= rk-theme let-alist pcase org-capture-complex
report 1cfresh process-1cba= ses process-docs flymake-proc flymake compile
comint ansi-color ring war= nings thingatpt string-inflection
helm-easymenu edmacro kmacro rx info p= ackage easymenu browse-url
url-handlers url-parse auth-source cl-seq eie= io eieio-core cl-macs
eieio-loaddefs password-cache json subr-x map url-= vars seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib tool= tip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel d= os-w32 ls-lisp
disp-table term/w32-win w32-win w32-vars term/common-win = tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newc= omment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar me= nu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-l= ock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generi= c
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet la= o
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czecheuropean ethiopic indian cyrillic chinese composite charscript charpropcase-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preload= ed nadvice loaddefs button faces cus-face macroexp files
text-properties= overlay sha1 md5 base64 format env code-pages mule
custom widget hashta= ble-print-readable backquote threads w32notify w32
lcms2 multi-tty make-= network-process emacs)

Memory information:
((conses 16 367719 378= 67)
=C2=A0(symbols 48 24682 1)
=C2=A0(strings 32 86256 2807)
=C2= =A0(string-bytes 1 3071501)
=C2=A0(vectors 16 43765)
=C2=A0(vector-sl= ots 8 1238429 232140)
=C2=A0(floats 8 271 108)
=C2=A0(intervals 56 35= 30 533)
=C2=A0(buffers 1000 33))
--0000000000001fef0805c1d43754-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 08 12:57:24 2021 Received: (at 48290) by debbugs.gnu.org; 8 May 2021 16:57:25 +0000 Received: from localhost ([127.0.0.1]:51211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfQGa-0003CT-PF for submit@debbugs.gnu.org; Sat, 08 May 2021 12:57:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfQGZ-0003CN-9z for 48290@debbugs.gnu.org; Sat, 08 May 2021 12:57:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40318) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfQGU-0000ry-1G; Sat, 08 May 2021 12:57:18 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1819 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 1lfQGT-0005HO-Em; Sat, 08 May 2021 12:57:17 -0400 Date: Sat, 08 May 2021 19:57:15 +0300 Message-Id: <83zgx588pg.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JzQuNGF0LDQudC70L7Qsg==?= In-Reply-To: (lewwadoo@gmail.com) Subject: Re: bug#48290: 27.2; Invalid time specification: encode-time((0 30 11 1 1 0 nil -1 nil)) References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48290 Cc: 48290@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Евгений Михайлов > > Date: Sat, 8 May 2021 19:41:14 +0300 > Why do you think it's a bug. Year 0 is 1970 years before the epoch. From debbugs-submit-bounces@debbugs.gnu.org Sat May 08 13:16:10 2021 Received: (at 48290) by debbugs.gnu.org; 8 May 2021 17:16:10 +0000 Received: from localhost ([127.0.0.1]:51292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfQYk-0003Mh-I8 for submit@debbugs.gnu.org; Sat, 08 May 2021 13:16:10 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:44843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfQYi-0003MX-QB for 48290@debbugs.gnu.org; Sat, 08 May 2021 13:16:09 -0400 Received: by mail-wr1-f45.google.com with SMTP id l13so12295428wru.11 for <48290@debbugs.gnu.org>; Sat, 08 May 2021 10:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=a65OMhpJsy1VrLLQcBBAqlq/zrOTc8AzBR+20D37FXs=; b=T6tLqsil+BwI5hXjiFVqHrKQHJbOHboqulxGSk0pKIGafs3CIocq9lxvxXzfyRs0O7 MwEHrCEbcXa8tv78wPJHpnPbXvfBEtlFplzehiUNJq2BQmeZ2jVHfGowiaXonFzcJwWG BqkSg6yFTkb8nDIDpY/KkUl9ghe6O28JmgyBTjYP5jux1hoy+k0cCPvHF09ezKemUv80 Xit5NeWWaPBg3sbHJo+pOCpioeQgo29Eu/m6/2E/S3twEJ2SH/ftttEznSjVQrk2Ja4t VEelArOjfbUtWwaG50LDiLVnILYOqHKXsYanmJdLRFSYmblOwIeNln8bVFrBw7fqLioa gTyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=a65OMhpJsy1VrLLQcBBAqlq/zrOTc8AzBR+20D37FXs=; b=OSH+3zwo84nNlihX61c/8G69MWtuYvrnYkxgFMLnROOgQSQyxx16MRW1W+zxOJ2GkO CBqJ/B3+kYJr2apd1iF9TPoPa5mO+voBu2glpNHOpl3eF3NwMuBDkvERE3dsnakTOB8c JLJjZ2AUH7Wcd6thAYzmcateNz+aYii9OSB5/VpHuUCuf7UlRZwonp3TfsdPehTw8qqk Zp2ENP/AUGz6+gC8k54pgRp+NaBCCqcOALL6+w4I+LsiACpORtE1nUJle/S053igbOuT 0h6ICO2VbTAo4h/AHevg/1IobT7acg3m26NgupOXEx022cQk7ffHmhMa/piqgr4mTHwl jsSA== X-Gm-Message-State: AOAM5323DMfG7qcxOu9TaGAjRUNq/NYGD5lKpdc2idKLKTXrA2hfZc2M dIjtqhCexPCZfYWzlZP2u4oRTw== X-Google-Smtp-Source: ABdhPJx6ue5gC2tjU9PtU37YMTP4qH1JeiIcWodeQdO8agpec2eqKOaDOCeWUHbaU/hIPnJ6bNcjpA== X-Received: by 2002:adf:b30a:: with SMTP id j10mr16236475wrd.417.1620494162929; Sat, 08 May 2021 10:16:02 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id t10sm19394488wmf.16.2021.05.08.10.16.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 10:16:02 -0700 (PDT) From: "Basil L. Contovounesios" To: Eli Zaretskii Subject: Re: bug#48290: 27.2; Invalid time specification: encode-time((0 30 11 1 1 0 nil -1 nil)) References: <83zgx588pg.fsf@gnu.org> Date: Sat, 08 May 2021 18:16:01 +0100 In-Reply-To: <83zgx588pg.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 May 2021 19:57:15 +0300") Message-ID: <87a6p5kuy6.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48290 Cc: 48290@debbugs.gnu.org, =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JzQuNGF0LDQudC70L7Qsg==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9C=D0=B8=D1=85=D0= =B0=D0=B9=D0=BB=D0=BE=D0=B2 >> >> Date: Sat, 8 May 2021 19:41:14 +0300 > > Why do you think it's a bug. I'm not Evgeny, but I think it's because the titular time spec includes defaults set by decoded-time-set-defaults: (parse-time-string "11:30") ;; =3D> (0 30 11 nil nil nil nil -1 nil) (decoded-time-set-defaults (parse-time-string "11:30")) ;; =3D> (0 30 11 1 1 0 nil -1 nil) Here's the context: https://emacs.stackexchange.com/q/64686/15748 > Year 0 is 1970 years before the epoch. Ah, I missed the last part in the docstring of encode-time: Years before 1970 are not guaranteed to work. On some systems, year values as low as 1901 do work. So I don't know whether my suggested use of decoded-time-set-defaults is wrong, or whether that function should set the year to 1970, as might be assumed from its docstring. Thanks, --=20 Basil From debbugs-submit-bounces@debbugs.gnu.org Sat May 08 18:37:54 2021 Received: (at control) by debbugs.gnu.org; 8 May 2021 22:37:54 +0000 Received: from localhost ([127.0.0.1]:52698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfVa5-0008Uu-Ml for submit@debbugs.gnu.org; Sat, 08 May 2021 18:37:53 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:39490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfVa3-0008Ui-12 for control@debbugs.gnu.org; Sat, 08 May 2021 18:37:51 -0400 Received: by mail-wr1-f43.google.com with SMTP id v12so12753378wrq.6 for ; Sat, 08 May 2021 15:37:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Vnxtlg/HTnzB6UCVLVjKs2T1bDTlrj/CZDbuQfzMyaM=; b=IZ3C0RhH3qcv7nRK2u4Z1uE4MKGwkFWTwovnxRa9Neur/7Mwifph9yjVkho58v+poc 0kMYGxymodVBnal0UpRxNhZNqwC9iNCMcGyTx6NAAeFlFsOGXfvBiL/WgIwO5SnaWxD0 QaBo1ua6MOIjS6FPw+/MIy+NEXW8sFOoIkviDKt4McjXfdov01A9m6BQpZFMEf22ZcfM qiXAgRq1VhnbyODJOruNNxM+Y4ZjiDGgKXlV9lIzXVi8MYrbOHAOaZ9l7HIgVq+ggZ0v ciOAihrrt1EU+/la2RBJlhxong1aY+LlwSxDsTXBbnyb7fmq3bwGtOolpFJTgXJ2FFAV Qw9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Vnxtlg/HTnzB6UCVLVjKs2T1bDTlrj/CZDbuQfzMyaM=; b=AUy02QiKVhcKdh76Ke/Tu/A2U4W6/7F8O8NiMx4PMaty574OpK+7/E0Hh91vLvgfYJ syd90gXtHJCy4zUaR5eD7+DDczoMI6dvUhRlVvyAuwK5G7Wm7R7fhjnPCjzuIDlEV/BT hwUWYngnFWAP7YIHLMVNAvw1RVoIxJonUrKbVr+UbSbVRb0lk1INhPcsu3QdP1R0uTBr tHSBkp05qPmFj7mFeiH+Fx8GJ/YpLcgkt5Ye6q/+z1KC+04zMfbQNPUEJ2jdxfPMWUUC wKrhEU3pHj+W5Drdi//Y+93EqD2G2nBo8lzR+Pv5hiS6LwDkB8RVHpHr8t+itVw89JTH oIBQ== X-Gm-Message-State: AOAM5331C7CWZibuB4TNs97cmiv/44oQPZfcGOMBGiTctn+nMWrp2Qn3 8lJ1XYydF2NooskxbnC9KVL+Ug== X-Google-Smtp-Source: ABdhPJwlGsXPEwSdc3f5Adtgld9Q4zJ1udicsC94lAm2kRX5dEPjKQfvdKQc/HEmLagkAaAvs/faqQ== X-Received: by 2002:a5d:5008:: with SMTP id e8mr20948711wrt.386.1620513465076; Sat, 08 May 2021 15:37:45 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id p10sm15172158wrr.58.2021.05.08.15.37.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 15:37:44 -0700 (PDT) From: "Basil L. Contovounesios" To: =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JzQuNGF0LDQudC70L7Qsg==?= Subject: Re: bug#48298: Invalid time specification: encode-time((0 30 11 1 1 0 nil -1 nil)) References: Date: Sat, 08 May 2021 23:37:43 +0100 In-Reply-To: (=?utf-8?B?ItCV0LLQs9C10L3QuNC5INCc0LjRhdCw0LnQu9C+0LIiJ3M=?= message of "Sat, 8 May 2021 19:55:10 +0300") Message-ID: <87eeeg26o8.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: 48298@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) forcemerge 48290 48298 quit =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9C=D0=B8=D1=85=D0=B0=D0=B9= =D0=BB=D0=BE=D0=B2 writes: > (my-mins-between "11:30" "12:04") > > (defun my-mins-between (time1 time2) > "Return the minutes between HH:mm strings TIME1 and TIME2." > (let ((diff (apply #'time-subtract > (mapcar (lambda (time) > (encode-time (decoded-time-set-defaults > (parse-time-string time)))) > (list time1 time2))))) > (/ (float-time diff) 60))) > > Debugger entered--Lisp error: (error "Invalid time specification") > encode-time((0 30 11 1 1 0 nil -1 nil)) > (lambda (time) (encode-time (decoded-time-set-defaults (parse-time-stri= ng time))))("11:30") > mapcar((lambda (time) (encode-time (decoded-time-set-defaults (parse-ti= me-string time)))) ("11:30" "12:04")) I'm not sure what happened that resulted in two bug reports being submitted, but this looks like the missing description from https://bugs.gnu.org/48290, so I'm merging the two reports. Thanks, --=20 Basil From debbugs-submit-bounces@debbugs.gnu.org Tue May 11 09:29:48 2021 Received: (at control) by debbugs.gnu.org; 11 May 2021 13:29:48 +0000 Received: from localhost ([127.0.0.1]:35397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgSSK-0006be-Lf for submit@debbugs.gnu.org; Tue, 11 May 2021 09:29:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgSSJ-0006bR-7I for control@debbugs.gnu.org; Tue, 11 May 2021 09:29:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4VP2al3i25QTUwAyO6NFRaUapnLt+RvHODMNVldG1IU=; b=P9UaBvPLvPfZ73woXwbPBJxGgY IZ/A8JUjROveboAoYhqq7zz+XXbtlSdL+1u6Fc37VFTE1x+L/ywK/hnXvWA/LDWNEVRYIladquGK+ slI7AfnYznCWRK3KDaXxr2CZdmwT+Oy9XMeMEQ3kZ8erZYk/rI5LZ8yKffwLnX+kYkDk=; 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 1lgSSB-0005Rv-GD for control@debbugs.gnu.org; Tue, 11 May 2021 15:29:41 +0200 Date: Tue, 11 May 2021 15:29:39 +0200 Message-Id: <87cztxo0u4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48290 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 48290 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 48290 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Tue May 11 17:37:58 2021 Received: (at control) by debbugs.gnu.org; 11 May 2021 21:37:58 +0000 Received: from localhost ([127.0.0.1]:37679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lga4k-00072F-I8 for submit@debbugs.gnu.org; Tue, 11 May 2021 17:37:58 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:39734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lga4i-00071w-OJ for control@debbugs.gnu.org; Tue, 11 May 2021 17:37:57 -0400 Received: by mail-wm1-f51.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso338969wmh.4 for ; Tue, 11 May 2021 14:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=F3XrNtnLJHuhBOjqUZPh3CvZeEEqv/Yauayn0e7qR7o=; b=fNW5XipEbxv6goil88mlTwQ2BoFVyCMisjnhWCQdKct0h0Ivf3aQsZWyZQD3WMUMHF gR66yW0QHg1yT9c3jKvqvkLfbJH+3a1TkzMKuWD0Kt3GX/MyekmEUzPBoTHeOrJpko8s 33OFz5uffRqZKgIpRKJ/vSr+MMCU7fsKTlz4QaXo/brB96RPumfZvZN/QccOiq7ebKxc UP6/53uAt2uM88ErNZ4jOkexh94LwhsdG1QYAicFqHoR9CLAFIeVzdHWNc3lPvrWl2Xs cxUdgw1yLzdaNXxnjlk+YBrXYKpRjvZreh1qJvznPVoGbDeIpwxRHvHeq2esRtkHURwW XxBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=F3XrNtnLJHuhBOjqUZPh3CvZeEEqv/Yauayn0e7qR7o=; b=PSMpNaaFTYrj7goU3K9hyaebc7GH4NjrPuR0v7JFz+Hyxtt93ybXmoflGP/1H2gbMD 01X51vERC2LENZyf6CvrrWVAGIv+nhLf7/iVZV2WH/APc42rdken947Unh32xkUnrMz9 HQTqv47XEpt3JG/rqvc8A2sWaMbCVjn0nWLgcfFmrp8AVFxfSLrx1/QuS77X2OD9HbqY qzgCZHFjskjnBHsDFjSB+RgjKOdfgfZlTx2Eyc2wHTL97ViaN9stBdMkhWZDJtyIaZoI 1JYzr2va+Ic/EOFke1O5jbdt78ZjAhVMsBT/zg/Z2hre5MSTS2X37VuIep8mD2U21lQj LFxg== X-Gm-Message-State: AOAM530Blv8sUUFWeYtevdvQ1itlwPZQ81G1isnJYylaPX2Qz0vFbjQj BZ9tSfjwVH9z5PauoadG2uhJXw== X-Google-Smtp-Source: ABdhPJx2u20unLCJmu2kQ81OxbrsIG2Ewc+8CXNQ2ztlLDx50ZYPFuUk9KWoAfQaUoj92YW/sN1I1Q== X-Received: by 2002:a1c:7e93:: with SMTP id z141mr3564345wmc.59.1620769070844; Tue, 11 May 2021 14:37:50 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id s5sm25298114wmh.37.2021.05.11.14.37.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 May 2021 14:37:50 -0700 (PDT) From: "Basil L. Contovounesios" To: =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JzQuNGF0LDQudC70L7Qsg==?= Subject: Re: bug#48298: References: Date: Tue, 11 May 2021 22:37:48 +0100 In-Reply-To: (=?utf-8?B?ItCV0LLQs9C10L3QuNC5INCc0LjRhdCw0LnQu9C+0LIiJ3M=?= message of "Tue, 11 May 2021 23:56:49 +0300") Message-ID: <87fsytt0ib.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: 48298-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 48298 - moreinfo found 48298 27.1 close 48298 28.1 quit =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9C=D0=B8=D1=85=D0=B0=D0=B9= =D0=BB=D0=BE=D0=B2 writes: > =D0=B2=D1=81, 9 =D0=BC=D0=B0=D1=8F 2021 =D0=B3. =D0=B2 11:54, Basil L. Co= ntovounesios : > > Eli Zaretskii writes: > > >> From: "Basil L. Contovounesios" > >> Cc: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9C=D0=B8=D1=85=D0= =B0=D0=B9=D0=BB=D0=BE=D0=B2 > >> , 48298@debbugs.gnu.org > >> Date: Sun, 09 May 2021 09:19:47 +0100 > >> > >> > I guess the problem is in decoded-time-set-defaults, if anywhere. > >> > >> Lars? > > > > As the minimum fix, perhaps instead of using zero as the missing year > > we should use 1970, as zero could not be representable on some > > systems. > > Also 1970 is implied by the function's docstring and announcement. > > All tests seem to pass with this: > > Evgeny, does that fix the error that you see? > > It does! (encode-time '(0 30 11 1 1 1970 nil -1 nil)) yielded (0 30600). = Thank you guys for your help! Thanks for confirming. I'm therefore closing this report. --=20 Basil From unknown Fri Aug 15 12:53:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 09 Jun 2021 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator