From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t Date: Tue, 16 Feb 2016 20:09:02 +0200 Message-ID: <83a8n0wmrl.fsf@gnu.org> References: <87oaw6lw56.fsf@web.de> <877fi41zbe.fsf@amu.edu.pl> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1455646890 14720 80.91.229.3 (16 Feb 2016 18:21:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2016 18:21:30 +0000 (UTC) Cc: michael_heerdegen@web.de, 18150@debbugs.gnu.org To: Marcin Borkowski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 16 19:21:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aVkFQ-0002tR-P7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Feb 2016 19:21:17 +0100 Original-Received: from localhost ([::1]:49286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVkFP-0004MF-Rg for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Feb 2016 13:21:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVk4c-0002B4-8P for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 13:10:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVk4Y-0005uY-5Q for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 13:10:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVk4Y-0005uR-2H for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 13:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aVk4X-0007r7-Tt for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 13:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2016 18:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18150 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18150-submit@debbugs.gnu.org id=B18150.145564614330122 (code B ref 18150); Tue, 16 Feb 2016 18:10:01 +0000 Original-Received: (at 18150) by debbugs.gnu.org; 16 Feb 2016 18:09:03 +0000 Original-Received: from localhost ([127.0.0.1]:38339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVk3b-0007pm-GV for submit@debbugs.gnu.org; Tue, 16 Feb 2016 13:09:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54267) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVk3a-0007pF-2G for 18150@debbugs.gnu.org; Tue, 16 Feb 2016 13:09:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVk3Q-0005bH-Po for 18150@debbugs.gnu.org; Tue, 16 Feb 2016 13:08:56 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVk3Q-0005b8-NC; Tue, 16 Feb 2016 13:08:52 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3288 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aVk3P-00068R-Td; Tue, 16 Feb 2016 13:08:52 -0500 In-reply-to: <877fi41zbe.fsf@amu.edu.pl> (message from Marcin Borkowski on Tue, 16 Feb 2016 15:53:41 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113144 Archived-At: > From: Marcin Borkowski > 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 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)))