* How to limit display of habits in Agenda view
@ 2024-12-31 12:23 Michael Maurer
2025-01-04 18:40 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Michael Maurer @ 2024-12-31 12:23 UTC (permalink / raw)
To: Org Mode List
I just discovered org-habit, but I don't fully understand how to
configure the appearance of habits in the Agenda view. Let's start
with my current setup (org 9.7.11 and Emacs 31.0.50 on Linux)
(setq org-habit-preceding-days 1)
(setq org-habit-following-days 1)
(setq org-habit-show-habits-only-for-today nil)
I'd expect the habit to show up in my Agenda 1 day before and 1 day
after its scheduled time. But right now I see every habit for the next
two weeks, all the time. When I set
org-habit-show-habits-only-for-today to nil, I see nothing (well
except the ones for the current day).
Is there no way to specify when scheduled habits show up in my agenda?
org-habit-preceding-days is just for the visual property of the graph?
Or am I missing something.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to limit display of habits in Agenda view
2024-12-31 12:23 How to limit display of habits in Agenda view Michael Maurer
@ 2025-01-04 18:40 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2025-01-04 18:40 UTC (permalink / raw)
To: Michael Maurer; +Cc: Org Mode List
Michael Maurer <maurer.michael@gmail.com> writes:
> Is there no way to specify when scheduled habits show up in my agenda?
Nothing specific to habits, AFAIK.
> org-habit-preceding-days is just for the visual property of the graph?
Yup.
You may consider custom `org-agenda-skip-function'.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-04 18:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-31 12:23 How to limit display of habits in Agenda view Michael Maurer
2025-01-04 18:40 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.