emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Patrick Drechsler <patrick@pdrechsler.de>
To: emacs-orgmode@gnu.org
Subject: mail agenda similar to `diary-mail-entries'
Date: Tue, 15 May 2007 14:50:56 +0200	[thread overview]
Message-ID: <87mz0645e7.fsf@pdrechsler.de> (raw)

Hi,

is it possible to mail the agenda using a cron job similar to the
diary function `diary-mail-entries'?

Currently I have this shell script for mailing the diary entries to
myself:

--8<---------------cut here---------------start------------->8---
#!/bin/bash
## send diary entries by mail
emacs \
    --batch \
    --load ~/.emacs \
    --load ~/.gnus \
    --funcall diary-mail-entries \
    --eval "(setq diary-mail-days 7)"
--8<---------------cut here---------------end--------------->8---

It would be nice to also include the agenda in this setup.

Any ideas?

Cheers,

Patrick 
-- 
"You know the world is going crazy when the best rapper is a white
guy, the best golfer is a black guy, the Swiss hold the America's Cup,
France is accusing the US of arrogance, and Germany doesn't want to go
to war."          -- Charles Barkley

             reply	other threads:[~2007-05-15 12:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15 12:50 Patrick Drechsler [this message]
2007-05-15 18:47 ` mail agenda similar to `diary-mail-entries' Carsten Dominik
2007-06-09 23:36   ` Patrick Drechsler
2007-06-10  4:37     ` Carsten Dominik
2007-06-10  5:13       ` Eddward DeVilla
2007-06-11 11:10       ` Patrick Drechsler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mz0645e7.fsf@pdrechsler.de \
    --to=patrick@pdrechsler.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).