From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Howard Newsgroups: gmane.emacs.devel Subject: Re: Timers for weekly events Date: Fri, 26 Jul 2024 08:23:39 -0800 Message-ID: <87le1ojf5g.fsf@librehacker.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7308"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen To: Michael Heerdegen via "Emacs development discussions." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 26 18:25:12 2024 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 1sXNkl-0001o2-Dt for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Jul 2024 18:25:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXNjT-0004pm-Rs; Fri, 26 Jul 2024 12:23:52 -0400 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 1sXNjR-0004pV-82 for emacs-devel@gnu.org; Fri, 26 Jul 2024 12:23:49 -0400 Original-Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXNjO-00049i-QU for emacs-devel@gnu.org; Fri, 26 Jul 2024 12:23:48 -0400 Original-Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id BBC64334622C; Fri, 26 Jul 2024 18:23:44 +0200 (CEST) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:received:received :received; s=dkim20240523; t=1722011024; x=1723825425; bh=EK2bX7 kRzb6tfoi9TG3ng4/EwFdsPa4BLqcn263cNwI=; b=cTBrL9ICLWfZ0HtSz07R1T C83ocCFDOhnMmLMYSg06BnDUPkStl65aOPvwJIrf0dzvFRP3PhhYJVuwxHBHYng4 ZpucBwjB6jZ3+Iq7M/lgAAtsoWnRX3jguET0sx6IIhiXCOYxWfAU3qeio+tXhZPz 4LSG1V1AQQeCIQtXzI71EMi6BeEimte/aPA9uCYK4yYbISPn4/m4Y/oZ7Bc+RFW1 zNt98wBiq0REiJRdfXhSYUwk9slwMCr2TzB/R1X5pTdFuJD8Npl7oEatNeQQwSC4 9Wg7+G8igIRng6N8/K41L+JBp5NXQRhTII9ZuK3sdsl3KWLZFxWzyLsbQEBbr1hQ == X-Virus-Scanned: amavis at mykolab.com Original-Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id u0vpWJWDOJ0S; Fri, 26 Jul 2024 18:23:44 +0200 (CEST) Original-Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id C9663334620C; Fri, 26 Jul 2024 18:23:42 +0200 (CEST) Original-Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id ACEA52093F87; Fri, 26 Jul 2024 18:23:42 +0200 (CEST) In-Reply-To: Michael Heerdegen via's message of "Fri, 26 Jul 2024 18:01:53 +0200 (13 minutes, 14 seconds ago)" Received-SPF: none client-ip=212.103.80.155; envelope-from=christopher@librehacker.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322111 Archived-At: > 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. This causes the attached elisp to be executed. -- Christopher Howard