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.bugs Subject: bug#67706: 30.0.50; timer-next-integral-multiple-of-time does not account for different time-zones Date: Fri, 08 Dec 2023 22:45:50 +0200 Message-ID: <837clozam9.fsf@gnu.org> References: <87msuk3obe.fsf@bboal.com> <83sf4czwwb.fsf@gnu.org> <87il583afc.fsf@bboal.com> <83a5qkze4r.fsf@gnu.org> <87fs0c32d9.fsf@bboal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11675"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67706@debbugs.gnu.org, info@protesilaos.com To: Bruno Boal Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 08 21:47:08 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rBhkZ-0002r6-FE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Dec 2023 21:47:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBhkK-0000R6-2T; Fri, 08 Dec 2023 15:46:52 -0500 Original-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 1rBhkI-0000Qw-NI for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2023 15:46:50 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBhkH-0005Q0-Jt for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2023 15:46:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBhkU-0003Ea-65 for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2023 15:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Dec 2023 20:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67706 X-GNU-PR-Package: emacs Original-Received: via spool by 67706-submit@debbugs.gnu.org id=B67706.170206840712369 (code B ref 67706); Fri, 08 Dec 2023 20:47:02 +0000 Original-Received: (at 67706) by debbugs.gnu.org; 8 Dec 2023 20:46:47 +0000 Original-Received: from localhost ([127.0.0.1]:46302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBhkE-0003DR-T0 for submit@debbugs.gnu.org; Fri, 08 Dec 2023 15:46:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBhkC-0003D5-9w for 67706@debbugs.gnu.org; Fri, 08 Dec 2023 15:46:45 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBhjs-0005Mq-T3; Fri, 08 Dec 2023 15:46:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=NvVqSC8B0Xd0GM/3Y9x1NqZCZqNqCkZGwVtNMklWReg=; b=p0m7NSnGyp067XLB19Zp BfRrEXpkRE6srvDNSFnvPcuz6QKZr2mDbZ1KKjmXhbiMiU1fy82K+y3wEL7Sc3SdITgHQDcILi9xL kXdOolshQByCEl+s+/ccZ5UdTurhf6SCd3OkqlI726hByURiAshidvTheXbh7TW9tlGl2aggKrySZ wc/C7VXfywCjFyrrsq3NqQ6JZU6P1xGN3gJZdilxcMsf8/SWOTIqtCoUT37/gmURTKUw9cYoD03Cn aeMEjCmtaEi+jyVpvU+KcFOLG5tf16LsiLG4HB5h6At2Ro14VCo5LPdk9XkLWWnhvQVxQcOAZeYci PD0BJc2qKHmioA==; In-Reply-To: <87fs0c32d9.fsf@bboal.com> (message from Bruno Boal on Fri, 08 Dec 2023 19:45:06 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275807 Archived-At: > From: Bruno Boal > Cc: 67706@debbugs.gnu.org, info@protesilaos.com > Date: Fri, 08 Dec 2023 19:45:06 +0000 > > (run-at-time TIME REPEAT FUNCTION &rest ARGS) > ... > TIME should be one of: ... > > - a number of seconds from now; ;; The example you gave. Not applicable. > > - or t (with non-nil REPEAT) meaning the next integral multiple of > REPEAT. This is handy when you want the function to run at a certain > "round" number. For instance, (run-at-time t 60 ...) will run at > 11:04:00, 11:05:00, etc. ;; My example. The ELisp manual says: In most cases, REPEAT has no effect on when _first_ call takes place--TIME alone specifies that. There is one exception: if TIME is ‘t’, then the timer runs whenever the time is a multiple of REPEAT seconds after the epoch. So I think time in this case is measured since the epoch, which is independent of the time zone.