unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: reader@newsguy.com
To: help-gnu-emacs@gnu.org
Subject: Re: create emails from dairy entries
Date: Wed, 11 Jun 2008 09:02:22 -0500	[thread overview]
Message-ID: <87zlpsf4sx.fsf@newsguy.com> (raw)
In-Reply-To: 87tzg0mpoa.fsf@bzg.ath.cx

Bastien <bzg@altern.org> writes:

> reader@newsguy.com writes:
>
>> I didn't do any research on this ... mainly because I drew a blank
>> trying to think where or how to start.
>>
>> It may be old hat to someone here:
>>
>>   Can I cause an email to be sent from the Emacs Diary when Appts or
>>   other events roll around?
>>
>> Are there examples of doing this posted somewhere?
>
> I've been using such a script:
>
> ,----
> | #!/bin/sh
> | 
> | /usr/local/bin/emacs -batch -l ~/.emacs.el -eval '(org-batch-agenda ":")' \  
> |   | mail you@erewhon.org
> `----
>
> Please refer to `org-batch-agenda' for details.  If you don't use Org,
> you can use a diary function instead of `org-batch-agenda'.

So are you using cron to read that function every few hours then?  Or
does the script get run from emacs diary somehow?

I guess `diary-mail-entries' only sends all diary entries for a specific
number of days... so not usefull for getting a mail alert about a
specific event?





      reply	other threads:[~2008-06-11 14:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 14:10 create emails from dairy entries reader
2008-06-11  2:52 ` Kevin Rodgers
2008-06-11 13:54   ` reader
2008-06-12  3:12     ` Kevin Rodgers
2008-06-13 12:42       ` reader
2008-06-14 13:07         ` Kevin Rodgers
2008-06-18 13:07           ` reader
2008-06-11  3:19 ` Drew Adams
2008-06-11 13:38   ` reader
2008-06-11  6:49 ` Bastien
2008-06-11 14:02   ` reader [this message]

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87zlpsf4sx.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --cc=help-gnu-emacs@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.
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).