From mboxrd@z Thu Jan 1 00:00:00 1970 From: pmlists@free.fr (Peter =?utf-8?Q?M=C3=BCnster?=) Subject: enhancements for org-agenda-to-appt Date: Thu, 03 Nov 2011 22:28:49 +0100 Message-ID: <8739e47v5a.fsf@micropit.couberia.bzh> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM4qP-0006Af-2y for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 17:29:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RM4qN-0004V1-8A for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 17:29:04 -0400 Received: from lo.gmane.org ([80.91.229.12]:57783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM4qM-0004Ui-SG for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 17:29:03 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RM4qL-00065N-A6 for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 22:29:01 +0100 Received: from arennes-359-1-216-137.w2-2.abo.wanadoo.fr ([2.2.79.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Nov 2011 22:29:01 +0100 Received: from pmlists by arennes-359-1-216-137.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Nov 2011 22:29:01 +0100 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: emacs-orgmode@gnu.org Hello, Before enhancing org-agenda-to-appt (and some other parts) to fit my needs, I would like to get some feedback for my ideas: - General opinions about the ideas. - Hints about already existing usable code. - Hints how to implement the ideas with the least effort. The general idea is, to get notified when a task has to be done, without any need to open the agenda. Default settings for the notifications can be overwritten for each task (by settings in the timestamp and/or additional properties). Here the details, in the order of priority: 1.) Warning period should be taken from timestamp That means, that the warntime must be passed to appt-add. 2.) Warning period in hours and minutes "-3h" for 3 hours or "-10M" for 10 minutes should be possible. 3.) Notification must continue when timestamp is past Perhaps, the notification should be even more aggressive, when a task is overdue. 4.) Easy modification of timestamps Often I get notified, that a task has to be done now, but the most obvious and easiest solution for me is: just do it tomorrow! Thus, when point is on a deadline line, M-right should advance the time by 1d, C-right by 1h, or similar. Decrementing with M-left and C-left should be possible too, but will surely be used less often... ;) 5.) org-check-deadlines must consider hours and minutes It should be possible, to show only overdue deadlines, even if they are overdue since 5 minutes. 6.) Timestamps with hours and minutes When adding deadlines or schedules, there should be also the time, not only the date. 7.) Switch from "todo" to "done" by clicking on the notification window When using `notifications-notify' this should be possible with the `:on-action' parameter. 8.) Configurable notification types For example: - email - notifications-notify - emacs-window (like the default in appt.el) - custom function 9.) Configurable notification period How often the notification function must be called (once per day, once per minute, etc...) 10.) Configurable notification duration This applies only for emacs-window and notifications-notify: how long must the notification be visible. 11.) Crescendo notifications Imagine, deadline is in 10 days. So a silent notification once or twice per day, saying it's time to begin to work, could be nice. But when time is getting shorter, only one hour left, bells will ring and the whole screen will blink red and green... TIA for any feedback! -- Peter