unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Is there a CALENDER reminder in emacs or a gnu tool or in unix
@ 2002-09-28 19:06 gnuist006
  2002-09-28 19:34 ` Chris F.A. Johnson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: gnuist006 @ 2002-09-28 19:06 UTC (permalink / raw)


Suppose I want to be reminded in emacs or on shell window on a certain day
two day before and then 1hr before it?

I also want to be able to keep a record of these in non-proprietary program
or format. This excludes "microsoft lookout". I understand that the
"outlook express" is a depreciated version of "outlook" which does have the
calender functionality but it is not clear if the format is proprietary or
not.

Thanked

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

* Re: Is there a CALENDER reminder in emacs or a gnu tool or in unix
  2002-09-28 19:06 Is there a CALENDER reminder in emacs or a gnu tool or in unix gnuist006
@ 2002-09-28 19:34 ` Chris F.A. Johnson
  2002-09-28 20:51 ` Kai Großjohann
  2002-09-28 21:26 ` Wojtek Walczak
  2 siblings, 0 replies; 7+ messages in thread
From: Chris F.A. Johnson @ 2002-09-28 19:34 UTC (permalink / raw)


In article <b00bb831.0209281106.30436a0@posting.google.com>, gnuist006 wrote:
> Suppose I want to be reminded in emacs or on shell window on a certain day
> two day before and then 1hr before it?

    man at
 
> I also want to be able to keep a record of these in non-proprietary program
> or format.

    cmd="echo <your_reminder_command> | at <when_you_want_it_to_run>"
    $cmd
    echo "$cmd" >> your_record_file

-- 
    Chris F.A. Johnson                        http://cfaj.freeshell.org
    ===================================================================
    My code (if any) in this post is copyright 2002, Chris F.A. Johnson
    and may be copied under the terms of the GNU General Public License

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

* Re: Is there a CALENDER reminder in emacs or a gnu tool or in unix
  2002-09-28 19:06 Is there a CALENDER reminder in emacs or a gnu tool or in unix gnuist006
  2002-09-28 19:34 ` Chris F.A. Johnson
@ 2002-09-28 20:51 ` Kai Großjohann
  2002-09-28 22:28   ` Robert Marshall
  2002-09-29 10:23   ` Oliver Scholz
  2002-09-28 21:26 ` Wojtek Walczak
  2 siblings, 2 replies; 7+ messages in thread
From: Kai Großjohann @ 2002-09-28 20:51 UTC (permalink / raw)


gnuist006@hotmail.com (gnuist006) writes:

> Suppose I want to be reminded in emacs or on shell window on a certain day
> two day before and then 1hr before it?

Emacs has a Calendar and a Diary feature, details see the Emacs info
file.

It can remind you some minutes before the appointment, so that can be
changed to 1h I'm sure.  But I don't know about two days earlier,
that might require some hacking.

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

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

* Re: Is there a CALENDER reminder in emacs or a gnu tool or in unix
  2002-09-28 19:06 Is there a CALENDER reminder in emacs or a gnu tool or in unix gnuist006
  2002-09-28 19:34 ` Chris F.A. Johnson
  2002-09-28 20:51 ` Kai Großjohann
@ 2002-09-28 21:26 ` Wojtek Walczak
  2 siblings, 0 replies; 7+ messages in thread
From: Wojtek Walczak @ 2002-09-28 21:26 UTC (permalink / raw)


Dnia 28 Sep 2002 12:06:21 -0700, gnuist006 napisał(a):
> Suppose I want to be reminded in emacs or on shell window on a certain day
> two day before and then 1hr before it?
Maybe it'll help you. It's untested, I wrote it two minutes ago ;)
You need atd and perl. On my system at sends results of its work to
a mailbox, so I'm finding reminding notes on there.
Code is here: <http://hacker.pl/gminick/pliki/reminder.txt>
It asks you about three things:
1) time
2) date
3) task
It calcuates everything by its own.

How does it looks? 
% perl reminder.pl
Hour (hh:mm): 20:30
Date (mm/dd/yy): 12/31/2002
Task: c.u.p meeting!!!
warning: commands will be executed using /bin/sh
job 23 at 2002-12-29 20:30
warning: commands will be executed using /bin/sh
job 24 at 2002-12-31 19:30
% _

Real date of meeting is 20:30, 12/31/2002.
So, as you wanted, you'll be reminded on
20:30, 2002-12-29 -- two days before
and on
19:30, 2002-12-31 -- an hour before

HTH :)

-- 
[ Wojtek gminick Walczak ][ http://gminick.linuxsecurity.pl/ ]
[ gminick (at) hacker.pl ][ gminick (at) underground.org.pl/ ]

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

* Re: Is there a CALENDER reminder in emacs or a gnu tool or in unix
  2002-09-28 20:51 ` Kai Großjohann
@ 2002-09-28 22:28   ` Robert Marshall
  2002-09-29 15:30     ` Kai Großjohann
  2002-09-29 10:23   ` Oliver Scholz
  1 sibling, 1 reply; 7+ messages in thread
From: Robert Marshall @ 2002-09-28 22:28 UTC (permalink / raw)


On Sat, 28 Sep 2002, Kai.Grossjohann@CS.Uni-Dortmund.DE wrote:

> Emacs has a Calendar and a Diary feature, details see the Emacs info
> file.
> 
> It can remind you some minutes before the appointment, so that can
> be changed to 1h I'm sure.  But I don't know about two days earlier,
> that might require some hacking.

C-h v number-of-diary-entries
      appt-message-warning-time

Robert
-- 
To preserve the silence within -- amid all the noise. To
remain open and quiet no matter how many tramp across the
parade ground in whirling dust under an arid sky.
-- Dag Hammarskjold

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

* Re: Is there a CALENDER reminder in emacs or a gnu tool or in unix
  2002-09-28 20:51 ` Kai Großjohann
  2002-09-28 22:28   ` Robert Marshall
@ 2002-09-29 10:23   ` Oliver Scholz
  1 sibling, 0 replies; 7+ messages in thread
From: Oliver Scholz @ 2002-09-29 10:23 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> gnuist006@hotmail.com (gnuist006) writes:
>
>> Suppose I want to be reminded in emacs or on shell window on a certain day
>> two day before and then 1hr before it?
>
> Emacs has a Calendar and a Diary feature, details see the Emacs info
> file.
>
> It can remind you some minutes before the appointment, so that can be
> changed to 1h I'm sure.  But I don't know about two days earlier,
> that might require some hacking.

FWIW, reading the commentary section of planner.el by John Wigley, I
think that this package provides some means to do this. AFAICU you
need a external tool called "remind" and it works together with
calendar and diary.

But I have not installed and tried it myself. (I always wanted to do
it, though ... I think, I need a program that reminds me of such tasks
...)

    -- Oliver

-- 
8 Vendémiaire an 211 de la Révolution
Liberté, Egalité, Fraternité!

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

* Re: Is there a CALENDER reminder in emacs or a gnu tool or in unix
  2002-09-28 22:28   ` Robert Marshall
@ 2002-09-29 15:30     ` Kai Großjohann
  0 siblings, 0 replies; 7+ messages in thread
From: Kai Großjohann @ 2002-09-29 15:30 UTC (permalink / raw)


Robert Marshall <spam@capuchin.co.uk> writes:

> On Sat, 28 Sep 2002, Kai.Grossjohann@CS.Uni-Dortmund.DE wrote:
>
>> Emacs has a Calendar and a Diary feature, details see the Emacs info
>> file.
>> 
>> It can remind you some minutes before the appointment, so that can
>> be changed to 1h I'm sure.  But I don't know about two days earlier,
>> that might require some hacking.
>
> C-h v number-of-diary-entries
>       appt-message-warning-time

Ah, yes.  Maybe it is easiest to just put (diary) in ~/.emacs, then
you see the diary entries.

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

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

end of thread, other threads:[~2002-09-29 15:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-28 19:06 Is there a CALENDER reminder in emacs or a gnu tool or in unix gnuist006
2002-09-28 19:34 ` Chris F.A. Johnson
2002-09-28 20:51 ` Kai Großjohann
2002-09-28 22:28   ` Robert Marshall
2002-09-29 15:30     ` Kai Großjohann
2002-09-29 10:23   ` Oliver Scholz
2002-09-28 21:26 ` Wojtek Walczak

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