From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69968: Case-folding of Mathematical Alphanumeric Symbols Date: Sun, 24 Mar 2024 19:45:14 +0200 Message-ID: <86zfunjzh1.fsf@gnu.org> References: <86zfuoua66.fsf@mail.linkov.net> <86r0g0xhyc.fsf@gnu.org> <86le67abtb.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33622"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69968@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 24 19:08:46 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1roSGz-0008ZZ-D6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Mar 2024 19:08:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1roSGc-0000wZ-2T; Sun, 24 Mar 2024 14:08:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roSGa-0000w2-5i for bug-gnu-emacs@gnu.org; Sun, 24 Mar 2024 14:08:20 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1roSGZ-0001I0-Th for bug-gnu-emacs@gnu.org; Sun, 24 Mar 2024 14:08:19 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1roSHF-00072l-OQ for bug-gnu-emacs@gnu.org; Sun, 24 Mar 2024 14:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Mar 2024 18:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69968 X-GNU-PR-Package: emacs Original-Received: via spool by 69968-submit@debbugs.gnu.org id=B69968.171130371827031 (code B ref 69968); Sun, 24 Mar 2024 18:09:01 +0000 Original-Received: (at 69968) by debbugs.gnu.org; 24 Mar 2024 18:08:38 +0000 Original-Received: from localhost ([127.0.0.1]:47377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roSGs-00071v-5o for submit@debbugs.gnu.org; Sun, 24 Mar 2024 14:08:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roSGp-00071g-ES for 69968@debbugs.gnu.org; Sun, 24 Mar 2024 14:08:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roRuI-0005Kl-LW; Sun, 24 Mar 2024 13:45:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Xn8sPVsyBcLFb4qdPcuydCEJu4OhUlEXYLfGPx59pnc=; b=Au+i7HBnAlNYLV599j6k afOzXnlu8n+Bb0vLYTpw7dbVZQlfxu6YGZz1kXZAemwwiRmLmQF5MK88atm/rbFdK1DCJycjtOz8K H9JKGmC4OUAPDLpjPbHmkygK8kOlIKOClKgDxsaHkSYreB/fxR7wtBVu5H7DIbNlx/IlcR49Fbhfe KGP+TUwZdU7kgIrgFuVsJJKR8bTqQiyY7lCTvFhrr9lZO9vl8565sO+pctPvRt57f3799LROZh2ZD 8oA68anOxeqgBcApMKhLr3cuBpqfr9MSwvgtOjQE15Qq5Z+DbvtiJb/a6CJxt8HBA+hKp+XfYFgpF 63z/mXkLJt5zHQ==; In-Reply-To: <86le67abtb.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 24 Mar 2024 19:09:10 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282028 Archived-At: > From: Juri Linkov > Cc: 69968@debbugs.gnu.org > Date: Sun, 24 Mar 2024 19:09:10 +0200 > > >> I wonder why case-folding is not supported for letters from > >> the Unicode block "Mathematical Alphanumeric Symbols": > >> https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols > > > > These are not letters, they are symbols. And letter-case is not > > defined for symbols. > > π˜‹π˜° 𝘺𝘰𝘢 𝘳𝘦𝘒𝘭𝘭𝘺 𝘡𝘩π˜ͺ𝘯𝘬 𝘡𝘩π˜ͺ𝘴 𝘡𝘦𝘹𝘡 π˜ͺ𝘴 𝘯𝘰𝘡 𝘸𝘳π˜ͺ𝘡𝘡𝘦𝘯 𝘸π˜ͺ𝘡𝘩 π™‘π™šπ™©π™©π™šπ™§π™¨? What does that prove? The fact that the glyphs look like normal letters doesn't mean they are. Like β„΅ and β„Ά are not Hebrew letters they look like (and have left-to-right directionality). And similarly with πžΈ€, 𞸁 and other mathematical symbols in that block aren't Arabic letters, and in particular don't shape like Arabic letters. > >> Case-folding is already supported for some characters from other > >> Unicode blocks such e.g. FULLWIDTH LATIN CAPITAL LETTERs, > >> CIRCLED LATIN CAPITAL LETTERs, etc. > > > > That's because UnicodeData.txt defines their letter-case conversions. > > Ok, then it's very strange that the Unicode standard doesn't define > letter-case conversions for other letters. But what can we do. We can define case-conversions for them if we decide to do so. Moreover, Lisp programs which for some reason need that can do that themselves, even if by default there are no case-conversions defined for them. The question is when and why is this needed? > >> But e.g. PARENTHESIZED LATIN CAPITAL LETTERs are missing too. > >> What is worse is that in Emacs β’œ doesn't have even a word syntax > >> like its counterpart πŸ„. > > > > I think the fact that πŸ„ has the word syntax might be a mistake. These > > are both symbols, so why would we want them to have the word syntax? > > Because they look like letters with diacritics. Not sure I agree.