unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: James Thomas <jimjoe@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: Timers for weekly events
Date: Sat, 27 Jul 2024 01:23:32 +0530	[thread overview]
Message-ID: <86cyn0udz7.fsf@gmx.net> (raw)
In-Reply-To: <87jzh8153t.fsf@web.de> (Michael Heerdegen via's message of "Fri,  26 Jul 2024 18:37:58 +0200")

Michael Heerdegen via "Emacs development discussions." wrote:

> Christopher Howard <christopher@librehacker.com> writes:
>
>> > No - please see (info "(emacs) Appointments").
>>
>> So, my understanding so far of this approach is...
>>
>> 1) create repeating diary entry for the required time and day of week
>> 2) attach elisp to it that calls desired function, saves state, etc.
>> 3) the appointment reminder system causes the diary entry to be
>> display X number of minutes before the appointment.

You can check for the 'min-to-app' argument to be "0" at the exact time.

>> This causes the attached elisp to be executed.

> What do you mean by "attaching elisp" - where is this mentioned?

No this was my idea :)

Regards,
James



  reply	other threads:[~2024-07-26 19:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-26 16:23 Timers for weekly events Christopher Howard
2024-07-26 16:37 ` Michael Heerdegen via Emacs development discussions.
2024-07-26 19:53   ` James Thomas [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-26 15:01 Christopher Howard
2024-07-26 16:01 ` Michael Heerdegen via Emacs development discussions.
2024-07-24 21:28 Christopher Howard
2024-07-24 17:35 Christopher Howard
2024-07-24 18:38 ` Eli Zaretskii
2024-07-24 23:44 ` James Thomas
2024-07-24 16:28 Christopher Howard
2024-07-24 16:45 ` Eli Zaretskii

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=86cyn0udz7.fsf@gmx.net \
    --to=jimjoe@gmx.net \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).