Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: daniel.neubacher@xing.com (Daniel Neubacher)
Subject: [sup-talk] safe index in the after-poll.rb ?
Date: Wed, 06 Aug 2008 14:24:01 +0200	[thread overview]
Message-ID: <1218025176-sup-6853@daniel-laptop> (raw)

Hello there,
i've build me a after-poll hook to display the unread mail count in my
window manager:
system ("echo 0 widget_tell mystatusbar mails text
\\|#{num_inbox_total_unread}\\| | awesome-client")

This is working, but only when the index is safed. When i read some
mails and do not safe the index the count doesnt give me the right
amount of unread mails back. So is there a way to save the index
automaticly after polling my mails ?

thanks in advance
Daniel Neubacher


             reply	other threads:[~2008-08-06 12:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-06 12:24 Daniel Neubacher [this message]
2008-08-13  3:22 ` William Morgan

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=1218025176-sup-6853@daniel-laptop \
    --to=daniel.neubacher@xing.com \
    /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