info-gnus-english
[Top][All Lists]
Advanced

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

Re: A Gnus Biff


From: Adam Sjøgren
Subject: Re: A Gnus Biff
Date: Sat, 29 Sep 2012 09:30:23 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

On Fri, 28 Sep 2012 19:06:36 -0400, William wrote:

> I notice also that there's a `gnus-after-getting-new-news-hook' which
> might offer another way of running my function,

This is the one you hook gnus-notifications into, so that sounds
reasonable:

,----[ From gnus-notifications.el¹: ]
| ;;; Commentary:
| 
| ;; This implements notifications using `notifications-notify' on new
| ;; messages received.
| ;; Use (add-hook 'gnus-after-getting-new-news-hook 'gnus-notifications)
| ;; to get notifications just after getting the new news.
`----

:-)


  Best regards,

    Adam


¹ http://git.gnus.org/cgit/gnus.git/tree/lisp/gnus-notifications.el

-- 
 "Hur långt man än har kommit                                 Adam Sjøgren
  Är det alltid längre kvar"                             asjo@koldfront.dk




reply via email to

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