Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id C0CCF431FAE for ; Wed, 9 Dec 2009 14:21:16 -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 lBBE+B5NhqBq for ; Wed, 9 Dec 2009 14:21:15 -0800 (PST) Received: from flatline.sindominio.net (flatline.sindominio.net [82.144.4.26]) by olra.theworths.org (Postfix) with ESMTP id EEC26431FC2 for ; Wed, 9 Dec 2009 14:21:14 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by flatline.sindominio.net (Postfix) with ESMTP id 03639262A13; Wed, 9 Dec 2009 23:21:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at sindominio.net Received: from flatline.sindominio.net ([127.0.0.1]) by localhost (flatline.sindominio.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g5iQ2el2ODTZ; Wed, 9 Dec 2009 23:21:11 +0100 (CET) Received: from blackspot (heal.cauterized.net [62.101.176.164]) by flatline.sindominio.net (Postfix) with ESMTPA id 35C6F262A19; Wed, 9 Dec 2009 23:21:04 +0100 (CET) Received: by blackspot (Postfix, from userid 1000) id D38BE8BC42; Wed, 9 Dec 2009 23:13:33 +0100 (CET) Date: Wed, 9 Dec 2009 23:13:33 +0100 From: Ruben Pollan To: Carl Worth Message-ID: <20091209221333.GC10685@blackspot> References: <874oo7hex2.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZwgA9U+XZDXt4+m+" Content-Disposition: inline In-Reply-To: <874oo7hex2.fsf@yoom.home.cworth.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Notmuch list Subject: Re: [notmuch] Quick thoughts on a notmuch daemon X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Wed, 09 Dec 2009 22:21:17 -0000 --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14:27, Thu 03 Dec 09, Carl Worth wrote: > A simple solution would be a notmuch daemon that can accept commands on > stdin, (in basically the exact same form as the current notmuch > command-line interface). If the daemon does the job of periodically > incorporating new mail, then the only command necessary to solve (1) > above would be the tag command. I like the idea. I didn't liked to fork for each command, so I started to p= lay with the library for create a UI. But with a demon like that I guess will be nicer to use it than to call directly to the library. Why use stdin? Why not sockets? With them at could be possible to use sever= al=20 concurrent clients with the same server. (I really love moc for play music, and one of its greatest features is that) --=20 Rub=E9n Poll=E1n | jabber:meskio@jabber.org -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D- No vamos a reivindicar nada, no vamos a pedir nada. Tomaremos, okuparemos. --ZwgA9U+XZDXt4+m+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAksgIQ0ACgkQGKOQ92SwNMKWoQCbBex26h21BEv9t9p+KiCaVBY8 D6QAn0udaWdQ3Vv9vg4yxlfO7rctjbMR =g+dU -----END PGP SIGNATURE----- --ZwgA9U+XZDXt4+m+--