unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Howard Melman <hmelman@gmail.com>, 51292@debbugs.gnu.org
Subject: bug#51292: 27.2; Reversing strings with unicode combining characters
Date: Wed, 20 Oct 2021 20:51:21 -0700	[thread overview]
Message-ID: <CADwFkmmt+cfrOXRYzLvTQdWTSfn6eNnaeJRWGUsVhqK-DZa7uA@mail.gmail.com> (raw)
In-Reply-To: <87o87jjdlp.fsf@gnus.org>

Lars Ingebrigtsen <larsi@gnus.org> 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.





  reply	other threads:[~2021-10-21  3:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 19:16 bug#51292: 27.2; Reversing strings with unicode combining characters Howard Melman
2021-10-19 19:26 ` Lars Ingebrigtsen
2021-10-19 20:50   ` Lars Ingebrigtsen
2021-10-19 21:21     ` Howard Melman
2021-10-20  8:58       ` Lars Ingebrigtsen
2021-10-19 23:13     ` Stefan Kangas
2021-10-20  8:11       ` Lars Ingebrigtsen
2021-10-20 13:02         ` Stefan Kangas
2021-10-21  2:50           ` Lars Ingebrigtsen
2021-10-21  3:51             ` Stefan Kangas [this message]
2021-10-20 11:50     ` Eli Zaretskii
2021-10-20 11:45   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmmt+cfrOXRYzLvTQdWTSfn6eNnaeJRWGUsVhqK-DZa7uA@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=51292@debbugs.gnu.org \
    --cc=hmelman@gmail.com \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).