[Top][All Lists]

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


From: sven . bretfeld
Subject: diary-mail-entries
Date: Tue, 20 Mar 2007 22:49:22 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello list

I'm trying to set up a cron job sending me the entries of the Emacs
diary every morning, just as described in

It's not working, since the mail sent by the script doesn't contain
all of the entries of my diary file. It contains almost only
automatical entries like holidays. A few personal entries are
included, however, about two out of 20. Does anybody have an idea
what's going wrong here?

I add the script and my settings below.

Thanks for help


Here is the script (it's one line in the original; I tried 50 days
just to see if any entry is caught at all, it should be 7 or less
after I got it working):

emacs --batch --eval "(setq diary-mail-days 50 european-calendar-style
t diary-file \"~/aktuell/myconf/diary\" diary-mail-addr
\"address@hidden")" -l diary-lib -f diary-mail-entries

And here are the diary-settings of my .emacs:

(setq diary-file "~/aktuell/myconf/diary")

;; Europäisch
(setq european-calendar-style 't)
(setq calendar-week-start-day 1
         ["Sonntag" "Montag" "Dienstag" "Mittwoch" 
          "Donnerstag" "Freitag" "Samstag"]
         ["Januar" "Februar" "März" "April" "Mai" 
          "Juni" "Juli" "August" "September" 
          "Oktober" "November" "Dezember"])

;; Start with diary (if there is an entry today)

;; Timer
(add-hook 'diary-hook 'appt-make-list)
(diary 0)

;; LaTeX output des Kalenders
(setq cal-tex-diary 't)

reply via email to

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