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#51292: 27.2; Reversing strings with unicode combining characters Date: Wed, 20 Oct 2021 14:50:56 +0300 Message-ID: <83mtn3c3tr.fsf@gnu.org> References: <2AC0A88D-4F2F-41A5-B945-8BB55260C0E8@gmail.com> <87fsswbyu0.fsf@gnus.org> <87y26oage0.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19814"; mail-complaints-to="usenet@ciao.gmane.io" Cc: hmelman@gmail.com, 51292@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 20 13:52:04 2021 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 1mdA8a-0004qn-FR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 13:52:04 +0200 Original-Received: from localhost ([::1]:33626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdA8Y-0008De-DF for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 07:52:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdA7c-0008AZ-72 for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 07:51:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdA7a-0005In-Q9 for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 07:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdA7a-0006g1-Ff for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 07:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Oct 2021 11:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51292 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 51292-submit@debbugs.gnu.org id=B51292.163473066125658 (code B ref 51292); Wed, 20 Oct 2021 11:51:02 +0000 Original-Received: (at 51292) by debbugs.gnu.org; 20 Oct 2021 11:51:01 +0000 Original-Received: from localhost ([127.0.0.1]:52892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdA7Y-0006fm-NM for submit@debbugs.gnu.org; Wed, 20 Oct 2021 07:51:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdA7X-0006fZ-FZ for 51292@debbugs.gnu.org; Wed, 20 Oct 2021 07:50:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35074) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdA7R-0005Bb-U1; Wed, 20 Oct 2021 07:50:53 -0400 Original-Received: from [87.69.77.57] (port=4116 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdA7H-0000hi-V0; Wed, 20 Oct 2021 07:50:53 -0400 In-Reply-To: <87y26oage0.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 19 Oct 2021 22:50:15 +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" Xref: news.gmane.io gmane.emacs.bugs:217654 Archived-At: > From: Lars Ingebrigtsen > Date: Tue, 19 Oct 2021 22:50:15 +0200 > Cc: 51292@debbugs.gnu.org > > But it might make sense to add function to tokenize a string into > grapheme clusters -- I can see that being useful. Then the caller can > chop and reverse the list of clusters as they wish. We have find-composition; isn't that sufficient? Especially since we don't really understand the use case?