Max Nikulin 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
On 03/02/2023 19:17, Ihor Radchenko wrote:
Julien Cubizolles writes:
May I know where "jc-idle-time" is coming from? Is it a built-in command
on wayland?
Sorry, I forgot to mention. It's a custom python program, working both
in X11 and wayland. I didn't find a built-in command.
I would
Julien Cubizolles writes:
>> May I know where "jc-idle-time" is coming from? Is it a built-in command
>> on wayland?
>
> Sorry, I forgot to mention. It's a custom python program, working both
> in X11 and wayland. I didn't find a built-in command.
I would prefer something built-in or, at least,
Ihor Radchenko writes:
>> +(defcustom org-clock-pgtkidle-program-name
>> + (if (executable-find "jc-idle-time")
>> + "jc-idle-time")
>> + "Name of the program which prints idle time in milliseconds.
>
> May I know where "jc-idle-time" is coming from? Is it a built-in command
> on
Max Nikulin writes:
>>> +(defvar org-pgtkidle-exists-p
>>> + ;; Check that org-clock-pgtkidle-program-name exists. But don't do that
>>> on DOS/Windows,
>>> + ;; since the command definitely does NOT exist there, and invoking
>>> + ;; COMMAND.COM on MS-Windows is a bad idea -- it hangs.
>>>
On 01/02/2023 20:15, Ihor Radchenko wrote:
+(defcustom org-clock-pgtkidle-program-name
+ (if (executable-find "jc-idle-time")
+ "jc-idle-time")
+ "Name of the program which prints idle time in milliseconds.
May I know where "jc-idle-time" is coming from? Is it a built-in command
on
Julien Cubizolles writes:
> Ihor Radchenko writes:
>
>>
>> As Tim pointed out, we cannot guarantee that things working on 'x build
>> will also work on 'pgtk. Instead of abusing settings for 'x window
>> system, can you please introduce a new function org-pgtk-idle-seconds
>> using a new
Ihor Radchenko writes:
>
> As Tim pointed out, we cannot guarantee that things working on 'x build
> will also work on 'pgtk. Instead of abusing settings for 'x window
> system, can you please introduce a new function org-pgtk-idle-seconds
> using a new variable org-clock-pgtkidle-program-name,
Julien Cubizolles writes:
> org-clock checks for the 'x window-system in order to use the program
> set up by org-clock-x11idle-program-name. Recent Emacs versions use the
> 'pgtk instead of 'x and as such will default to using
> org-emacs-idle-seconds in org-user-idle-seconds.
>
> The following
Julien Cubizolles writes:
> org-clock checks for the 'x window-system in order to use the program
> set up by org-clock-x11idle-program-name. Recent Emacs versions use the
> 'pgtk instead of 'x and as such will default to using
> org-emacs-idle-seconds in org-user-idle-seconds.
>
I"m not sure
org-clock checks for the 'x window-system in order to use the program
set up by org-clock-x11idle-program-name. Recent Emacs versions use the
'pgtk instead of 'x and as such will default to using
org-emacs-idle-seconds in org-user-idle-seconds.
The following patch provides a crude workaround.
11 matches
Mail list logo