Hello list! As some of you know I have written several scripts that aid using notmuch, including an alternative to the notmuch-mutt perl script.
Since Carl Worth consented to include them into official distribution I am now cleaning them up, writing docs and extending it so it covers all features notmuch-mutt currently has. They can currently be obtained by: bzr branch http://webprojekty.cz/ccx/bzr/zmuch Or you can browse the code at: http://webprojekty.cz/ccx/loggerhead/zmuch/files During the process of polishing the scripts I thought about few things that may be interesting to other people integrating notmuch, so let me hear your opinions. :-) $NOTMUCH and proxies: There are applications (whether full-blown interfaces or simple scripts) that use notmuch. There are scrips that work as proxies to actual notmuch, eg. by invoking ssh to a machine where the mails are, or processing the argument list and expanding saved searches. Therefore it would be very practical if the path to actual executable would be configurable. Thus I propose: * Every application that does not act as a proxy should use environment variable NOTMUCH to find the actual notmuch executable. If not defined or empty, just execute 'notmuch' as usual. * Every application that acts as a proxy should ignore the NOTMUCH variable, instead it should be configurable in other way (configuration file or something easily changeable). This way chaining of proxies will be possible. Configuration and temporary files: I like XDG specification. I think it's bit unnecessary to have to have config files that belong only to few scripts littered all around my homedir. Also I think it's reasonable that user would be able to specify where to put the temporary files. That said atm I have ~/.zmuch as the only config file, as it felt bit weird to create new directory for just one file. But as I'm preparing the scripts I see more and more things that are specific to my setup and I would like them to be configurable. These are: * Spam filter. Do you guys use any? What does it's interface look like? I currently use bsfilter which I've found does it's job pretty well. * Colors. I use bright fg on dark bg, but I understand somebody won't be happy with this choice. * New message processing. Currently I check for spam and I mute selected threads. I can see this can be made quite configurable. Maybe create procmail equivalent for notmuch? :-) Thanks for notmuch! I look forward to your responses. Jan Pobrislo (ccxCZ@freenode)
Description: PGP signature
_______________________________________________ notmuch mailing list firstname.lastname@example.org http://notmuchmail.org/mailman/listinfo/notmuch