ANNOUNCE: nottoomuch-addresses.sh 2.3

Tomi Ollila tomi.ollila at iki.fi
Wed Sep 17 12:02:57 PDT 2014


Hello again

I'm pleased to announce new version of my caching address completer 
system for notmuch, version 2.3 (2014-09-17).

You can get it from

https://raw.githubusercontent.com/domo141/nottoomuch/master/nottoomuch-addresses.sh

and a bit more usage documentation at

https://github.com/domo141/nottoomuch/blob/master/nottoomuch-addresses.rst


This new version provides 3 new options for address cache --(re)build
functionality:

--since=YYYY-MM-DD: cache addresses from emails dated since year-mo-dy.

--exclude-path-re=...: directory paths (as regular expressions) to ignore
  when looking for email files.

--name-conversion=lcf2flem: when used email addresses in format
  "Last, First <first.last at example.org>" are converted to 
  "First Last <first.last at example.org>" in case either 'first' or 'last'
  part matches in phrase and address. non-ascii characters are ignored
  in comparison.

It took like an hour to get this 'name conversion' functionality to work,
and it works very well when doing it to my email address list. To figure
out good (or at least tolerable, which it is now ;) option for it was quite
a challenge...

... but that teached me a lot about http://en.wikipedia.org/wiki/Personal_name
in the world (and why everyone would not want to use this feature).

If you are happy with your current nottoomuch address cache this brings
no changes in how search is done and cache updated, but if you find use
for some of the above options then you need to give those with --rebuild
after updating nottoomuch-addresses.sh. You can of course update 
nottoomuch-addresses.sh even you don't need the new features, it will
work fine with older address cache (and will update cache file format
from v4 to v5).

Enjoy,

Tomi


More information about the notmuch mailing list