From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Charles Curley Newsgroups: gmane.emacs.help Subject: Re: Daily Diary Display in Emacs emacs24 24.4+1-5 Date: Sat, 24 Oct 2015 11:48:28 -0600 Message-ID: <20151024114828.38fcc688@jhegaala.localdomain> References: <20151023102409.76785eec@jhegaala.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445708946 22649 80.91.229.3 (24 Oct 2015 17:49:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2015 17:49:06 +0000 (UTC) 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 19:49:06 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 1Zq2w7-0000EB-Cf for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Oct 2015 19:48:59 +0200 Original-Received: from localhost ([::1]:45179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq2w6-0006g0-QP for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Oct 2015 13:48:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq2vq-0006cy-UT for help-gnu-emacs@gnu.org; Sat, 24 Oct 2015 13:48:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zq2vn-0004zq-OB for help-gnu-emacs@gnu.org; Sat, 24 Oct 2015 13:48:42 -0400 Original-Received: from mail.endcrypt.com ([2607:f0d0:1301:23::3]:45934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq2vn-0004t3-JY for help-gnu-emacs@gnu.org; Sat, 24 Oct 2015 13:48:39 -0400 Original-Received: from jhegaala.localdomain (unknown [199.192.126.172]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.endcrypt.com (Postfix) with ESMTPSA id 75017869F5 for ; Sat, 24 Oct 2015 17:48:29 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.endcrypt.com 75017869F5 In-Reply-To: <20151023102409.76785eec@jhegaala.localdomain> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f0d0:1301:23::3 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:107807 Archived-At: On Fri, 23 Oct 2015 10:24:09 -0600 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. I *may* have a solution. Bob Proulx 's email "Undesirable sh-mode indent" reminded me to read the news file. Searching on appropriate keywords produced the following: *** The obsolete (since Emacs 22.1) method of enabling the appt package by adding `appt-make-list' to `diary-hook' has been removed. Use `appt-activate' instead. So the culprit in my code is here: (if ( < emacs-major-version 24) ; emacs 23 or less (add-hook 'diary-hook 'appt-make-list) ) I don't need the version test any more, and the proper code is: (add-hook 'diary-hook 'appt-activate) I made that change yesterday and evaluated it. It appears this morning to have worked. If it continues to work correctly, I will call it good. There are lots of good suggestions in the replies, and I will follow those up with changes and appropriate testing. -- The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no Warrants shall issue, but upon probable cause, supported by Oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized. -- U.S. Const. Amendment IV Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB