From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.systemreboot.net (mugam.systemreboot.net [139.59.75.54]) by localhost (mpop-1.4.4) with POP3 for ; Tue, 23 Jul 2019 01:26:33 +0530 Return-path: Envelope-to: arunisaac@systemreboot.net Delivery-date: Tue, 23 Jul 2019 00:30:37 +0530 Received: from localhost.localdomain ([127.0.0.1] helo=[192.168.2.12]) by systemreboot.net with esmtp (Exim 4.92) (envelope-from ) id 1hpdY3-0000AC-NZ for arunisaac@systemreboot.net; Tue, 23 Jul 2019 00:30:36 +0530 Received: from [49.206.11.84] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hpcW5-0000Ih-7k; Mon, 22 Jul 2019 23:24:29 +0530 From: Arun Isaac To: Jack Hill , Ricardo Wurmus In-Reply-To: References: <87ef2jdtuc.fsf@elephly.net> Date: Mon, 22 Jul 2019 23:24:20 +0530 Message-ID: MIME-Version: 1.0 Subject: Re: [guile-email] Mumi now uses raw emails and Mu X-BeenThere: guile-email@systemreboot.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: guile-email discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, guile-email@systemreboot.net Content-Type: multipart/mixed; boundary="===============0569743784403054163==" Errors-To: guile-email-bounces@systemreboot.net --===============0569743784403054163== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= 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+EwACgkQLiXui2GA K7PdrQf9GB2YfpQRk5kCazPFiFfPcgM/Knf9MiMejBc3AAIUR7bm4lVRawxfw/yz ZLIE5fzLCSZhwTSk/gh/Z68mjLYwwnc1Jqjcc+JKtLqdiH8KzO9fAMhdDaGsy07O qBR9e6iHjQpfhXtow2B/kyickyxFIuwpLMyvH7m8fJXR2ewzQpa2fGBRxEztFLbY PM72iTekVONX691TxA/c8t9HdqV33EPuHbti1tuAs1AoJ83svHevsLi4D8PKFSAa 7Q+BBONxnXu9mU2Y82jgj0k1e9u1dpXuRETUwCcBix+KDPglPQQ6XzFO1nPyBENe P6WyDeubZdiVoYMfPySrfacHFcsx8A== =AK1X -----END PGP SIGNATURE----- --=-=-=-- --===============0569743784403054163== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- guile-email mailing list guile-email@systemreboot.net https://lists.systemreboot.net/listinfo/guile-email --===============0569743784403054163==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.systemreboot.net (mugam.systemreboot.net [139.59.75.54]) by localhost (mpop-1.4.4) with POP3 for ; Mon, 22 Jul 2019 23:27:35 +0530 Return-path: Envelope-to: arunisaac@systemreboot.net Delivery-date: Mon, 22 Jul 2019 23:24:46 +0530 Received: from [209.51.188.17] (helo=lists.gnu.org) by systemreboot.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hpcWL-0000It-EI for arunisaac@systemreboot.net; Mon, 22 Jul 2019 23:24:46 +0530 Received: from localhost ([::1]:36464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpcWI-0007ir-KV for arunisaac@systemreboot.net; Mon, 22 Jul 2019 13:54:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58708) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpcWG-0007il-9B for guix-devel@gnu.org; Mon, 22 Jul 2019 13:54:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpcWF-0000G1-5B for guix-devel@gnu.org; Mon, 22 Jul 2019 13:54:40 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:49630) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hpcWE-0000Ag-3f for guix-devel@gnu.org; Mon, 22 Jul 2019 13:54:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/yFQr91Dkzj/IvI0RkWaZgXcda/M6AR5Cb8KtrP5pxk=; b=Cd+D4ydhQ+PMvNpa5AZOxlLvc HSXmbZydFMV9aJ5JoypxS49/FByh9QA++OeQrBPulxfnIcWBDPcJU95TmzZ7yvWQQMb/Ne1ovrZcO hzK307ZEB6/aqlUk9cgaYdTuqegVIVVDwioxHZHBYCc9NZwb88amuop8Asc6llnkXMDwE=; Received: from [49.206.11.84] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hpcW5-0000Ih-7k; Mon, 22 Jul 2019 23:24:29 +0530 From: Arun Isaac To: Jack Hill , Ricardo Wurmus Subject: Re: Mumi now uses raw emails and Mu In-Reply-To: References: <87ef2jdtuc.fsf@elephly.net> Date: Mon, 22 Jul 2019 23:24:20 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 139.59.75.54 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, guile-email@systemreboot.net Errors-To: guix-devel-bounces+arunisaac=systemreboot.net@gnu.org Sender: "Guix-devel" Message-ID: <20190722175420.jlosJqcgS3VLnsCe9X-PmLuKBDriCjKpCojsyZDS6vc@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+EwACgkQLiXui2GA K7PdrQf9GB2YfpQRk5kCazPFiFfPcgM/Knf9MiMejBc3AAIUR7bm4lVRawxfw/yz ZLIE5fzLCSZhwTSk/gh/Z68mjLYwwnc1Jqjcc+JKtLqdiH8KzO9fAMhdDaGsy07O qBR9e6iHjQpfhXtow2B/kyickyxFIuwpLMyvH7m8fJXR2ewzQpa2fGBRxEztFLbY PM72iTekVONX691TxA/c8t9HdqV33EPuHbti1tuAs1AoJ83svHevsLi4D8PKFSAa 7Q+BBONxnXu9mU2Y82jgj0k1e9u1dpXuRETUwCcBix+KDPglPQQ6XzFO1nPyBENe P6WyDeubZdiVoYMfPySrfacHFcsx8A== =AK1X -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac To: Jack Hill , Ricardo Wurmus Cc: guix-devel@gnu.org, guile-email@systemreboot.net Subject: Re: Mumi now uses raw emails and Mu In-Reply-To: References: <87ef2jdtuc.fsf@elephly.net> Date: Mon, 22 Jul 2019 23:24:20 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: 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----- --=-=-=--