9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] more fun with faces
@ 2003-09-03  1:32 matt
  2003-09-02 20:49 ` boyd, rounin
  2003-09-02 20:56 ` boyd, rounin
  0 siblings, 2 replies; 7+ messages in thread
From: matt @ 2003-09-03  1:32 UTC (permalink / raw)
  To: 9fans

forgot to mention that I invoke it from /mail/box/$USER/pipeto


/usr/matt/bin/rc/face_from_pattern_match
$BIN/deliver $RECIP $D/from $MBOX < $D/raw


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [9fans] more fun with faces
@ 2003-09-03  1:26 matt
  0 siblings, 0 replies; 7+ messages in thread
From: matt @ 2003-09-03  1:26 UTC (permalink / raw)
  To: 9fans

Here's the reason why I was playing with faces.

http://www.proweb.co.uk/~matt/plan9/usr/matt/bin/rc/face_from_pattern_match

I get plenty of mail from mailing lists and having the flag of origin doesn't provide many visual clues as to the content.

What this script does is grep the rawheaders for patterns in /usr/$USER/lib/face/auto_create_patterns and puts an entry in /usr/$USER/lib/face/48x48x1/.dict but with the face specified in the auto_create_patterns

by example :
auto_create_patterns contains (tab separated)

List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu>	lists/plan9.9fans.1

So when an email comes in with that List-Id if the sender isn't already in the existing .dict files the sender is added. i.e.

globemedia.net/clark.kent lists/plan9.9fans.1


The main flaw in it is if a new person posted to inferno@topica.com before 9fans then I'd have all their posts from then on marked as inferno posts

my idea is to regularly delete 48x48x1/*

I've been running it for half an hour


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

end of thread, other threads:[~2003-09-03 13:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-03  1:32 [9fans] more fun with faces matt
2003-09-02 20:49 ` boyd, rounin
2003-09-03  2:13   ` matt
2003-09-02 21:40     ` boyd, rounin
2003-09-03 13:37       ` matt
2003-09-02 20:56 ` boyd, rounin
  -- strict thread matches above, loose matches on Subject: below --
2003-09-03  1:26 matt

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).