unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomi Ollila <tomi.ollila@iki.fi>
To: Bart Bunting <bart@ursys.com.au>, notmuch@notmuchmail.org
Subject: ANNOUNCE: nottoomuch-addresses.pl version 1.3
Date: Mon, 12 Dec 2011 18:05:09 +0200	[thread overview]
Message-ID: <yf6k461n5ca.fsf@taco2.nixu.fi> (raw)
In-Reply-To: <yf639cx5peg.fsf@taco2.nixu.fi>

On Wed, 07 Dec 2011 00:03:19 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
> On Tue, 06 Dec 2011 08:45:49 +1100, Bart Bunting <bart@ursys.com.au> wrote:
> > Hi,

... 

> 
> > The only other idea I have, which is only half formed, is that it would
> > be nice to prioritize emails that are more important than others.
> > 
> > I'm not sure exactly how this would work but something like:
> > - Addresses I have actualy sent email to rather than jjust received from
> > get a high priority in the result.
> > - Addresses that have sent me email directly rather than just to a list
> > get next priority.
> > - All other emails after that.
> > 
> > Also some sort of weighting within the groups to do with frequency of
> > emails sent or something.
> > 
> > Does that make sense?  Would it be hard to implement?
> 
> Neat idea. To implement the feature into program is not too hard. 
> Somehow determine weight for each email address, store that into 
> hash (key address, value weight). 
> Then, when writing addresses file, sort first by weight and then 
> ascii order. The hash is also stored to disk (using tie()) and used 
> when address file updated.
> 
> Now, how to determine good (generic) rules for weights (and maybe
> some user-defined rules as well) is the question.

The latest version (1.3) now stores addresses in 'newest-first'
order to the "address file" -- the fgrep printing matches will
therefore also output the lines in this order.

For me this seems to work pretty nicely.

This version (1.3) relies notmuch show ... to output emails in
this order (which it seems to do now). If this changes I'll 
have to check how to "fix" my implementation...

The program is located at the same address:

http://www.iki.fi/too/nottoomuch/nottoomuch-addresses.sh

sha1sum is f9289ed4bf9034d99e390aaf3d5fcac3d815ea20 and doc page is at
 
http://www.iki.fi/too/nottoomuch/nottoomuch-addresses/


> > Cheers
> > 
> > Bart
> 
> Thanks,
> 
> Tomi

Tomi

  reply	other threads:[~2011-12-12 16:05 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-01 15:36 ANNOUNCE: nottoomuch-addresses.pl Tomi Ollila
2011-12-01 18:38 ` Bart Bunting
2011-12-02  7:37   ` Tomi Ollila
2011-12-05 11:51     ` Tomi Ollila
2011-12-05 12:04       ` Bart Bunting
2011-12-05 12:35         ` Tomi Ollila
2011-12-05 12:55           ` Jameson Graef Rollins
2011-12-05 21:45             ` Bart Bunting
2011-12-06  4:43               ` Bart Bunting
2011-12-06 22:03               ` Tomi Ollila
2011-12-12 16:05                 ` Tomi Ollila [this message]
2011-12-14 20:10                   ` ANNOUNCE: nottoomuch-addresses.pl version 1.4 Tomi Ollila
     [not found]                     ` <20111216130128.E918211BC52@karen.lavabit.com>
2011-12-16 14:18                       ` Tomi Ollila
2011-12-23  9:37                     ` ANNOUNCE: nottoomuch-addresses.sh version 1.5 Tomi Ollila
2011-12-30 16:42                       ` ANNOUNCE: nottoomuch-addresses.sh version 1.6 Tomi Ollila
2012-01-18  7:14 ` ANNOUNCE: nottoomuch-addresses.sh 2.0 Tomi Ollila
2012-02-22 19:53 ` ANNOUNCE: nottoomuch-addresses.sh 2.1 Tomi Ollila
2014-03-29 16:07 ` ANNOUNCE: nottoomuch-addresses.sh 2.2 Tomi Ollila
2014-09-17 19:02 ` ANNOUNCE: nottoomuch-addresses.sh 2.3 Tomi Ollila
2014-09-17 19:14   ` ANNOUNCE: notmuch-abook v1.6 [Was: Re: ANNOUNCE: nottoomuch-addresses.sh 2.3] guyzmo
2014-09-18  6:54     ` Rainer M Krug
     [not found]       ` <20140918085411.GD1079@vilya.online.net>
2014-09-18 10:26         ` Rainer M Krug
2020-10-03 12:07 ` ANNOUNCE: nottoomuch-addresses.sh 2.5 Tomi Ollila

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

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yf6k461n5ca.fsf@taco2.nixu.fi \
    --to=tomi.ollila@iki.fi \
    --cc=bart@ursys.com.au \
    --cc=notmuch@notmuchmail.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.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).