emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] notify, when something to do


From: Tassilo Horn
Subject: Re: [O] notify, when something to do
Date: Sun, 23 Oct 2011 18:30:20 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

Tassilo Horn <address@hidden> writes:

> (defvar th-notify-title-to-id-map (make-hash-table :test 'string=)
>   "Maps TITLE values of notifications to the last notification ID.
> If ID is -1, then any further notifications with that body will
> be skipped.")
>
> (defun th-notify (&rest args)
>   "Create a notification popup.
> For ARGS, see `notifications-notify'.
> There's some new default behavior over the function above:
>
>   - Notifications with same :body replace each other.  :body,
>     because my notifications are usually something like
>
>       :title \"Meeting with Hugo\"
>       :body \"In 15 Minutes\"
>
>     where each minute a similar notification with decreasing
>     minutes in the :body is triggered.

This comment is obviously outdated.  The notifications with equal :title
now replace each other.

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]