help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Daily Diary Display in Emacs emacs24 24.4+1-5


From: Charles Curley
Subject: Re: Daily Diary Display in Emacs emacs24 24.4+1-5
Date: Sat, 24 Oct 2015 11:48:28 -0600

On Fri, 23 Oct 2015 10:24:09 -0600
Charles Curley <charlescurley@charlescurley.com> 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 <bob@proulx.com>'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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]