From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6OQ6Ods73mNa5wAAbAwnHQ (envelope-from ) for ; Sat, 04 Feb 2023 12:05:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iHr7ONs73mPv3AAAauVa8A (envelope-from ) for ; Sat, 04 Feb 2023 12:04:59 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C459CCA36 for ; Sat, 4 Feb 2023 12:04:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOGLG-00037a-4J; Sat, 04 Feb 2023 06:04:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOGL6-00033T-Ey for emacs-orgmode@gnu.org; Sat, 04 Feb 2023 06:04:14 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOGL1-0007xv-22 for emacs-orgmode@gnu.org; Sat, 04 Feb 2023 06:04:11 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 115FB2405EA for ; Sat, 4 Feb 2023 12:04:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1675508644; bh=ff4+VuwvkphXLYRFKtD1mW7sujkMAqqJI/IOJyjxlI4=; h=From:To:Cc:Subject:Date:From; b=S5f/Hl1eNtCH15Ru8lG+savo8KGzoEYhfFbizYczs9XnQL4Mfg9OfSznu1v5yF6MC 7GkYA1LV9XynQPLYglBpb0jD7/VNs09kvxh6Tqdbo9ti4+EpsEIq3zXkPxB4otu611 aIh+WilymxYlOII3YTzBxDhpe6gYltCQXn9RW4Cs+JIvDGoax0eUP3QST9ZUxZg09Q 5VGwGFakANkUkIzmE06xIjcoaXau1I6thIxNP/iElBIu94vLlUawXvK5Eq5zya25ZH GsWvUi3J7hGCU2Z4ZHkfTEEwC0oM+mDYd+7Qn00PZm9EJNiBVl5lsx4hO05B9pZcXF ODUS4v+xt9UdQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P88m30lKbz6tmB; Sat, 4 Feb 2023 12:04:02 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: Julien Cubizolles , emacs-orgmode@gnu.org Subject: Re: org-clock idle time in pgtk Emacs In-Reply-To: <860dc32b-2aa7-cfca-cea6-3f836de0f578@gmail.com> References: <875ylvnxf9.fsf@free.fr> <87wnea15hy.fsf@localhost> <87lelin03e.fsf@free.fr> <87y1phjzmg.fsf@localhost> <87r0v7s36f.fsf@free.fr> <877cwzndtt.fsf@localhost> <860dc32b-2aa7-cfca-cea6-3f836de0f578@gmail.com> Date: Sat, 04 Feb 2023 11:04:40 +0000 Message-ID: <87o7q9g08n.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675508699; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eBWJFhG2uMSEXCZC6AqjETPqYGkeO40ctBklca09vUM=; b=mS3bXVycS7OSfyTDKMxceT74+gnjgb3pOoZjtf64c8F+yB7h4iSF7JyFZTY2h4ZVUqooRg gYm8+WAduc6jSUZgR761U2UTSY+7Ekndbr5zqQnx/FV33rsWMWgFRtwja2qpKTxs1ZrCLE 9DoQ/lEP70jVW8XvVFoUQZXjor/50q4wQy9jHVf6DVIXFjjkvYkf5JClY856aZx09P8qD/ ne1kCYSj2UToFfMsvzFBiimW12NL8FSodYLtgtVr67k2SMuDBbYKCArdovTcNHbDw0GPXO eQJQ/gIUVPtdLTlwJ2lqqiCY9TJOI4ZNe4bZdnVRhwcd0Mm+gk8KxgnMH5hLOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="S5f/Hl1e"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675508699; a=rsa-sha256; cv=none; b=RTVTbDxeEE0ssqdWgVYidoQzGWLFajvPSWxSXTTqHBHL7a3uiM7rb4+nKFZzIDO2x9+sKy CkufVL0etLpldRQMXv4dgKofbw61MOHRY4p6M4cj9Kil0nGZL4XbYCtjodNEZwzM7KKwKI 2iI5wdwuXEitpnXMgUToxRO9ps4LnApjsWR6JLODr2EfpddPPEqtei5WoYPTaEO5WexAzK o50f1qLw1wJOBpz107LNotxs+8U5GS9sB4Qqed5k9u2deNCxyjKlQlJ3cu6g8RPT5Lh8rv 3k5plIKGczn+s7f3AFlsQIA7Z37y7tuZGuJ5JMpDEqzIRMfqxNR1n7Q4yyfgEg== X-Migadu-Spam-Score: -4.55 X-Spam-Score: -4.55 X-Migadu-Queue-Id: C459CCA36 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="S5f/Hl1e"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn1.migadu.com X-TUID: deU/2QW58Upw 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 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 . Support Org development at , or support my work at