Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: John Sullivan <john@wjsullivan.net>
To: info-gnus-english@gnu.org
Subject: Re: Play sound on new mail
Date: Wed, 10 Feb 2010 12:01:12 -0800	[thread overview]
Message-ID: <878wb097xz.fsf@myles.home.wjsullivan.net> (raw)
In-Reply-To: <87eiktdlr8.fsf@strop.ath.cx>

Joe Galaxy <see@my.sig.invalid> writes:

> On mer 10 feb 2010 18:26, Richard Riley <rileyrgdev@gmail.com> wrote:
>
>> http://gnubiff.sourceforge.net/
> I'll give a try.
>
>> Since you probably manually tell gnus to fetch mail it doesnt seem
>> appropriate that it beeps when it gets mail since you will see it anyway
>> in the Group buffer.
> I've a daemon:
> (gnus-demon-add-handler 'gnus-group-get-new-news 5 nil)

It looks like that runs gnus-after-getting-new-news-hook, so you could
do something with that. I didn't see (looking only quickly) whether
there is a value passed to it based on new news or not though.

Also remember that Emacs has its own "biff" functionality with
display-time-mode, so you might be able to hook into that.

-- 
John Sullivan
Emacs Planner Maintainer
http://wjsullivan.net/PlannerMode.html
GPG Key: AE8600B6

  reply	other threads:[~2010-02-10 20:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 11:16 Joe Galaxy
2010-02-10 17:26 ` Richard Riley
2010-02-10 18:19   ` Thierry Volpiatto
     [not found] ` <mailman.1016.1265823046.14305.info-gnus-english@gnu.org>
2010-02-10 17:49   ` Joe Galaxy
2010-02-10 20:01     ` John Sullivan [this message]
     [not found]     ` <mailman.1020.1265832549.14305.info-gnus-english@gnu.org>
2010-02-11 16:15       ` Joe Galaxy

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=878wb097xz.fsf@myles.home.wjsullivan.net \
    --to=john@wjsullivan.net \
    --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).