From: Milan Zamazal <pdm@zamazal.org>
To: emacs-orgmode@gnu.org
Subject: Re: Habit error
Date: Sat, 04 Jul 2020 12:55:27 +0200 [thread overview]
Message-ID: <87fta7sg68.fsf@zamazal.org> (raw)
In-Reply-To: 877dvjve9v.fsf@yandex.com
>>>>> "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 nil)
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
next prev parent reply other threads:[~2020-07-04 10:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-04 9:08 Habit error Colin Baxter
2020-07-04 10:55 ` Milan Zamazal [this message]
2020-07-04 11:32 ` Colin Baxter
2020-07-04 11:03 ` Marco Wahl
2020-07-04 11:29 ` Colin Baxter
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fta7sg68.fsf@zamazal.org \
--to=pdm@zamazal.org \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).