unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jean Louis <bugs@gnu.support>
To: carlmarcos@tutanota.com
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Tools for those working heavily with strings
Date: Sun, 24 Jul 2022 23:00:46 +0300	[thread overview]
Message-ID: <Yt2k7jdS56I5Ts5R@protected.localdomain> (raw)
In-Reply-To: <N7juAvt--3-2@tutanota.com>

* carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2022-07-24 14:13]:
> I'd appreciate if emacs could provide a minimum set of functions to manipulate list,
> as string manipulations are of good use.

It is there.

Do following: {M-x shortdoc-display-group RET list RET} for lists or
{M-x shortdoc-display-group RET string RET} for strings.

The above information within curly brackets are Hyperbole links, you
can activate them with packag Hyperbole by using M-RET

I can see that s.el has functions like `s-trim-left' and such
functions are in Emacs as `string-trim' and `string-trim-left' and so
on.

Function `s-collapse-whitespace' from s.el is in Emacs
`string-clean-whitespace'.

Function `s-split' is `split-string' in Emacs.

Function `s-lines' is `string-lines' in Emacs.

And so on, there are various functions that already exist in Emacs.

Just browse the `list' and `string' groups as above explained.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



      parent reply	other threads:[~2022-07-24 20:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-24  5:04 Tools for those working heavily with strings carlmarcos--- via Users list for the GNU Emacs text editor
2022-07-24  5:11 ` Jean Louis
2022-07-24  5:17   ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-07-24  8:45     ` Jean Louis
2022-07-24  8:44   ` Jean Louis
2022-07-24 11:12     ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-07-24 11:26       ` tomas
2022-07-24 11:42         ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-07-24 13:11           ` Arash Esbati
2022-07-24 13:17           ` tomas
2022-07-24 13:20             ` Philip Kaludercic
2022-07-24 13:23               ` tomas
2022-07-24 14:45                 ` Philip Kaludercic
2022-07-24 20:04           ` Jean Louis
2022-07-24 20:00       ` Jean Louis [this message]

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=Yt2k7jdS56I5Ts5R@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=carlmarcos@tutanota.com \
    --cc=help-gnu-emacs@gnu.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.
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).