From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: Re: enhancements for org-agenda-to-appt Date: Tue, 08 Nov 2011 16:54:39 +0100 Message-ID: <87pqh2boe8.wl%n142857@gmail.com> References: <8739e47v5a.fsf@micropit.couberia.bzh> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNo0j-0007Cq-5Q for emacs-orgmode@gnu.org; Tue, 08 Nov 2011 10:54:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNo0b-00069a-KR for emacs-orgmode@gnu.org; Tue, 08 Nov 2011 10:54:53 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:59981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNo0b-00069J-D0 for emacs-orgmode@gnu.org; Tue, 08 Nov 2011 10:54:45 -0500 Received: by wwe3 with SMTP id 3so727851wwe.30 for ; Tue, 08 Nov 2011 07:54:43 -0800 (PST) In-Reply-To: <8739e47v5a.fsf@micropit.couberia.bzh> 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: Peter =?UTF-8?B?TcO8bnN0ZXI=?= Cc: emacs-orgmode@gnu.org Hi, I would find very useful your improvements to appt. I also think that appt needs to be a bit more intrusive. I once missed an= appointment because appt didn't notify me about it (or notified me but did= n't ask for my acknowledgement). Something I missed was a clear interface which said which notifications w= ere still pending and which were already emitted. With that you would be ce= rtain that in some hours you will get the notifications you expect. Some comments to your ideas: > Here the details, in the order of priority: >=20 > 1.) Warning period should be taken from timestamp > That means, that the warntime must be passed to appt-add. >=20 > 2.) Warning period in hours and minutes > "-3h" for 3 hours or "-10M" for 10 minutes should be possible. >=20 Do you really need to extend the org-mode timestamp format? There may be other ways to do that without extending the org-mode timesta= mp format. Like deciding acording to priority, for instance.: [#A] are to be notifie= d 1 hour before, [#B] 30 minutes before and [#C] 10 minutes But the extended timestamp format would be much more useful. > 3.) Notification must continue when timestamp is past > Perhaps, the notification should be even more aggressive, when a task > is overdue. >=20 I totally agree, as I said. More important than that is that appt should = record whether the user acknowledget the notification or not, and remind hi= m differently. E.g. =E2=80=9Eyou should have finished this a long ago=E2=80= =9C vs. =E2=80=9EI'm tryingi to notify you this since a long ago=E2=80=9C. > 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... ;) >=20 I think you can already do that with =E2=80=9Ebulk scheduling=E2=80=9C fr= om the agenda. Key: m m m B s Doing this from the notification window would to people =E2=80=9Eskipping= =E2=80=9C reminders. (See the program workrave for a similar situation in w= hich you can skip reminders). > 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. >=20 > 6.) Timestamps with hours and minutes > When adding deadlines or schedules, there should be also the time, > not only the date. >=20 How often would you need to synchronize org and appt in order to be so pr= ecise? Should it be automatic? > 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. >=20 I would prefer the window to open an emacsclient window pointing to the t= ask in order to close it myself and write a conclusion, all inside Emacs. > 8.) Configurable notification types > For example: > - email > - notifications-notify > - emacs-window (like the default in appt.el) > - custom function >=20 Suggestion: a variable which maps "some_tags_combination" =E2=86=92 action Then you =E2=80=9Econfigure=E2=80=9C your tasks with tags, and then decid= e on how to notify each type of task. You can use the same task selection syntax as org-agenda-custom-commands,= which allows to search for certain todo states, certain tags and certain p= roperties. I have a todo state for the really important tasks and another one for th= e =E2=80=9Eit would be nice=E2=80=9C tasks; the latter are scheduled but do= n't require notification (I have more than 200 pendings tasks, that would m= ake too many notifications). > 9.) Configurable notification period > How often the notification function must be called (once per day, > once per minute, etc...) >=20 Or even: each time that a task is scheduled or a timestamp is changed in= org. Maybe this slows things down, but it would almoust guarantee real-tim= e synchronization between org and appt > 10.) Configurable notification duration > This applies only for emacs-window and notifications-notify: how > long must the notification be visible. >=20 And ask for acknowledgment! It's also interesting to foresee what will happen when an unacknowledged= notification waits for too long and another one comes up. > 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... >=20 See also program workrave. If you don't follow its advice to take a rest= for a while, it toots a horn which makes you feel somewhat guilty=E2=80=A6 A good feature though. =20 Best of luck, Daniel