GNU bug report logs - #22887
24.4; Bug in timeclock-day-* functions (timeclock.el)

Previous Next

Package: emacs;

Reported by: Oleg Katsitadze <olegkat <at> gmail.com>

Date: Thu, 3 Mar 2016 00:41:02 UTC

Severity: normal

Found in version 24.4

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Oleg Katsitadze <olegkat <at> gmail.com>
Cc: 22887 <at> debbugs.gnu.org
Subject: Re: bug#22887: 24.4; Bug in timeclock-day-* functions (timeclock.el)
Date: Mon, 29 Jul 2019 15:22:32 +0200
(I'm going through old Emacs bug reports that haven't received any
response.)

Oleg Katsitadze <olegkat <at> gmail.com> writes:

> Here's how to reproduce:
>
> 1. Run "emacs -Q".
>
> 2. Evaluate this:
>
>     (load-library "timeclock.el")
>
> 3. Create some time log entries (e.g., by clocking in/out using
> timeclock.el).
>
> 4. For one of the days in ~/.emacs.d/timelog, manually add the "h"
> entry ("time required") to override the default required time for that
> day, e.g.:
>
>     h 2016/03/02 00:00:00 6
>
> 5. Evaluate this:
>
>     (timeclock-reread-log)
>
> 6. Evaluate this:
>
>     (timeclock-day-list-length (timeclock-day-alist))
>
> Emacs reports an error:
>
>     Debugger entered--Lisp error: (wrong-type-argument listp 21600.0)
>       cadr(21600.0)

I'm unable to reproduce this.  Could you supply a ~/.emacs.d/timelog
file that displays this problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 345 days ago.

Previous Next


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