From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: Daily Diary Display in Emacs emacs24 24.4+1-5 Date: Fri, 23 Oct 2015 17:28:41 -0700 Message-ID: References: <20151023102409.76785eec@jhegaala.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1445646572 19873 80.91.229.3 (24 Oct 2015 00:29:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2015 00:29:32 +0000 (UTC) Cc: Charles Curley To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 24 02:29:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zpmi0-0004fj-Bi for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Oct 2015 02:29:20 +0200 Original-Received: from localhost ([::1]:42182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpmhu-0007Bm-9R for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 20:29:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpmhi-0007Be-ML for help-gnu-emacs@gnu.org; Fri, 23 Oct 2015 20:29:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpmhh-0001e8-PN for help-gnu-emacs@gnu.org; Fri, 23 Oct 2015 20:29:02 -0400 Original-Received: from mail-yk0-x22f.google.com ([2607:f8b0:4002:c07::22f]:34943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpmhh-0001e1-L5 for help-gnu-emacs@gnu.org; Fri, 23 Oct 2015 20:29:01 -0400 Original-Received: by ykaz22 with SMTP id z22so137515523yka.2 for ; Fri, 23 Oct 2015 17:29:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=WwJGGrg7masskdTjLD0WgRDyO0jYuaADhuwL0DZgbEs=; b=IgAelNLjQY0dJjpe5ZPmaEOX30dDACvyltH0u50i/JZRHqUMiJDi4ftY0B2iZCiDQM uvcWX7xzVLcXZJWVEpcagKvlAnU/7V6APnRF44ugv6DibVk+uNvezggTWq5Yo15rGLvD z7T8alKKgjnx85CKNoMKk752SiZJeBvw3rgIEiL5p684OU/4rda0v4e1khBBR8Fn/y+b mSOoI9JClbpgXwSttXkUerZVFdvyQpmOZK3gD/mHaEgKQLM0Tnvl6UcJ5VrevOMlYj4z 3vlbIxcVhfMD2+P/pUe7U8GwV+cn2WVm+IWp9a4nzI/NzAUZFQ0QtAMmso51SsqNLxcq Zfqg== X-Received: by 10.129.41.15 with SMTP id p15mr14863570ywp.91.1445646541192; Fri, 23 Oct 2015 17:29:01 -0700 (PDT) Original-Received: by 10.37.228.134 with HTTP; Fri, 23 Oct 2015 17:28:41 -0700 (PDT) In-Reply-To: <20151023102409.76785eec@jhegaala.localdomain> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107804 Archived-At: Charles Curley wrote: > I have emacs24, 24.4+1-5 on Debian 8.2 jessie. In the past (e.g. emacs > 23.4+1-4 on debian 7.x, wheezy), I have had emacs re-display my diary > every day automatically. This capability does not seem to work on this > version of emacs. As an example, this will call the `diary' function every night at midnight. Is this the functionality you have in mind or do you need something more sophisticated? I didn't see anything in the code you posted that seems to do anything on a schedule. (But note that I don't use `diary' myself). (defvar my-diary-update-timer (run-at-time "12am" (* 60 60 24) #'diary) "Timer to call `diary' ever night at midnight.") ;; To cancel: ;; (cancel-timer my-diary-update-timer) -- john