From: "Mattias Engdegård" <mattiase@acm.org>
To: 30219@debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>, Philipp <p.stephani2@gmail.com>
Subject: bug#30219: 27.0.50; (should (equal ...)) bug for string equality
Date: Thu, 10 Oct 2019 16:34:03 +0200 [thread overview]
Message-ID: <CEAA5F54-E7E5-458A-A7D4-6235AF1A469C@acm.org> (raw)
In-Reply-To: <m2d121ld0u.fsf@gmail.com>
The bug is directly reproducible, and not very surprising given the subtleties in mixed uni/multibyte string comparisons. ERT treats strings as arrays to be compared element-wise via `aref', which isn't how `equal' works.
There are several solutions, none perfect. I'll be back with a patch later today or tomorrow.
next prev parent reply other threads:[~2019-10-10 14:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-22 22:55 bug#30219: 27.0.50; (should (equal ...)) bug for string equality Philipp
2019-10-09 21:29 ` Lars Ingebrigtsen
2019-10-10 14:34 ` Mattias Engdegård [this message]
2019-10-10 19:29 ` Mattias Engdegård
2019-10-11 5:43 ` Lars Ingebrigtsen
2019-10-11 9:21 ` Mattias Engdegård
2019-10-13 18:10 ` Lars Ingebrigtsen
2019-10-13 18:30 ` Mattias Engdegård
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CEAA5F54-E7E5-458A-A7D4-6235AF1A469C@acm.org \
--to=mattiase@acm.org \
--cc=30219@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=p.stephani2@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).