From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: [appt] allow specifying warning time in diary Date: Fri, 10 Sep 2010 12:11:04 +0100 Message-ID: References: <87vd6fe1qt.fsf@rimspace.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284117098 3426 80.91.229.12 (10 Sep 2010 11:11:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 11:11:38 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 10 13:11:38 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou1W0-0003Hy-H7 for ged-emacs-devel@m.gmane.org; Fri, 10 Sep 2010 13:11:32 +0200 Original-Received: from localhost ([127.0.0.1]:36061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou1Vz-0001ac-SF for ged-emacs-devel@m.gmane.org; Fri, 10 Sep 2010 07:11:31 -0400 Original-Received: from [140.186.70.92] (port=46208 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou1Vq-0001aR-7E for emacs-devel@gnu.org; Fri, 10 Sep 2010 07:11:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ou1Vo-0008BA-Mg for emacs-devel@gnu.org; Fri, 10 Sep 2010 07:11:22 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:39189) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou1Vo-0008AZ-CP for emacs-devel@gnu.org; Fri, 10 Sep 2010 07:11:20 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ou1Vi-00037c-RL for emacs-devel@gnu.org; Fri, 10 Sep 2010 13:11:14 +0200 Original-Received: from cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com ([86.9.122.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Sep 2010 13:11:14 +0200 Original-Received: from sdl.web by cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Sep 2010 13:11:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4) Cancel-Lock: sha1:JxGynm8I/OAzV0EpuLqfbEj+j0s= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129882 Archived-At: On 2010-09-09 09:54 +0100, Daniel Pittman wrote: >> +Optionally you can specify a warning time (in minutes) for an >> +entry following the time, for example: >> + >> + Thursday >> + 11:45am #20 Lunch meeting. >> + > > I just caught up on this; wouldn't it be nicer to either use a real > time value (#:20, allowing for #1:00 or #1:20), or postfix that with > the units, rather than just assume minutes? > > Otherwise my standard set of reminders for events would be: > > Thursday > 11:45AM #180 #60 #15 I /am/ rather forgetful and love reminders. > > Regards, > Daniel The syntax can be changed without too much effort. I wonder if supporting a set of reminders (warning times) is a welcomed feature. I am thinking something like this. The last element in appt-time-msg-list, the warning time, can take a list of times and for each but the last value in that list, it will warn for a duration (say 15 minutes). For my personal use single warning time is enough. My patch is to address the issue that setting a good default value for appt-message-warning-time is impossible. Leo