emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#18150: closed (24.3.92; Uppercase umlauts and case


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#18150: closed (24.3.92; Uppercase umlauts and case-fold-search t)
Date: Sat, 20 Feb 2016 11:07:01 +0000

Your message dated Sat, 20 Feb 2016 13:06:01 +0200
with message-id <address@hidden>
and subject line Re: bug#18150: 24.3.92; Uppercase umlauts and case-fold-search 
t
has caused the debbugs.gnu.org bug report #18150,
regarding 24.3.92; Uppercase umlauts and case-fold-search t
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
18150: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18150
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.92; Uppercase umlauts and case-fold-search t Date: Wed, 30 Jul 2014 17:11:01 +0200
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.


Thanks,

Michael.




In GNU Emacs 24.3.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)
 of 2014-07-17 on drachen
Windowing system distributor `The X.Org Foundation', version 11.0.11600000
System Description:     Debian GNU/Linux testing (jessie)

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_COLLATE: C
  value of $LC_TIME: C
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix




--- End Message ---
--- Begin Message --- Subject: Re: bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t Date: Sat, 20 Feb 2016 13:06:01 +0200
> Date: Tue, 16 Feb 2016 20:57:41 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
> 
> If, when case-fold-search is non-nil, we want both [:upper:] and
> [:lower:] to match any letter that has a case variant, then the patch
> below seems to do the job.  Does anyone see a problem with it?

No further comment, so I pushed a slightly safer change to emacs-25
branch, and I'm marking this bug done.

Thanks.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]