From: Jean-Christophe Helary <jean.christophe.helary@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Re: split-string description in the ELR
Date: Tue, 2 May 2017 07:46:50 +0900 [thread overview]
Message-ID: <AA8EEFE6-06E9-46DD-9AA8-BE65F1650A37@gmail.com> (raw)
In-Reply-To: <7c26dfd7-b40a-4339-89e0-8f627c99c247@default>
> On May 2, 2017, at 1:20, Drew Adams <drew.adams@oracle.com> wrote:
>
>> 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) ?
>
> Good idea.
Well, I'll try to propose something that puts a bit more emphasis on the "trim" part.
> Additionally, or instead, we could create a function
> that is an alias and that has "trim" in the name.
And I definitely leave that to you :)
Jean-Christophe
prev parent reply other threads:[~2017-05-01 22:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-01 15:38 split-string description in the ELR Jean-Christophe Helary
2017-05-01 16:20 ` Drew Adams
2017-05-01 22:46 ` Jean-Christophe Helary [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=AA8EEFE6-06E9-46DD-9AA8-BE65F1650A37@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).