unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: michael_heerdegen@web.de, 18150@debbugs.gnu.org
Subject: bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t
Date: Tue, 16 Feb 2016 20:09:02 +0200	[thread overview]
Message-ID: <83a8n0wmrl.fsf@gnu.org> (raw)
In-Reply-To: <877fi41zbe.fsf@amu.edu.pl> (message from Marcin Borkowski on Tue, 16 Feb 2016 15:53:41 +0100)

> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Tue, 16 Feb 2016 15:53:41 +0100
> Cc: 18150@debbugs.gnu.org
> 
> Confirmed on emacs -Q (GNU Emacs 25.1.50.2, commit 4ccd268).
> 
> Best,
> mb
> 
> On 2014-07-30, at 18:11, Michael Heerdegen <michael_heerdegen@web.de> wrote:
> 
> > Hello,
> >
> >
> > sorry if this is just a unibyte/multibyte thing I don't understand, but
> > it makes no sense to me:
> >
> >   (let ((str "École")
> >         (case-fold-search t))
> >     (when (string-match "[[:upper:]]" str)
> >       (match-string 0 str)))
> >
> > ==> "c"
> >
> > However,
> >
> >   (let ((str "École")
> >         (case-fold-search nil))
> >     (when (string-match "[[:upper:]]" str)
> >       (match-string 0 str)))
> >
> > ==> "É"
> >
> > I would expect "É" in both examples.

What do we expect the result to be in the variant below?

   (let ((str "ecole")
         (case-fold-search t))
     (when (string-match "[[:upper:]]" str)
       (match-string 0 str)))





  reply	other threads:[~2016-02-16 18:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 15:11 bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t Michael Heerdegen
2016-02-16 14:53 ` Marcin Borkowski
2016-02-16 18:09   ` Eli Zaretskii [this message]
2016-02-16 18:38     ` Michael Heerdegen
2016-02-16 18:57       ` Eli Zaretskii
2016-02-20 11:06         ` Eli Zaretskii
2016-02-20 12:09           ` Michael Heerdegen

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=83a8n0wmrl.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=18150@debbugs.gnu.org \
    --cc=mbork@mbork.pl \
    --cc=michael_heerdegen@web.de \
    /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).