Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] new mail notification hook
@ 2007-05-26  3:31 Brian
  2007-05-27 19:56 ` jeff covey
  2007-08-19  0:30 ` William Morgan
  0 siblings, 2 replies; 8+ messages in thread
From: Brian @ 2007-05-26  3:31 UTC (permalink / raw)


I'd like it if there were a global or per-account setting in config.yaml
specifying a program to run when new mail arrives.

I usually use some OSD stuff like this:
#!/bin/sh
figlet -w 160 -f banner3 'MAIL' | osd_cat \
    -p bottom \
    -A right \
    -d 6 \
    -l 10 \
    -c \#61a199 \
&

So I get a nice big MAIL in my lower right hand corner for a few
seconds.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] new mail notification hook
  2007-05-26  3:31 [sup-talk] new mail notification hook Brian
@ 2007-05-27 19:56 ` jeff covey
  2007-05-28  2:32   ` Brian
  2007-08-19  0:30 ` William Morgan
  1 sibling, 1 reply; 8+ messages in thread
From: jeff covey @ 2007-05-27 19:56 UTC (permalink / raw)


on Fri, May 25, 2007 at 10:31:39PM -0500%, Brian said:

> I'd like it if there were a global or per-account setting in config.yaml
> specifying a program to run when new mail arrives.

is this something that really needs to be in sup?  there are plenty of biff
programs that could do this independently.

-- 
jeff covey
http://jeffcovey.net/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: Digital signature
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070527/6bc771df/attachment.bin 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] new mail notification hook
  2007-05-27 19:56 ` jeff covey
@ 2007-05-28  2:32   ` Brian
  2007-05-28 10:32     ` jeff covey
  0 siblings, 1 reply; 8+ messages in thread
From: Brian @ 2007-05-28  2:32 UTC (permalink / raw)


Excerpts from jeff covey's message of Sun May 27 14:56:10 -0500 2007:
> is this something that really needs to be in sup?  there are plenty of biff
> programs that could do this independently.

Well, I don't know how anything like biff could detect that I have
unread mail in some IMAP folder. All my accounts are IMAP.

It'd just be another YAML option you could leave unset if you didn't
like it.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] new mail notification hook
  2007-05-28  2:32   ` Brian
@ 2007-05-28 10:32     ` jeff covey
  2007-05-28 10:51       ` Brian
  0 siblings, 1 reply; 8+ messages in thread
From: jeff covey @ 2007-05-28 10:32 UTC (permalink / raw)


on Sun, May 27, 2007 at 09:32:36PM -0500%, Brian said:

> I don't know how anything like biff could detect that I have unread mail
> in some IMAP folder. 

http://www.google.com/search?&q=imap%20biff

http://www.linuxlinks.com/Software/Internet/Mail/Notification/
, in particular, links to 14 biff programs with imap support.

sincerely,

-- 
jeff covey
http://jeffcovey.net/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: Digital signature
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070528/5fd86154/attachment.bin 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] new mail notification hook
  2007-05-28 10:32     ` jeff covey
@ 2007-05-28 10:51       ` Brian
  2007-05-30  7:11         ` William Morgan
  0 siblings, 1 reply; 8+ messages in thread
From: Brian @ 2007-05-28 10:51 UTC (permalink / raw)


Excerpts from jeff covey's message of Mon May 28 05:32:00 -0500 2007:
> on Sun, May 27, 2007 at 09:32:36PM -0500%, Brian said:
> 
> > I don't know how anything like biff could detect that I have unread mail
> > in some IMAP folder. 
> 
> http://www.google.com/search?&q=imap%20biff
> 
> http://www.linuxlinks.com/Software/Internet/Mail/Notification/
> , in particular, links to 14 biff programs with imap support.

I didn't defend my feature request very well. Yeah, some other program
could also poll all my sources. But then half the time I'd get the
notification and then be looking at a sup with no new mail, because *it*
hadn't gotten around to polling and seeing the new mail yet.

I'm a minimalist and hate bloat. This feature request is like maybe 5
extra lines. This exact feature has been useful in other MUAs like
Sylpheed and Claws. It would be easy to ignore. It wouldn't slow down
anything by any meaningful amount.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] new mail notification hook
  2007-05-28 10:51       ` Brian
@ 2007-05-30  7:11         ` William Morgan
  2007-05-30  7:27           ` Brian
  0 siblings, 1 reply; 8+ messages in thread
From: William Morgan @ 2007-05-30  7:11 UTC (permalink / raw)


Excerpts from Brian's message of Mon May 28 03:51:35 -0700 2007:
> I'm a minimalist and hate bloat. This feature request is like maybe 5
> extra lines. This exact feature has been useful in other MUAs like
> Sylpheed and Claws. It would be easy to ignore. It wouldn't slow down
> anything by any meaningful amount.

I've been thinking about writing a (simple) general framework for
hooking user-written Ruby code onto Sup events. You could then trivially
use that to accomplish this by calling system(...). What do you think?

-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] new mail notification hook
  2007-05-30  7:11         ` William Morgan
@ 2007-05-30  7:27           ` Brian
  0 siblings, 0 replies; 8+ messages in thread
From: Brian @ 2007-05-30  7:27 UTC (permalink / raw)


Excerpts from William Morgan's message of Wed May 30 02:11:59 -0500 2007:
> I've been thinking about writing a (simple) general framework for
> hooking user-written Ruby code onto Sup events. You could then trivially
> use that to accomplish this by calling system(...). What do you think?

That'd be great.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] new mail notification hook
  2007-05-26  3:31 [sup-talk] new mail notification hook Brian
  2007-05-27 19:56 ` jeff covey
@ 2007-08-19  0:30 ` William Morgan
  1 sibling, 0 replies; 8+ messages in thread
From: William Morgan @ 2007-08-19  0:30 UTC (permalink / raw)


Excerpts from brian's message of Fri May 25 20:31:39 -0700 2007:
> I'd like it if there were a global or per-account setting in
> config.yaml specifying a program to run when new mail arrives.

The same changeset I'm about to commit also will make this possible. Go
me.

-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-08-19  0:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-26  3:31 [sup-talk] new mail notification hook Brian
2007-05-27 19:56 ` jeff covey
2007-05-28  2:32   ` Brian
2007-05-28 10:32     ` jeff covey
2007-05-28 10:51       ` Brian
2007-05-30  7:11         ` William Morgan
2007-05-30  7:27           ` Brian
2007-08-19  0:30 ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox