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: Character display problem in mumi and my mail client
Date: Sun, 28 Jul 2019 13:03:51 +0530 [thread overview]
Message-ID: <cu7d0hu62ao.fsf@systemreboot.net> (raw)
Message-ID: <20190728073351.cOhtxMjx4rC6dpofaaRpeK4iRYMCz7-vMrM0QzM_Q9I@z> (raw)
In-Reply-To: <alpine.DEB.2.20.1907171636590.9756@marsh.hcoop.net>
[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]
> It appears that mumi (or at least the instance of it running on
> issues.guix.gnu.org) has problems displaying some non-ASCII characters. I
> noticed it with '’'. Compare
>
> https://issues.guix.gnu.org/issue/36207
>
> with
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36207
I have fixed this bug. See
https://git.systemreboot.net/guile-email/commit/?id=ac83c2a00c13702bc365cd0f3074239fa63d743f
and
https://git.systemreboot.net/guile-email/commit/?id=1f7c45fa0b71bd137e4b661e0d473c3eb9c98f48
guile-email's parse-email and parse-email-body functions now prefer to
operate on bytevectors, rather than on strings. Likewise, mbox->emails
now returns a list of bytevectors, not a list of strings.
I have updated the API documentation at
https://guile-email.systemreboot.net/manual/Parsing-e_002dmail.html#Parsing-e_002dmail
@Ricardo:
I think you are using a git checkout of guile-email for the mumi hosted
at issues.guix.info. Could you use the latest guile-email commit on
master (specifically, c85e6917ea21631857d93f58e60d910e07317131)? That
should fix this bug. No other changes are required in mumi. I will
release guile-email 0.2.0 in another week's time.
> This reminds me of rjbs's talk, "Email Hates the Living". [0]
>
> [0] http://yapcasia.org/2011/talk/59
Indeed, email drags along a lot of backward compatibility baggage from
the past. In the future, I'll add some of the pathological examples
mentioned in this talk as test cases.
Also, if you know of any corpus of email parser test cases, please let
me know. I will use them to expand guile-email's test suite.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2019-07-28 9:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <alpine.DEB.2.20.1907171636590.9756@marsh.hcoop.net>
[not found] ` <87zhlbg4aw.fsf@elephly.net>
2019-07-18 10:16 ` [bug] " Arun Isaac
2019-07-18 10:23 ` [guile-email] " Arun Isaac
2019-07-18 10:23 ` Arun Isaac
2019-07-18 10:23 ` Arun Isaac
2019-07-28 7:33 ` Arun Isaac [this message]
2019-07-28 7:33 ` Arun Isaac
2019-07-28 7:33 ` Arun Isaac
2019-07-28 8:36 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cu7d0hu62ao.fsf@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=guile-email@systemreboot.net \
--cc=guix-devel@gnu.org \
--cc=jackhill@jackhill.us \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox