thisago's blog

Routines In Org Agenda

routineOrgAgenda.svg

Figure 1: Org Agenda buffer.

Hello.

Previously I was using a custom Nim CLI I wrote ↗ (GitHub) which receives a YAML and spit Markdown, Mermaid Gantt chart and timeto.me ↗ patched exports.

routineParserMd.svg

Figure 2: routineParser's Markdown representation of the YAML routine.

But I migrated from this over-engineered thing to Org Agenda, and I am happy with it.

I also use a package that brings an neat timeline view to agenda's time blocks: org-timeline

Org's powerful syntax allows me to schedule it to every day with a Emacs Lisp snippet inside the active date timestamp!

Here's my current routine definition:

* Main Focuses
** Starting Day
SCHEDULED: <%%(calendar-current-date) 05:00-07:00>
** Main Activities
SCHEDULED: <%%(calendar-current-date) 07:30-17:30>
** Finishing Day
SCHEDULED: <%%(calendar-current-date) 18:00-20:00>

* Breaks
** Lunch
SCHEDULED: <%%(calendar-current-date) 12:00-12:40>

Yeah, that's it. Quick thing I wanted to share.

See the source code here.
Generated at 2025-11-02 Sun 21:38 by Emacs 29.4 (Org mode 9.6.15)