Echo AreaJust a blog, ok2012-05-02T19:36:00Ztekutihttp://blog.ryuslash.org/feed/atomTom Willemsenhttp://blog.ryuslash.org/Show identi.ca icon with new dentshttp://blog.ryuslash.org/2012/12/19/show-identica-icon-with-new-dents2012-05-02T19:36:00Z2012-05-02T19:36:00Z

I've written this a while ago after I found out how images can be added to the emacs modeline. I like being notified of things that go on, and new dents is a good example of this, though notify-send and an urgency hint don't always work for that.

This works:

(add-to-list
 'global-mode-string
 '(:eval
   (unless (zerop identica-new-dents-count)
     (propertize " " 'display identica-active-indicator-image))))

This will show an icon in your modeline whenever there are new dents, at this time there dents will not have been loaded into the buffer, so you'll have to refresh it, after which the icon disappears.