Gnus development mailing list
 help / color / mirror / Atom feed
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Subject: Re: The little yellow envelope on the status bar with nnimap
Date: 14 Dec 1999 11:02:26 +0100	[thread overview]
Message-ID: <byyaaxhmbx.fsf@bolzano.math.ethz.ch> (raw)
In-Reply-To: David Maslen's message of "Tue, 14 Dec 1999 07:16:08 GMT"

David Maslen <david.maslen@iname.com> writes:

> > display-time-mail-* from time.el
> 
> Thank you for that. Unfortunately it didn't get me anywhere. There
> isn't much point checking if a file exists under nnimap, as it
> probably does regardless of whether you have any new messages.

It is missing the proper hooks, however as this free software this can
be fixed

Rewrite the above code to call a members of say
'new-mail-check-functions' using run-hook-with-args-until-success.
Wrap the old check code in a

(defun new-mail-in-spool-file-p ()
)

and stick that in the hook. This should mostly a cut and paste job.

Submit that patch. Then go off and write new-mail-in-imap-p..

Jan



      reply	other threads:[~1999-12-14 10:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-13  7:41 David Maslen
1999-12-13 10:00 ` Jan Vroonhof
1999-12-14  7:15   ` David Maslen
1999-12-14 10:02     ` Jan Vroonhof [this message]

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=byyaaxhmbx.fsf@bolzano.math.ethz.ch \
    --to=vroonhof@math.ethz.ch \
    /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).