From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#51292: 27.2; Reversing strings with unicode combining characters Date: Wed, 20 Oct 2021 20:51:21 -0700 Message-ID: References: <2AC0A88D-4F2F-41A5-B945-8BB55260C0E8@gmail.com> <87fsswbyu0.fsf@gnus.org> <87y26oage0.fsf@gnus.org> <8735owp13o.fsf@gnus.org> <87o87jjdlp.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21538"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Howard Melman , 51292@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 21 05:52:25 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 1mdP7x-0005Oo-Eg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Oct 2021 05:52:25 +0200 Original-Received: from localhost ([::1]:33308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdP7v-0006e1-US for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 23:52:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdP7c-0006cx-0C for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 23:52:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdP7a-000134-6H for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 23:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdP7Z-0005FV-Qn for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 23:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Oct 2021 03:52:01 +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.163478828920139 (code B ref 51292); Thu, 21 Oct 2021 03:52:01 +0000 Original-Received: (at 51292) by debbugs.gnu.org; 21 Oct 2021 03:51:29 +0000 Original-Received: from localhost ([127.0.0.1]:55901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdP73-0005El-1t for submit@debbugs.gnu.org; Wed, 20 Oct 2021 23:51:29 -0400 Original-Received: from mail-pj1-f54.google.com ([209.85.216.54]:38718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdP71-0005EY-Ev for 51292@debbugs.gnu.org; Wed, 20 Oct 2021 23:51:27 -0400 Original-Received: by mail-pj1-f54.google.com with SMTP id n8-20020a17090a2bc800b00196286963b9so2113639pje.3 for <51292@debbugs.gnu.org>; Wed, 20 Oct 2021 20:51:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=SUITNxq84Lu14P8QwPdyDbjW0mvO3brQU0kHNZQRPxE=; b=slfoH2OZDFPR5SvKYR3xlrgrPTiO7vvK8WCgHvnHNxEbKnV0HBx3hDACk+JFUgzY3j ODzGLWaspfFjK4EPnRogr3pqi0VnNKRrekHjoG+diXOoIVBs1dW9GU9PR+rRXXB9WMnx GukePWPDjvugTzQ+FCbfp+ZS9vBG85Y3LKlEyDuaQrO88uIHyXpbM9FXY/DmFYjkp0pY D/nTBLU8FcRjRX5muvH0SZtpsVXxCQRIGA1Mr+desgsW7+4gs49f4okjYwyQqwITSuXL a4eIkV/zQyj/qwTjdM8s0NYX4dGEYBYgIWRO6F972VvPc+R55hDXoHQn0FuvWjOpvGWA wVYA== X-Gm-Message-State: AOAM530Vl9aD51ftZLCciqET0EvLV5Xtrpdgn1Eh5I16tWV4E4xCvXKe +WoBDwID13UvfuahrypotkMhLLo/qkOzQqZqPgU= X-Google-Smtp-Source: ABdhPJyX0USNfNLlDysU+Sornu6vZ0JS7Ew2gCqLVUdpwKL11qo/J+1wJcBJnxIp9+EHBdOPk4Sz/g9+NxpBPTCItdo= X-Received: by 2002:a17:902:e74a:b0:13f:3538:fca0 with SMTP id p10-20020a170902e74a00b0013f3538fca0mr2983838plf.22.1634788281656; Wed, 20 Oct 2021 20:51:21 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 20 Oct 2021 20:51:21 -0700 In-Reply-To: <87o87jjdlp.fsf@gnus.org> 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:217745 Archived-At: Lars Ingebrigtsen writes: > There's something very odd going on with that seach. If I remove > "-filename:examples.el", then I get a bunch of matches from files like > src/gdi/gdiTools.f? Very odd. Indeed, the Github search is not working very well. > https://github.com/search?q=s-reverse+-filename%3As-tests.el&type=Code > > But none of the matches on the first few pages refer to the s.el With that link, I think you need to click the "Emacs Lisp" button to see them? I do that and see 2743 matches, but all of them copies of examples.el from s.el itself. Ah, on page 10 I see some matches in ensime-completion-util.el, but then from page 18 or so I start seeing only matches in s.el itself again. I didn't go much further, but it doesn't seem to be very popular. When I sort by "Recently indexed", I see only matches in s.el again. (The GitHub user interface is horrible, BTW.) > s-reverse, so I think the conclusion is the same -- it's not a function > that's actually used for anything. I agree. It was probably added because it is there in Clojure, where it makes sense as they tend to favour immutable data. Whereas we just do `replace-match', etc.