Max Nikulin <maniku...@gmail.com> writes: > As to Org my opinion is still that a defcustom for user-defined function > returning idle may be a better option.
Agree. If pgtk does not have to use something that absolutely needs to be pgtk-specific, we should rather introduce a generic customization. For example, a new `org-clock-idle-function' customization may accept Elisp function of a string (for a shell command), defaulting to `org-emacs-idle-seconds'. -- Ihor Radchenko // yantar92, Org mode contributor, 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>