emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Agenda display + blocked habits + org-agenda-dim-blocked-tasks set to 'invisible
@ 2021-12-09 11:49 Ignacio Casso
  2021-12-18 13:18 ` [PATCH] " Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Ignacio Casso @ 2021-12-09 11:49 UTC (permalink / raw)
  To: emacs-orgmode


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
** TODO Habit 1
SCHEDULED: <2021-12-09 jue .+1d>
:STYLE:    habit
** TODO Habit 2
SCHEDULED: <2021-12-09 jue .+1d>
:STYLE:    habit

Best regards,


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 @ 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-18 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09 11:49 [BUG] Agenda display + blocked habits + org-agenda-dim-blocked-tasks set to 'invisible Ignacio Casso
2021-12-18 13:18 ` [PATCH] " Ihor Radchenko

Code repositories for project(s) associated with this public inbox


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).