[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Habit error

From: Milan Zamazal
Subject: Re: Habit error
Date: Sat, 04 Jul 2020 12:55:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

>>>>> "CB" == Colin Baxter <m43cap@yandex.com> writes:

    CB> Hello,
    CB> With the latest pull of org-mode I now find habits are not displayed
    CB> correctly in agenda. The graph bar is missing, with the error

    CB> org-habit-insert-consistency-graphs: Wrong type argument:
    CB> number-or-marker-p, nil

Hi, I've hit the same error.  It was introduced in commit
f471768a54d8921ff383516af6a605adc061af30 -- if all-done-dates is nil
(i.e. a new habit is introduced), it signals an error.

    CB> ----- Begin debugger output --

    CB> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p 
    CB>   (org-habit-build-graph (737610 1 737613 4 nil ".+") (24292 37530
    CB> 669050 863000) (24320 16922 669050 863000) (24329 31898 669050
    CB> 863000))
    CB>   (org-habit-insert-consistency-graphs)
    CB>   (org-agenda-finalize)
    CB>   (org-agenda-list nil)
    CB>   (funcall-interactively org-agenda-list nil)
    CB>   (call-interactively org-agenda-list)
    CB>   (org-agenda nil)
    CB>   (funcall-interactively org-agenda nil)
    CB>   (call-interactively org-agenda nil nil)
    CB>   (command-execute org-agenda)

    CB> ----- End debugger output --

    CB> The error does not occur with the 'built-in' Org mode version 9.3 for
    CB> emacs-27.

    CB> Best wishes,

    CB> Colin.

    CB> Colin Baxter
    CB> URL: http://www.Colin-Baxter.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]