emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ignacio Casso <ignaciocasso@hotmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Agenda display + blocked habits + org-agenda-dim-blocked-tasks set to 'invisible
Date: Thu, 9 Dec 2021 12:49:56 +0100	[thread overview]
Message-ID: <PAXPR06MB776069E9085C1CD606156493C6709@PAXPR06MB7760.eurprd06.prod.outlook.com> (raw)


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 @ 

             reply	other threads:[~2021-12-09 20:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09 11:49 Ignacio Casso [this message]
2021-12-18 13:18 ` [PATCH] Re: [BUG] Agenda display + blocked habits + org-agenda-dim-blocked-tasks set to 'invisible Ihor Radchenko

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:

  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=PAXPR06MB776069E9085C1CD606156493C6709@PAXPR06MB7760.eurprd06.prod.outlook.com \
    --to=ignaciocasso@hotmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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