Khalid Rafi <[email protected]> writes:

> Jean Louis <[email protected]> writes:
>
>> * Khalid Rafi <[email protected]> [2025-12-28 05:49]:
>>> 
>>> How can I track numerical habits such as reading a number of pages of
>>> books? I have only found time-bound repeaters in manual. Not this case.

>> (...)
>>    #+BEGIN_SRC emacs-lisp
>>    ;; Quasi-automated system to increment pages read per session

> Thanks for whatever you've given.

He has given some sample code with ideas for hacking together your own
numerical tracking system by (1) updating a counter in an Org property,
(2) summing page counts over log entries and (3) plotting data from a
file. It's nearly a working solution that could be easily finished. It's
not integrated with org-habit, though an integration could build on
these ideas.

> But, as someone coming from the Loop
> Habit Tracker (the Android app) to Org mode, I was looking for its very
> basic habit tracking features in Org mode. Is what I'm looking for
> unavailable in the default org-habit module? It would be surprising if
> Org mode can't do that considering it's so customizable!

Yes, the feature you are looking for is not (yet) implemented in
org-habit. The org-habit module does what it says in the manual.
[[info:org#Tracking your habits][org#Tracking your habits]]

It's not surprising that org-habit doesn't have all the features of a
dedicated habit-tracking app. Perhaps noone's requested it before (I
haven't checked). The customizability of Org lies in part in how easy it
is for a user to hack together a works-for-them solution with existing
Org features, like my suggestion to capture into a table (that's how I
track my jogs), or with a few lines of extra elisp, like Jean Louis'
suggestions.

That said, numerical habit tracking as an extension of org-habit seems a
perfectly sensible new feature to ask for. If you request a feature and
someone shows interest in coding it up, you can help speed it along by
discussing ideas for how it should work, and by testing code and giving
feedback.

Regards,
Christian

Reply via email to