emacs-orgmode
[Top][All Lists]
Advanced

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

Re: reevaluating org-x11idle-exists-p with new org-clock-x11idle-program


From: Julien Cubizolles
Subject: Re: reevaluating org-x11idle-exists-p with new org-clock-x11idle-program-name
Date: Tue, 25 May 2021 10:37:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Tim Cross <theophilusx@gmail.com> writes:

> Julien Cubizolles <j.cubizolles@free.fr> writes:
>
>> I'm using a custom python program to display x11 idle time. I've set
>> org-clock-x11idle-program-name accordingly but org-x11idle-exists-p is
>> still nil. I'm guessing it's defvar'ed in org-clock.el before
>> org-clock-x11idle-program-name is set. Evaluating the defvar of
>> org-x11idle-exists-p afterwards indeed sets it to t.
>>
>> I could do (setq org-x11idle-exists-p t) but there must be a better way
>> to handle the definition of a new org-clock-x11idle-program-name.
>
> How are you setting org-clock-x11idle-program-name? In your init file or
> via custom? 

Setting it via custom works thanks. Somehow org was loaded by some
dependency before I explicitly used (require 'org). I guess I could also
use some use-package configuration.
-- 
Julien Cubizolles




reply via email to

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