all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: 30219@debbugs.gnu.org, Philipp <p.stephani2@gmail.com>
Subject: bug#30219: 27.0.50; (should (equal ...)) bug for string equality
Date: Fri, 11 Oct 2019 07:43:18 +0200	[thread overview]
Message-ID: <87lftrrg5l.fsf@gnus.org> (raw)
In-Reply-To: <92BD15D2-9962-4760-9CF5-A82F46226808@acm.org> ("Mattias \=\?utf-8\?Q\?Engdeg\=C3\=A5rd\=22's\?\= message of "Thu, 10 Oct 2019 21:29:01 +0200")

Mattias Engdegård <mattiase@acm.org> writes:

>        ((pred arrayp)
> +       ;; For mixed unibyte/multibyte string comparisons, make both multibyte.
> +       (when (and (stringp a)
> +                  (xor (multibyte-string-p a) (multibyte-string-p b)))
> +         (setq a (string-to-multibyte a))
> +         (setq b (string-to-multibyte b)))

I guess that makes sense.  We (possibly) lose text properties here, but
we don't care about those anyway in this context, I think?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-10-11  5:43 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
2019-10-10 19:29   ` Mattias Engdegård
2019-10-11  5:43     ` Lars Ingebrigtsen [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lftrrg5l.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=30219@debbugs.gnu.org \
    --cc=mattiase@acm.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.