From: Arthur Alinovi <aalinovi@riseup.net>
To: help-gnu-emacs@gnu.org
Subject: diary-mail-entries
Date: Mon, 22 Jul 2024 11:40:12 -0400 [thread overview]
Message-ID: <87sew1ph9f.fsf@eddie.fios-router.home> (raw)
I have the following in ~/.emacs.d/init.el:
(require 'midnight)
(setq midnight-period 39600) ;; (eq (* 11 60 60) "12 hours")
(midnight-delay-set 'midnight-delay 1800)
(add-hook 'midnight-hook 'diary-mail-entries)
My thinking is that this sets "midnight" for 11:00am and runs the
midnight-hook diary-mail-entries 30 minutes later.
Obviously, my thinking is flawed or I wouldn't be here.
So, what am I doing wrong and how do I correct it?
Thanks
next reply other threads:[~2024-07-22 15:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-22 15:40 Arthur Alinovi [this message]
2024-07-22 18:33 ` diary-mail-entries Michael Heerdegen via Users list for the GNU Emacs text editor
-- strict thread matches above, loose matches on Subject: below --
2022-10-14 13:42 diary-mail-entries aalinovi
2022-10-16 20:31 ` diary-mail-entries Thorsten Bonow
2022-10-17 11:21 ` diary-mail-entries aalinovi
2022-10-13 16:53 diary-mail-entries aalinovi
2022-10-13 17:31 ` diary-mail-entries Thorsten Bonow
2022-10-13 19:21 ` diary-mail-entries Emanuel Berg
2022-10-13 19:23 ` diary-mail-entries Emanuel Berg
2007-03-20 21:49 diary-mail-entries sven.bretfeld
2007-03-21 4:45 ` diary-mail-entries Kevin Rodgers
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sew1ph9f.fsf@eddie.fios-router.home \
--to=aalinovi@riseup.net \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).