From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Howard Melman Newsgroups: gmane.emacs.bugs Subject: bug#51292: 27.2; Reversing strings with unicode combining characters Date: Tue, 19 Oct 2021 15:16:27 -0400 Message-ID: <2AC0A88D-4F2F-41A5-B945-8BB55260C0E8@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18212"; mail-complaints-to="usenet@ciao.gmane.io" To: 51292@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 19 21:17:34 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 1mcuc9-0004UV-E9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 21:17:33 +0200 Original-Received: from localhost ([::1]:49900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcuc8-0001YC-Cj for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 15:17:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcubf-0001Y3-36 for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 15:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcube-0000Ta-RD for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 15:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcube-0005vr-MX for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 15:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2021 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51292 X-GNU-PR-Package: emacs X-Debbugs-Original-To: GNU Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.163467099422762 (code B ref -1); Tue, 19 Oct 2021 19:17:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Oct 2021 19:16:34 +0000 Original-Received: from localhost ([127.0.0.1]:52031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcubC-0005v3-EQ for submit@debbugs.gnu.org; Tue, 19 Oct 2021 15:16:34 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcubB-0005ux-H6 for submit@debbugs.gnu.org; Tue, 19 Oct 2021 15:16:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcubB-0001W7-CY for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 15:16:33 -0400 Original-Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:35404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcub9-0007nY-7A for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 15:16:33 -0400 Original-Received: by mail-qk1-x72e.google.com with SMTP id bj31so989190qkb.2 for ; Tue, 19 Oct 2021 12:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=CgfEGIDMvY10n6XneaTG1oLgoL5en/bai/9PLBz2Ew4=; b=P0W/j2Q91Zr9l6rbtOpteqEjCYadW0TQsqtv9G1rqA1dntZUUmE+uF/hv9yLcR/cBB f97eZNGnbb9S4u7jYQASWjzHCpVIKuIWvQ3VoWS9q4xzkxpKkjLU3mGYucNyY5p0lDxn 3h2ZAFTpDi0yHj3CKpbNHAL4bNiEdA0ASyuw82Nwywzbnim41tPiK/DU19/Hl3r8a4Kc qbpGuM1V7+wAojYxaUby8KDVkLMlVl0Eb1kDuISBgjAt8RT8w+5+NJxDpywhE2p9hHII PmEc5L0+2DwhQpWt1i3xTcbLS2AUIBrBde5NQDovhPviycrukYkn2ry7gS07n5hHnWfT Wy+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=CgfEGIDMvY10n6XneaTG1oLgoL5en/bai/9PLBz2Ew4=; b=KwFyVxnitxDlTCU/0ESAldxbxpgmLBhBEh0qvjfVQjldkZDoIuw2GtDxVqJc8ORikT iGWrCT+dTbh8A0ZhkNhFoDsFvw0k9BXkc2MLwWrP36NhbB5oBSXXqwjbSHHVzd1IXIYk 5q7Ghv5hdRuIlCgMys73m5nwr/NFiKMKW5ReaiucihY1mcJ6eweCkpXPpCoIwNT8x9j9 XHJJrLQFib5SaEMHUmHg+o6N/1H38XCNSZxsa/Dc7F+qumMdWgoZXXkhR6nB/SJbj1Df yDPwHhSnGzGjqS1mSHDcvj7mzeB9eQAY1XKDgS50ZTd+BwQDNQmTOTyFRfqtd0cJSsVU Hsqg== X-Gm-Message-State: AOAM530zy3RkvP+LYqG/pkmrs68pO9SBeUgd5VApWjSSXKlqVn0s+EiF DrBJKu+c3kodJ0usFzcGFZnuT5oxk4P2fA== X-Google-Smtp-Source: ABdhPJyrUkmbDL5cA6NnZLoocGKmPuDclVuTqEWGmRv+MAmlo9D9DJz8+PRe5TOYxmbTuLKinQhIpg== X-Received: by 2002:a05:620a:7c6:: with SMTP id 6mr1643993qkb.218.1634670988520; Tue, 19 Oct 2021 12:16:28 -0700 (PDT) Original-Received: from smtpclient.apple (pool-108-26-204-101.bstnma.fios.verizon.net. [108.26.204.101]) by smtp.gmail.com with ESMTPSA id c19sm8169406qkj.132.2021.10.19.12.16.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Oct 2021 12:16:28 -0700 (PDT) X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2607:f8b0:4864:20::72e; envelope-from=hmelman@gmail.com; helo=mail-qk1-x72e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:217600 Archived-At: Reversing a string fails to account for unicode combining characters (reverse "nai\u0308ve") "ev=CC=88ian" Note the diaeresis is now on the v and not the i. s-reverse gets it = right: (s-reverse "nai\u0308ve") "evi=CC=88an" I tried on both: GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, Carbon Version 158 = AppKit 1671.6) of 2021-03-27 GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 = Version 10.14.6 (Build 18G95)) of 2020-08-12 --=20 Howard