From: Eli Zaretskii <eliz@gnu.org>
To: Christopher Howard <christopher@librehacker.com>
Cc: 71699-done@debbugs.gnu.org
Subject: bug#71699: 29.3; run-at-time early run
Date: Sat, 22 Jun 2024 09:14:45 +0300 [thread overview]
Message-ID: <86le2xjyga.fsf@gnu.org> (raw)
In-Reply-To: <87msne5aup.fsf@librehacker.com> (message from Christopher Howard on Fri, 21 Jun 2024 11:55:58 -0800)
[Please use Reply All to reply, so that the bug tracker is CC'ed.]
> From: Christopher Howard <christopher@librehacker.com>
> Date: Fri, 21 Jun 2024 11:55:58 -0800
>
> Okay, sorry I missed that. You can close this bug if appropriate.
Done.
> Is there a convenient way to specify a specific future time for the timer, if you aren't sure whether or not that time is today or not? (E.g., if the call was in your init.el.) I suppose I could do a calculation first of the exact number of seconds remaining until that time, and do a relative call, though that seems a little kludgy.
You could make your timer function do nothing if the current time is
much later than the intended time. Or you could define a one-shot
timer that will run at midnight and start your main timer. Or you
could decide that running the timer function immediately is not a big
deal and do nothing to prevent that.
prev parent reply other threads:[~2024-06-22 6:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-21 16:45 bug#71699: 29.3; run-at-time early run Christopher Howard
2024-06-21 18:57 ` Eli Zaretskii
[not found] ` <87msne5aup.fsf@librehacker.com>
2024-06-22 6:14 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86le2xjyga.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=71699-done@debbugs.gnu.org \
--cc=christopher@librehacker.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.