all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Oleg Katsitadze <olegkat@gmail.com>
Cc: 22887@debbugs.gnu.org
Subject: bug#22887: 24.4; Bug in timeclock-day-* functions (timeclock.el)
Date: Mon, 29 Jul 2019 15:22:32 +0200	[thread overview]
Message-ID: <87d0ht7z6v.fsf@mouse.gnus.org> (raw)
In-Reply-To: <CAK4OEYKLvZ7M90EcJPcNLUFRF9SoMBPo4bN2AQAfVqK_F7H2=Q@mail.gmail.com> (Oleg Katsitadze's message of "Wed, 2 Mar 2016 14:51:10 -0800")

(I'm going through old Emacs bug reports that haven't received any
response.)

Oleg Katsitadze <olegkat@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





  reply	other threads:[~2019-07-29 13:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02 22:51 bug#22887: 24.4; Bug in timeclock-day-* functions (timeclock.el) Oleg Katsitadze
2019-07-29 13:22 ` Lars Ingebrigtsen [this message]
2020-08-12  3:44   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0ht7z6v.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=22887@debbugs.gnu.org \
    --cc=olegkat@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.