From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: implement appt warntime Date: Wed, 01 Aug 2012 16:10:33 +0200 Message-ID: <87boiuog86.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwZcg-00075l-Jz for emacs-orgmode@gnu.org; Wed, 01 Aug 2012 10:10:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwZcc-0006pm-37 for emacs-orgmode@gnu.org; Wed, 01 Aug 2012 10:10:02 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:52766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwZcb-0006pF-QE for emacs-orgmode@gnu.org; Wed, 01 Aug 2012 10:09:58 -0400 Received: by wibhm2 with SMTP id hm2so4133262wib.0 for ; Wed, 01 Aug 2012 07:09:57 -0700 (PDT) In-Reply-To: (Ivan Kanis's message of "Mon, 16 Jul 2012 12:46:36 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ivan Kanis Cc: org mode Hi Ivan, Ivan Kanis writes: > I had a look at org-notify.el. It's over engineered for my need. If you > recall I submitted a patch that added warntime on the header. It's not > pretty but it works for me. > > I could use properties instead. For example: > > ** an appointment with a reminder 5 minutes before 10:00 > SCHEDULED: <2012-07-16 Mon 10:00> > :PROPERTIES: > :WARNTIME: 5 > :END: I've implemented something along this idea, using APPT_WARNTIME instead to make sure this is only useful when adding the entry to the list of apptointment with `appt-add'. Also, "W" is a new speedy command to insert this property quickly. Please test and report any problem. Note that Emacs >=23.3 is needed for this to work properly. Thanks for this idea! -- Bastien