all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Noam Postavsky <npostavs@users.sourceforge.net>
Cc: ynyaaa@gmail.com, 23833-done@debbugs.gnu.org
Subject: bug#23833: 24.5; assoc-string with CASE-FOLD may fail
Date: Thu, 23 Jun 2016 18:11:34 +0300	[thread overview]
Message-ID: <83r3bo2b4p.fsf@gnu.org> (raw)
In-Reply-To: <CAM-tV-8y+5NvsW4tB_xvrD2fk=dQDwWT4J4V10oP4qmX+DyStQ@mail.gmail.com> (message from Noam Postavsky on Thu, 23 Jun 2016 08:26:22 -0400)

> From: Noam Postavsky <npostavs@users.sourceforge.net>
> Date: Thu, 23 Jun 2016 08:26:22 -0400
> Cc: 23833@debbugs.gnu.org
> 
> assoc-string uses compare-strings, which uses upcase to ignore case,
> but upcase is not always the inverse of downcase:
> 
> (upcase (downcase "DZ")) ;=> "Dz"
> ;; Or to put it another way
> (= (upcase (downcase ?\u01F1)) ?\u01F2) ;=> t
> 
> Same behaviour seen in emacs-25 and master

Thanks.

This is a documentation issue: both 'assoc-string' and
'compare-strings' had inaccuracies in their doc strings.  I fixed this
on the emacs-25 branch, and I'm marking this bug done.





  reply	other threads:[~2016-06-23 15:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-23 12:01 bug#23833: 24.5; assoc-string with CASE-FOLD may fail ynyaaa
2016-06-23 12:26 ` Noam Postavsky
2016-06-23 15:11   ` Eli Zaretskii [this message]
2016-06-23 15:53     ` Noam Postavsky
2016-06-23 16:19       ` Eli Zaretskii
2016-06-23 19:25         ` Eli Zaretskii

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=83r3bo2b4p.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23833-done@debbugs.gnu.org \
    --cc=npostavs@users.sourceforge.net \
    --cc=ynyaaa@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.