From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Why doesn't Emacs have an `active-timer-p' command, or why can't I find it? Date: Thu, 11 Nov 2021 22:37:43 +0200 Message-ID: <83lf1uzaw8.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11691"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 11 21:39:37 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mlGrB-0002oE-2I for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Nov 2021 21:39:37 +0100 Original-Received: from localhost ([::1]:41938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlGr9-0002qJ-6O for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Nov 2021 15:39:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlGpT-0001UC-Ps for emacs-devel@gnu.org; Thu, 11 Nov 2021 15:37:56 -0500 Original-Received: from [2001:470:142:3::e] (port=43176 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlGpT-0007Mu-B5; Thu, 11 Nov 2021 15:37:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=IVfa2mnVJCr/wJVUDYMjDwNxmJz7zaJR7wNL0tPZmtU=; b=mAND4Y8/O09/ BB8jLmInZwBYaJ6Wnii19S6gz/FCV9Y4n2RD4jZxiBBLlhdHCCeLuFbNnzw9BbYtDZwk1s3Dw+q6m EE04pXn1+m6t4kT1S1xdsMPiaf12bIbNJ9ZCJkMtgeZZB52kJmUKDzdRUztKC5dd4mOdKk0phyn8d HJizn9foQL8bC1R9PpMTPZbLxiApeEErubb8gppcOBtJjtE9fngyVCE5p1LjwbARkN1/cnzM81p29 GFNy+xZQ5AatDczXGxwtTdB9GeX2HX4eC8WTSrPyxL9pIZ4GeO9/wVGVySMlq0feFEpwcEx9MdTFU bYwbXkUu6/Kk88uYrSddSQ==; Original-Received: from [87.69.77.57] (port=2819 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlGpS-00028c-S4; Thu, 11 Nov 2021 15:37:51 -0500 In-Reply-To: (message from Alan Mackenzie on Thu, 11 Nov 2021 20:31:24 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279274 Archived-At: > Date: Thu, 11 Nov 2021 20:31:24 +0000 > From: Alan Mackenzie > > There doesn't appear to be an easy way in a Lisp program to determine if > a timer object is active. What is an "active timer", and how does it differ from a non-active one?