From mboxrd@z Thu Jan  1 00:00:00 1970
From: Arun Isaac <arunisaac@systemreboot.net>
To: Jack Hill <jackhill@jackhill.us>, Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org, guile-email@systemreboot.net
Subject: Re: Mumi now uses raw emails and Mu
In-Reply-To: <alpine.DEB.2.20.1907212035220.9756@marsh.hcoop.net>
References: <87ef2jdtuc.fsf@elephly.net> <alpine.DEB.2.20.1907212035220.9756@marsh.hcoop.net>
Date: Mon, 22 Jul 2019 23:24:20 +0530
Message-ID: <cu7blxmez03.fsf@systemreboot.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha256; protocol="application/pgp-signature"
List-Id: <guile-email.systemreboot.net>
Message-ID: <20190722175420.Tu7s9_XWBu2ftUjrnq95UmoN5xXp3FZYnGc8bGf7czU@z>

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


> 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=20
> Ludo, but in a different way than before.

Like Ricardo said, this is indeed a bug in guile-email, the same bug you
reported earlier, in fact. I haven't fixed it yet, but I'm working on
it. The fix is a little more involved than I expected. Currently,
guile-email takes the entire email as a string, parses it and returns
the results. This constrains all characters in the email to have the
same encoding (specifically the charset in email terminology). But, an
email can have characters of different encodings. Therefore it must be
treated as a string of bytes not a string of characters.

> place for me to start trying to debug and learning the mail processing=20
> code paths in mumi.

Parsing the email is done by guile-email. I only have a little
documentation at this point (you can find it at
https://guile-email.systemreboot.net/manual). So, you'll mostly have to
read the source code. There is a mailing list at
guile-email@systemreboot.net. Feel free to post any guile-email bugs or
questions to that list.

https://lists.systemreboot.net/listinfo/guile-email

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl01+FUACgkQLiXui2GA
K7NNBQf/Rpftv6dClQAhaHBYmjtjDoEPGeRBb515NE0iU79sWO6XYPibxQ5N0w1y
XFIrCzRyojvKPfwrWDjX0YNo/+bzfLsF4iHlL3zR9WkHdlGzGuzljPRz3Hx9T9It
SKwjozvsHpyMtK+hj+ZnCF2Bx4rTrbnpOFEoAzwqiNSl4Y/B+2kwxHrwhWLr+gth
54tHHU1alQ4CRBLwap0tw0Dp7ii+zQTPgBB6ogd0jgqtAUYqngFpLSsNUhVSS2T0
gU/tRkybV2f+pJvYurk46SCl7hWga3amjIX24+9W/c0aSXafBsYxTRGcJC6e7jcV
KrNpaWki+NbwqpJO78SR2y43T5Pkgw==
=UB8q
-----END PGP SIGNATURE-----
--=-=-=--