all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Philipp <p.stephani2@gmail.com>
Cc: 30218-done@debbugs.gnu.org
Subject: bug#30218: 27.0.50; Possibly incorrect statement in manual about string equality
Date: Fri, 26 Jan 2018 12:39:29 +0200	[thread overview]
Message-ID: <83po5wlx9a.fsf@gnu.org> (raw)
In-Reply-To: <m2zi55fqzb.fsf@gmail.com> (message from Philipp on Mon, 22 Jan 2018 23:50:16 +0100)

> From: Philipp <p.stephani2@gmail.com>
> Date: Mon, 22 Jan 2018 23:50:16 +0100
> 
> 
> The manual says in the section "Equality Predicates":
> 
>      For technical reasons, a unibyte string
>      and a multibyte string are ‘equal’ if and only if they contain the
>      same sequence of character codes and all these codes are either in
>      the range 0 through 127 (ASCII) or 160 through 255
>      (‘eight-bit-graphic’).
> 
> However, that doesn't seem to be the case:
> 
> (equal (string #xA0) (unibyte-string #xA0)) => nil
> (equal (string #x3FFFA0) (unibyte-string #xA0)) => nil

Thanks, fixed.





      parent reply	other threads:[~2018-01-26 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-22 22:50 bug#30218: 27.0.50; Possibly incorrect statement in manual about string equality Philipp
2018-01-22 23:12 ` bug#30218: [PATCH] Fix statement about string equality (Bug#30218) Philipp Stephani
2018-02-04 18:44   ` Philipp Stephani
2018-01-26 10:39 ` Eli Zaretskii [this message]

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=83po5wlx9a.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30218-done@debbugs.gnu.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.