unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Notmuch scripts
@ 2011-06-24 11:28 ccx
  2011-06-24 18:29 ` Carl Worth
  2011-07-10 13:47 ` David Bremner
  0 siblings, 2 replies; 7+ messages in thread
From: ccx @ 2011-06-24 11:28 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 2549 bytes --]

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)

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2011-07-10 13:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-24 11:28 Notmuch scripts ccx
2011-06-24 18:29 ` Carl Worth
2011-06-25  9:32   ` ccx
2011-06-28  1:31   ` Ben Gamari
2011-06-28  8:36     ` Pieter Praet
2011-06-28 13:44       ` Ben Gamari
2011-07-10 13:47 ` David Bremner

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