Re: [notmuch] Quick thoughts on a notmuch daemon
authorRuben Pollan <meskio@sindominio.net>
Wed, 9 Dec 2009 22:13:33 +0000 (23:13 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:51 +0000 (09:35 -0800)
23/e103b745e8704fbcbe0a2fdfe6c5985885cc19 [new file with mode: 0644]

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