all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* diary-mail-entries
@ 2007-03-20 21:49 sven.bretfeld
  2007-03-21  4:45 ` diary-mail-entries Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: sven.bretfeld @ 2007-03-20 21:49 UTC (permalink / raw)
  To: help-gnu-emacs

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

http://www.emacswiki.org/cgi-bin/wiki/DiaryMode#DiaryMode3

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
Sven

------------

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):

#!/bin/bash
emacs --batch --eval "(setq diary-mail-days 50 european-calendar-style
t diary-file \"~/aktuell/myconf/diary\" diary-mail-addr
\"sven.bretfeld@relwi.unibe.ch\")" -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
       calendar-day-name-array
         ["Sonntag" "Montag" "Dienstag" "Mittwoch" 
          "Donnerstag" "Freitag" "Samstag"]
       calendar-month-name-array
         ["Januar" "Februar" "März" "April" "Mai" 
          "Juni" "Juli" "August" "September" 
          "Oktober" "November" "Dezember"])

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

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-21 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-20 21:49 diary-mail-entries sven.bretfeld
2007-03-21  4:45 ` diary-mail-entries Kevin Rodgers
2007-03-21 22:15   ` diary-mail-entries [SOLVED] sven.bretfeld

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.