Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: info-gnus-english@gnu.org
Subject: Re: A Gnus Biff
Date: Sat, 29 Sep 2012 09:30:23 +0200	[thread overview]
Message-ID: <87lifts2uo.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <87wqzdzr0j.fsf@gmail.com>

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	other threads:[~2012-09-29  7:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28 21:58 William Gardella
2012-09-28 23:06 ` William Gardella
2012-09-29  7:30   ` Adam Sjøgren [this message]
     [not found] <mailman.9955.1348869546.855.info-gnus-english@gnu.org>
2012-09-29  4:13 ` Ben Kibbey
2012-12-24 16:33 ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=87lifts2uo.fsf@topper.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=info-gnus-english@gnu.org \
    /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.
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 NNTP newsgroup(s).