GNU bug report logs - #57803
28.2; decoded-time-add results in message "obsolete timestamp with cdr 1"

Previous Next

Package: emacs;

Reported by: Gustavo Barros <gusbrs.2016 <at> gmail.com>

Date: Wed, 14 Sep 2022 14:10:01 UTC

Severity: normal

Found in versions 27.1, 28.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 57803 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Gustavo Barros <gusbrs.2016 <at> gmail.com>
Cc: 57803 <at> debbugs.gnu.org
Subject: Re: bug#57803: 28.2; decoded-time-add results in message "obsolete
 timestamp with cdr 1"
Date: Wed, 14 Sep 2022 16:46:50 +0200
Gustavo Barros <gusbrs.2016 <at> gmail.com> writes:

> Evaluating this, we get the message:
>
>    obsolete timestamp with cdr 1 [2 times]

I can reproduce this in emacs-28.2, but not in Emacs 29, so I think this
has been fixed for the next release.

> A little side report of what is likely just a typo in the manual.  The
> following example in the same section of the manual for the
> `decode-time' function:
>
>    (setf (decoded-time-year decoded-time)
> 	  (+ (decoded-time-year decoded-time) 4))
>
> results in:
>
>    let*: Symbol’s value as variable is void: decoded-time

Well, you have to set the variable `decoded-time' to something first.




This bug report was last modified 2 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.