emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Imports / inclusion of s.el into Emacs


From: João Távora
Subject: Re: Imports / inclusion of s.el into Emacs
Date: Fri, 1 May 2020 18:28:51 +0100

Just wanted to voice my support for exactly the points that Dmitry makes.

And if we do add it to Elpa, can we give it a slightly longer prefix? Like 'cljstr`?

Thanks,
João


On Fri, May 1, 2020, 18:21 Dmitry Gutov <address@hidden> wrote:
On 01.05.2020 17:56, Philippe Vaucher wrote:
> Following our discussion about namespace I think it's time to start with
> something concrete where most people are agreeing already

FWIW, I made a couple of other suggestions.

As far as s.el goes, I suppose it might be a good thing to add it to
ELPA for those who like it.

I'm not completely sold on its contents for the core, however: a lot of
it looks like a compatibility layer for Clojure's familiarity's sake,
with very thin wrappers (which basically just add the cost of function
invocation).

Examples:

1. s-prepend/s-append: trivially replaced by 'concat'.

2. s-trim: string-trim is already in subr-x.

3. s-split: basically delegates to split-string, but wraps it in
save-match-data (which is generally against our guidelines for its use).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]