From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: One more string functions change Date: Sat, 28 Jun 2014 20:21:55 +0400 Message-ID: <53AEEBA3.1030706@yandex.ru> References: <53AD8D59.5000207@yandex.ru> <53AD9FDB.80705@cs.ucla.edu> <83simq6spc.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1403972560 26732 80.91.229.3 (28 Jun 2014 16:22:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Jun 2014 16:22:40 +0000 (UTC) Cc: Paul Eggert , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 28 18:22:32 2014 Return-path: Envelope-to: ged-emacs-devel@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 1X0vOX-0007va-0I for ged-emacs-devel@m.gmane.org; Sat, 28 Jun 2014 18:22:29 +0200 Original-Received: from localhost ([::1]:55269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0vOW-0005Ou-Hs for ged-emacs-devel@m.gmane.org; Sat, 28 Jun 2014 12:22:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0vOM-0005Og-Uo for emacs-devel@gnu.org; Sat, 28 Jun 2014 12:22:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0vOE-0007Ka-F2 for emacs-devel@gnu.org; Sat, 28 Jun 2014 12:22:18 -0400 Original-Received: from forward10l.mail.yandex.net ([84.201.143.143]:58628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0vO6-0007Jx-Qh; Sat, 28 Jun 2014 12:22:03 -0400 Original-Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward10l.mail.yandex.net (Yandex) with ESMTP id 2EE32BA1239; Sat, 28 Jun 2014 20:22:00 +0400 (MSK) Original-Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id A6E122C490E; Sat, 28 Jun 2014 20:21:59 +0400 (MSK) Original-Received: from 146.gprs.mts.ru (146.gprs.mts.ru [213.87.138.146]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ZWybEkplFg-Lw8eitmO; Sat, 28 Jun 2014 20:21:58 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 161a54b6-391a-4f0a-8931-93e38902ef75 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1403972519; bh=bmteICQu/uqcm6W9gYwerUDEyFY8XH/sSgV1rvRCQjA=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=uAJfeNi/GY3tVNRTLwTcLNXugPktWb6Rsz8sRHZ+iRm9sfMtgFnQhDhiaO+aZwhyK 8GteGyaG2ksvlW1ix4oqm+3jIUpKMO3TCgyQ3fsoqLI7lrTDY9DRM9Oyp5gfjTfGXp X0mP/jatjw42rCXTpXFFBSh7g/qFkrJjouJr+3kk= Authentication-Results: smtp4h.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <83simq6spc.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 84.201.143.143 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172799 Archived-At: On 06/27/2014 11:46 PM, Eli Zaretskii wrote: > That's not enough. Currently, Emacs down-cases using the current > buffer's settings. This is TRT in some cases, but very wrong in > others. It is especially wrong when down-casing strings (as opposed > to portions of a buffer), because there's no reason to believe that a > particular string being processed has any relevance to the current > buffer and its defaults. What makes you think that the system locale is more relevant? String may be the result of search/match operation in the buffer at least. > IOW, we don't have any good way of specifying language- or > locale-specific case-folding. What's wrong with case tables? If we're talking about Unicode only, is it enough/possible/desirable to have just one (huge) case table for all supported characters? > FWIW, I think _that_ is where we should concentrate our energy, not on > nano-improvements such as the one proposed here. But hey! 90% of > Emacs development energy goes to such changes, while important missing > features are being left unimplemented for years. So who am I to > complain? "Why are you being so harsh? We are not the enemy" (C). If you have a personal TOTO/wishlist/roadmap/whatever, please share. (Yes, I know about etc/TODO). Dmitry