Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: whodevil <whodevil-suptalk@offthecob.info>
To: sup-talk <sup-talk@rubyforge.org>
Subject: [sup-talk] after-poll.rb variables
Date: Sun, 13 Feb 2011 17:24:50 -0800	[thread overview]
Message-ID: <1297646180-sup-4406@mail.offthecob.info> (raw)

I'm trying to write a hook that will update the status bar 
of my screen session with the number of unread emails in my 
inbox. I've worked out the logistics on how to get this into 
the status bar. My issue is that when the hook executes, 
num_inbox only returns the number of new messages it found 
during that poll period. While this can be useful, it doesn't 
fit my need. I'm wondering if someone know if there is a way 
to get the total unread messages in the inbox from within the 
after-poll hook?

Thanks,
Whodevil
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


             reply	other threads:[~2011-02-14  1:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-14  1:24 whodevil [this message]
2011-02-14  2:08 ` Rich Lane
2011-02-14 13:31   ` Philippe LeCavalier

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=1297646180-sup-4406@mail.offthecob.info \
    --to=whodevil-suptalk@offthecob.info \
    --cc=sup-talk@rubyforge.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