[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

custom props in `org-agenda-get-scheduled`

From: Samuel Maynard
Subject: custom props in `org-agenda-get-scheduled`
Date: Sun, 12 Apr 2020 12:52:11 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

Hi all,

First time on the mailing list. Been using org-mode for about half a year.

I'm trying to add a custom display to the agenda view, similar to org-habit. I'm want to pull information from a task's `:LOGBOOK:` drawer and display some stats next to the item in the agenda view.

I've written the code that parses the stats I'm interested in, but I can't seem to figure out how to show them in the agenda. Looking through the org-habit code it seems I need to first use `org-add-props` (or `add-text-properties`) to add a custom `text-property`, which I can then process in an `org-finalize-hook`.

The problem is that there doesn't seem to be any hook available for me to add a prop during the agenda creation process. Am I missing something? Or do I just need to modify `org-agenda-get-scheduled` directly?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]