From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: split-string description in the ELR Date: Tue, 2 May 2017 07:46:50 +0900 Message-ID: References: <7c26dfd7-b40a-4339-89e0-8f627c99c247@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1493678827 8962 195.159.176.226 (1 May 2017 22:47:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 May 2017 22:47:07 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 02 00:46:59 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5K5q-0002AT-VL for ged-emacs-devel@m.gmane.org; Tue, 02 May 2017 00:46:59 +0200 Original-Received: from localhost ([::1]:56028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5K5w-0001CO-H9 for ged-emacs-devel@m.gmane.org; Mon, 01 May 2017 18:47:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5K5q-0001C7-2H for emacs-devel@gnu.org; Mon, 01 May 2017 18:46:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5K5m-0004Ac-Tp for emacs-devel@gnu.org; Mon, 01 May 2017 18:46:58 -0400 Original-Received: from mail-pg0-x22d.google.com ([2607:f8b0:400e:c05::22d]:33381) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5K5m-0004AW-OT for emacs-devel@gnu.org; Mon, 01 May 2017 18:46:54 -0400 Original-Received: by mail-pg0-x22d.google.com with SMTP id y4so45720927pge.0 for ; Mon, 01 May 2017 15:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=yqxcgZLO2lArLDF6/l/hkhEH2pmNjebsJrESlLj2Kso=; b=bKn7h2IfzdflY9GmTT+iG8TCpz07fqgRfW8l7/mxLjaXzFNDzMidTYmEWcLLJqdT1/ CvtdY/nHTwYK8LHNpWfyb1Uceiu+DGP1XtITENz+UTTAjdBfxiuktCJPfzE0RpJe7DcR smbnQ2VsfygjwvRooR077soLPmtsZMwcREYelO+oA8NVNw/LbaD9NLg546DNQOBhFFmR cABH4BoZc4wJLqJXo05nonb4imtpziI0ywZgdvqAKXx6/Bm27qDOB2orHFHO5BFos7Dh wjCM5v92eVxncfS2f5cuc+sX4uZ+86HcVr6D9pzMg2pSw3PKnu+Xz81+I90RHXzLjgF6 8S9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=yqxcgZLO2lArLDF6/l/hkhEH2pmNjebsJrESlLj2Kso=; b=fsE7ANAp2xnmDnmY6ffh/H1LcGJRp+PsReRDVTlRQ6VwxXVwJD51yGYoWlUAT/Tn2J UyktRUiX+SNbLvDPj+mT7XsJBH08TZYRGdZf0Ss2hRhsuRKPKtn1DGXfe1/Aor4eSEqk 33TYykB8OlyIwbkn7UuEKwRRm+Muq7mWo4QD3eKV8OMnZzlHKsuTOwjh4ve7EBYX345d gx3T+VY/wGR0IYSp1ml5bgZsB7dTg3qoyqyq9H+1mtzpj82rI2CpL0YyKrUeJ7vRJ40D QRWTWG1jnOI01W0xCGFJwBCZa/0wmjQkXAgG3oqlOAnCLaygGsaN54mCBMno5AHXufZQ Vkgw== X-Gm-Message-State: AN3rC/6SQrO+Lnchk1/Sz2+vTNLYM8yIs2GGNagrDFSsCPfvXu0wk2/N I2fTA1H6aR5SGT1TlDI= X-Received: by 10.84.177.164 with SMTP id x33mr36479175plb.147.1493678813426; Mon, 01 May 2017 15:46:53 -0700 (PDT) Original-Received: from [192.168.24.54] (pl25298.ag0304.nttpc.ne.jp. [133.232.153.210]) by smtp.gmail.com with ESMTPSA id p2sm27129699pfj.93.2017.05.01.15.46.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 May 2017 15:46:52 -0700 (PDT) X-Priority: 3 In-Reply-To: <7c26dfd7-b40a-4339-89e0-8f627c99c247@default> X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214503 Archived-At: > On May 2, 2017, at 1:20, Drew Adams wrote: >=20 >> 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. >>=20 >> Could a small modification of the reference be in order to emphasize = that >> use (with an example eventually) ? >=20 > 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=20=