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 B729E431FD0 for ; Tue, 21 Jun 2011 10:17:02 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.798 X-Spam-Level: X-Spam-Status: No, score=-0.798 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled 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 6axHUJ0P5Nqz for ; Tue, 21 Jun 2011 10:17:01 -0700 (PDT) Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 457F8431FB6 for ; Tue, 21 Jun 2011 10:17:01 -0700 (PDT) Received: by pwi16 with SMTP id 16so80377pwi.26 for ; Tue, 21 Jun 2011 10:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=lENrCfNBi4RkFU+xl1tDQ1hzhJexU6R3M1n2k9H28Bc=; b=UbjpLapSMbpZOcirTH/suUDntlHDnhGDURlWu8iGyGgHRUgli82T16o0kWg3eIt1Jy XWG5Kf3WOnVfgtiQWy5ldex1HPDfmXXZR0i0PxHU+RqfDftscRvWcw5m/TPZV1ipx83U sWRJvksOkBCbZSMbVqJqLewypQ6pbxDaOaBA0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=lsTEJCmAxr4RXvZCRVcmMBGOUCU12j5fJ2na+gUhdHTTpFD28UTpqzC4w36B/vixMo 6Nlz/+ZyIXbmS8DXHtp5tOVpPjH4xRF2b3ixzEyebFu7pD91zNMaSfLFxAr/dFJuwrpI LHnbs5xaGrsS/uRvRUf0bTY9vppkHmXTDZqBo= Received: by 10.68.17.99 with SMTP id n3mr3168825pbd.351.1308676620121; Tue, 21 Jun 2011 10:17:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.51.170 with HTTP; Tue, 21 Jun 2011 10:16:45 -0700 (PDT) In-Reply-To: <1308520505-sup-4762@masanjin.net> References: <1308520505-sup-4762@masanjin.net> From: Vivien Didelot Date: Tue, 21 Jun 2011 13:16:45 -0400 Message-ID: Subject: Re: Turn Turnsole into a generic mail client To: William Morgan Content-Type: multipart/alternative; boundary=bcaec52161f11176fb04a63c05b9 Cc: notmuch , Sup developer discussion 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: Tue, 21 Jun 2011 17:17:02 -0000 --bcaec52161f11176fb04a63c05b9 Content-Type: text/plain; charset=ISO-8859-1 Hi William, I'm not suggesting to make Heliotrope supports several clients (what it already does via provinding JSON), I'm suggesting the make the Turnsole interface modulable to several mail sources. And its default and official one will be the Heliotrope client for sure. I hope it is clearer. On Sun, Jun 19, 2011 at 6:01 PM, William Morgan wrote: > Hi Vivien, > > Reformatted excerpts from Vivien Didelot's message of 2011-06-19: > > As Turnsole is a great mail interface, I was thinking about having it > > generic to multiple servers or mail sources, to fit many use cases. > > > > Explicitely, the Turnsole::Client class ( > > https://github.com/wmorgan/turnsole/blob/master/lib/turnsole/client.rb) > > could be turned into a Turnsole::Client module instead, > > The server portion of turnsole, heliotrope, is explicitly designed to > support multiple clients and provides a JSON-over-HTTP interface for > that purpose. > > The specifics of the protocol are still subject to change, but see e.g. > https://github.com/wmorgan/heliotrope/blob/master/lib/heliotrope-client.rb > for the ruby client that turnsole uses to communicate with the server. > -- > William > -- Vivien Didelot, vivien.didelot.org --bcaec52161f11176fb04a63c05b9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi William,

I'm not suggesting to make Heliotrope supports sever= al clients (what it already does via=A0 provinding JSON),
I'm sugges= ting the make the Turnsole interface modulable to several mail sources.
And its default and official one will be the Heliotrope client for sure.
I hope it is clearer.

On Sun, Jun 19= , 2011 at 6:01 PM, William Morgan <wmorgan-sup@masanjin.net> wrote:
Hi Vivien,

Reformatted excerpts from Vivien Didelot's message of 2011-06-19:
> As Turnsole is a great mail interface, I was thinkin= g about having it
> generic to multiple servers or mail sources, to fit many use cases. >
> Explicitely, the Turnsole::Client class (
> https://github.com/wmorgan/turnsole/blob/mas= ter/lib/turnsole/client.rb)
> could be turned into a Turnsole::Client module instead,

The server portion of turnsole, heliotrope, is explicitly designed to=
support multiple clients and provides a JSON-over-HTTP interface for
that purpose.

The specifics of the protocol are still subject to change, but see e.g.
https://github.com/wmorgan/heliotrope/blob/ma= ster/lib/heliotrope-client.rb
for the ruby client that turnsole uses to communicate with the server.
--
William <wmorgan-sup@masanji= n.net>



--
Vivien Didelot,<= br>vivien.didelot.o= rg
--bcaec52161f11176fb04a63c05b9--