emacs-orgmode
[Top][All Lists]
Advanced

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

[BUG] Agenda display + blocked habits + org-agenda-dim-blocked-tasks set


From: Ignacio Casso
Subject: [BUG] Agenda display + blocked habits + org-agenda-dim-blocked-tasks set to 'invisible
Date: Thu, 9 Dec 2021 12:49:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Hello,

I think I've found a bug in the agenda display when
'org-agenda-dim-blocked-tasks' is set to 'invisible', and there is a task
that is a habit (i.e., 'STYLE' property set to 'habit') and is blocked
(e.g., because 'org-enforce-todo-dependencies' is set to 't' or there is
an 'ORDERED' property). In this scenario, the task does not appear in the
agenda, but its consistency graph does appear, and not in a separate
line, but appended to the end of the previous line, be it the previous
task or the header line with the date.

To reproduce the bug, only this minimal configuration and generating the
agenda for this file is needed:

(require 'org-habit)
(customize-set-variable 'org-agenda-dim-blocked-tasks 'invisible)


* Some habit
:PROPERTIES:
:ORDERED:  t
:END:
** TODO Habit 1
SCHEDULED: <2021-12-09 jue .+1d>
:PROPERTIES:
:STYLE:    habit
:END:
** TODO Habit 2
SCHEDULED: <2021-12-09 jue .+1d>
:PROPERTIES:
:STYLE:    habit
:END:

Best regards,

Ignacio

Emacs  : GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)
 of 2020-03-26, modified by Debian
Package: Org mode version 9.5 (9.5-g0a86ad @ /home/ignacio/.emacs.d/elpa/org-9.5/)




reply via email to

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