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

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



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

* [PATCH] Re: [BUG] Agenda display + blocked habits + org-agenda-dim-blocked-tasks set to 'invisible
  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 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2021-12-18 13:18 UTC (permalink / raw)
  To: Ignacio Casso; +Cc: emacs-orgmode

Ignacio Casso <ignaciocasso@hotmail.com> writes:

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

Thanks for reporting!
Fixed on bugfix via 1778eb94c.

Best,
Ihor


^ 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

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