From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id BAF9F431FBF for ; Thu, 7 Jan 2010 18:56:28 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SD28YUsZwvRv for ; Thu, 7 Jan 2010 18:56:28 -0800 (PST) Received: from clegg.madduck.net (clegg.madduck.net [193.242.105.96]) by olra.theworths.org (Postfix) with ESMTP id BE918431FAE for ; Thu, 7 Jan 2010 18:56:27 -0800 (PST) Received: from lapse.rw.madduck.net (lapse.nz.madduck.net [IPv6:2001:4428:234::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lapse.rw.madduck.net", Issuer "CAcert Class 3 Root" (verified OK)) by clegg.madduck.net (postfix) with ESMTPS id 8A2E01D4097 for ; Fri, 8 Jan 2010 03:56:23 +0100 (CET) Received: by lapse.rw.madduck.net (Postfix, from userid 1000) id 9E425809C; Fri, 8 Jan 2010 15:56:20 +1300 (NZDT) Date: Fri, 8 Jan 2010 15:56:20 +1300 From: martin f krafft To: notmuch@notmuchmail.org Message-ID: <20100108025620.GB28357@lapse.rw.madduck.net> Mail-Followup-To: notmuch@notmuchmail.org References: <874oo7hex2.fsf@yoom.home.cworth.org> <87y6lewqtw.fsf@convex-new.cs.unb.ca> <87638i75sz.fsf@home.veldthuis.com> <1260227209-sup-184@riseup.net> <874oo22blf.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="dTy3Mrz/UPE2dbVg" Content-Disposition: inline In-Reply-To: <874oo22blf.fsf@yoom.home.cworth.org> X-Motto: Keep the good times rollin' X-OS: Debian GNU/Linux squeeze/sid kernel 2.6.32-trunk-686 i686 X-Spamtrap: madduck.bogus@madduck.net X-Subliminal-Message: debian/rules! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at clegg X-Virus-Status: Clean Subject: Re: Quick thoughts on a notmuch daemon X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 02:56:28 -0000 --dTy3Mrz/UPE2dbVg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Carl Worth [2009.12.08.2001 +1300]: > One concept in notmuch (compared to sup) is to (eventually) avoid people > having to go through that pain by their current mail client becoming > "notmuch enabled". For me, I had always liked composing email in emacs, > so I just have to add notmuch support to the existing emacs > message-mode. >=20 > Hopefully people working on other email interfaces will do similar > things, (would be great to have Anjal and Thunderbird get some notmuch > support for example). >=20 > I definitely didn't like that with sup, to get all the global-search and > tagging features one had to accept the curses UI as well. I am a bit late to the party, but re: this thread [0], I would suggest to go the way of a fuse filesystem. That's effectively a daemon, but one which also bridges a chasm between notmuch and all kinds of existing mail tools, including IMAP servers, by way of the standard filesystem interface. 0. http://notmuchmail.org/pipermail/notmuch/2009/000782.html I don't want to harp on this too much right now for I have not yet fully understood notmuch, but the basic idea would be that you'd have ~/mail provided by notmuch-fuse-daemon, and there'd be a tool like notmuch-fuse-cli with which you can add virtual folders, e.g. notmuch-fuse-cli new debianmail 'from:debian OR to:debian' and that would create ~/mail/debianmail with mode 555 (since you cannot write the results of a search) containing a Maildir with all messages matching the query. The benefit of this would be that I could use mutt, evolution, or an IMAP server, or vi and shell tools to manipulate my mail without any modifications to those tools. There could be a separate hierarchy for tags, e.g. ~/mail/TAGS/foo and ~/mail/TAGS/bar/baz matching on explicit tags (and maybe ~/mail/TAGS/notmuch with mode 555 for implicit tags). Writing mail to those directories effectively adds tags, unlinking removes them. ~/mail/TAGS/UNTAGGED holds untagged mail for easier reference. In addition to all of this, fuse could be used to index new messages directly as they are delivered into ~/mail, rather than running 'notmuch new' regularly. These ideas are not new, and I've written about them before: http://madduck.net/blog/2007.07.24:a-user-space-filesystem-for-mail-labelin= g/ notmuch seems an excellent base for implementing such a filesystem. I will try to make time before LCA to get up to speed on fuse, then maybe Carl and Micah and I (and whoever else will be in Wellington) can hack this up in a few hours and over a few beers. If this resonates, or you want to work on this too, let's hear from you! --=20 martin | http://madduck.net/ | http://two.sentenc.es/ =20 "no problem is so formidable that you can't just walk away from it." -- c. schulz =20 spamtraps: madduck.bogus@madduck.net --dTy3Mrz/UPE2dbVg Content-Type: application/pgp-signature; name="digital_signature_gpg.asc" Content-Description: Digital signature (see http://martin-krafft.net/gpg/) Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEAREDAAYFAktGntQACgkQIgvIgzMMSnVVzgCg2xzoz6jeEw6T4H+4k+rhqwFi UqgAoMikAqZONfKwf/fYGJEWLusqlzrF =ksB5 -----END PGP SIGNATURE----- --dTy3Mrz/UPE2dbVg--