notify.el — pop-up notifications from emacs using dbus

Jan 5, 2009

Since emacs on Linux can use DBus calls now, I wrote a short notify.el as a demonstration to myself and to save myself from forking notify-send (because, uh, forking is bad) whenever someone mentions my nick in IRC. There is a delay built into it so that your “friends” on IRC can’t DDOS you with notifications. Oh, the really nifty thing about this is the function keywords-to-properties. elisp keywords (:example) allow you to fake named parameters in function calls. This is done a couple of different places in Emacs, the most visible being defcustom. But there isn’t any universal way that I could find to parse the keyword-value pairs into something usable. So I cribbed from defcustom and wrote something that I hope will be useful to others.

Posted by | Categories: Uncategorized | Tagged: |

3 Responses so far | Have Your Say!

  1. Anonymous
    January 7th, 2009 at 2:25 am #

    Nice! This should serve as a good example for other DBus code as well. Thanks.

  2. Anonymous
    September 18th, 2009 at 8:59 am #

    Agree

    I completely agree.

  3. Anonymous
    September 28th, 2010 at 4:45 am #

    Thanks for the update. Glad you’re doing well enough to be be bugged by the supervision.

Leave a Feedback

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>