emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: "Peter Münster" <pmlists@free.fr>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: notifications for todo items
Date: Fri, 24 Feb 2012 19:08:55 -0500	[thread overview]
Message-ID: <12871.1330128535@alphaville> (raw)
In-Reply-To: Message from Peter Münster <pmlists@free.fr> of "Thu, 23 Feb 2012 09:36:49 +0100." <87vcmyvtcu.fsf@micropit.couberia.bzh>

=?utf-8?Q?Peter_M=C3=BCnster?= <pmlists@free.fr> wrote:

> On Thu, Feb 23 2012, Nick Dokos wrote:
> 
> > what does this do that appt.el (and its org interface) does not?
> 
> Sorry, I've totally forgotten to write about my motivation, to create
> such an org-notify module.
> 
> Here a summary:
> - different warning periods for different todo-types
> - fine grained warning periods (smallest unit is second)
> - continue notifications, when deadline is overdue
> - easy modification of timestamps (just one click, to say
>   "let's do it tomorrow")
> - switch from "todo" to "done" by clicking on the notification window
> - configurable notification types (email, notifications-notify, beep,
>   etc.)
> - configurable notification period
> - configurable notification duration
> - crescendo notifications (be more aggressive, when time gets closer to
>   deadline)
> 
> There was a little thread about this subject:
> http://thread.gmane.org/gmane.emacs.orgmode/48832
> 
> 
> Example usage:
>   (org-notify-add 'appt
>                   '(:time "-1s" :period "20s" :duration 10
>                     :actions (org-notify-action-message
>                               org-notify-action-ding))
>                   '(:time "15m" :period "2m" :duration 100
>                     :actions org-notify-action-notify)
>                   '(:time "2h" :period "5m"
>                     :actions org-notify-action-message)
>                   '(:time "1d" :actions org-notify-action-email))
> 
> This means for todo-items with `notify' property set to `appt': 1 day before
> deadline, send a reminder-email, 2 hours before deadline, start to send
> messages every 5 minutes, then, 15 minutes before deadline, start to pop up
> notification windows every 2 minutes. The timeout of the window is set to
> 100 seconds. Finally, when deadline is overdue, send messages and make
> noise.
> 

A quick first impression: orgntf-process seems expensive. It seems
to take 100% of one core (I've got a quad-core processor) for three or
four seconds every fifty seconds. Unfortunately, the core is the same one
that's running emacs, so emacs stops responding for those three or four
seconds. I have disabled org-notify for now.

Nick

  parent reply	other threads:[~2012-02-25  0:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-22 23:38 notifications for todo items Peter Münster
2012-02-23  1:28 ` Nick Dokos
2012-02-23  8:36   ` Peter Münster
2012-02-23  9:06     ` Nick Dokos
2012-02-25  0:08     ` Nick Dokos [this message]
2012-02-26  0:09       ` Peter Münster
2012-02-26  2:45         ` Nick Dokos
2012-02-26  5:04         ` Nick Dokos
2012-02-26 14:06           ` optimisation of org-notify (was: notifications for todo items) Peter Münster
2012-03-04 23:37             ` optimisation of org-notify Peter Münster
2012-02-26  9:33         ` notifications for todo items Nicolas Goaziou
2012-02-26 14:07           ` Peter Münster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12871.1330128535@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pmlists@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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