unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <jean.christophe.helary@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: split-string description in the ELR
Date: Tue, 2 May 2017 00:38:13 +0900	[thread overview]
Message-ID: <B941DB53-18AA-43E0-A54C-3308BC161BC0@gmail.com> (raw)

Without Eli's comment I would never have thought of using split-string to trim a string. But even reading the reference did not make it's use super clear. In the description "trim" is just an option to trim the substrings resulting from splitting the string and it is not obvious that it can be used on it's own to trim a given string.

Could a small modification of the reference be in order to emphasize that use (with an example eventually) ?

Jean-Christophe 


             reply	other threads:[~2017-05-01 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-01 15:38 Jean-Christophe Helary [this message]
2017-05-01 16:20 ` split-string description in the ELR Drew Adams
2017-05-01 22:46   ` Jean-Christophe Helary

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=B941DB53-18AA-43E0-A54C-3308BC161BC0@gmail.com \
    --to=jean.christophe.helary@gmail.com \
    --cc=emacs-devel@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.
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).