From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Mumi now uses raw emails and Mu Date: Mon, 22 Jul 2019 11:53:11 +0200 Message-ID: <87blxme6pk.fsf@elephly.net> References: <87ef2jdtuc.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51005) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpV0Z-0008HF-D8 for guix-devel@gnu.org; Mon, 22 Jul 2019 05:53:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpV0X-0007Dj-Ap for guix-devel@gnu.org; Mon, 22 Jul 2019 05:53:27 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hpV0T-00079l-Nr for guix-devel@gnu.org; Mon, 22 Jul 2019 05:53:23 -0400 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Jack Hill Cc: guix-devel@gnu.org Hey Jack, >> If you=E2=80=99d like to take part in this effort to make Mumi more usef= ul to >> all of us, please reply to this message. > > I'd like to try to take part. I'm still very much a novice > programmer/Guiler, so I might require a fair amount of hand-holding, > but if others are working on it too, that should be fine. Very nice! I=E2=80=99m working on it too and Arun is the author of Guile E= mail, which does all the heavy lifting of parsing emails, so we=E2=80=99re three already :) Forking Mu requires a rough understanding how it currently works. Obviously, it must parse emails and extract certain headers. We only need it to extract a few more headers such as =E2=80=9CX-Debbugs-Envelope-T= o=E2=80=9D, which contains the Debbugs bug number. (I don=E2=80=99t know if that heade= r is set for *all* emails that end up in the bug tracker, but that=E2=80=99s something we have to figure out.) Mu is written in C and the header extraction probably happens in the C code as well. > With the currently deployed mumi, it looks like my mails in > https://issues.guix.gnu.org/issue/36207 are still mangling the '=E2=80=99' > after Ludo, but in a different way than before. Perhaps this will be a > good place for me to start trying to debug and learning the mail > processing code paths in mumi. Yes, I noticed that too. Previously that was because of how mumi interpreted the response from the SOAP service. We no longer use the SOAP service and instead ask Debbugs for the raw emails, which are then passed to Guile Email=E2=80=99s =E2=80=9Cparse-email=E2=80=9D. So the prob= lem now is in fact in Guile Email. -- Ricardo