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.bugs Subject: bug#26925: Improve /doc/lispref/strings.texi (split-string) documentation Date: Mon, 5 Jun 2017 00:14:14 +0900 Message-ID: <5D1082E3-48E6-4A39-B831-55BA992C7CC9@gmail.com> References: <93AB3C85-27C1-48FF-8C3D-B90B4CF33670@gmail.com> <83o9up2hli.fsf@gnu.org> <7F0AE9BE-93FF-4CF7-8F76-AE1BD0CFDDDC@gmail.com> <83inkx2eeu.fsf@gnu.org> <87vaoxoty1.fsf@rosalinde> <3D9A3600-CF3D-4DD9-866C-CBEE8F692B25@gmail.com> <83o9u5bde1.fsf@gnu.org> <12A8E2CE-F2F5-4DB9-88DE-BCD40513EEBA@gmail.com> <83h8zxb02p.fsf@gnu.org> <98B33B3E-AB18-4BDB-A012-5270F3FCD7C2@gmail.com> <83bmq4bhpv.fsf@gnu.org> <87efv09oqj.fsf@detlef> <83a85nc0tu.fsf@gnu.org> 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 1496589338 14079 195.159.176.226 (4 Jun 2017 15:15:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Jun 2017 15:15:38 +0000 (UTC) Cc: 26925@debbugs.gnu.org, stephen.berman@gmx.net, Michael Albinus To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 04 17:15:31 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dHXFZ-0003DV-Dm for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jun 2017 17:15:29 +0200 Original-Received: from localhost ([::1]:57292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHXFe-0004f5-IY for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jun 2017 11:15:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHXFB-0004OC-Gr for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 11:15:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHXF8-0001nD-BY for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 11:15:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHXF8-0001mW-7l for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 11:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dHXF7-00047X-SS for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 11:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean-Christophe Helary Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jun 2017 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26925 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 26925-submit@debbugs.gnu.org id=B26925.149658926515786 (code B ref 26925); Sun, 04 Jun 2017 15:15:01 +0000 Original-Received: (at 26925) by debbugs.gnu.org; 4 Jun 2017 15:14:25 +0000 Original-Received: from localhost ([127.0.0.1]:55958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHXEX-00046Y-IO for submit@debbugs.gnu.org; Sun, 04 Jun 2017 11:14:25 -0400 Original-Received: from mail-pg0-f68.google.com ([74.125.83.68]:35336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHXEW-00046L-2R for 26925@debbugs.gnu.org; Sun, 04 Jun 2017 11:14:24 -0400 Original-Received: by mail-pg0-f68.google.com with SMTP id f127so7038431pgc.2 for <26925@debbugs.gnu.org>; Sun, 04 Jun 2017 08:14:24 -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:cc :content-transfer-encoding:message-id:references:to; bh=otqTW8+cWihEKJZyuiKzb87H1oudr3tVsoxpQZQKk74=; b=JVzavZb9QxwPiRhA8TaBK+4Pw1vsBqHDDxWJv7Uuu3f4bhkqU+RluXgR7VKLj7ydFv ChJVLUXRakZYv9qt5QDhCMyRLRVSRjQPo18NAgaPHEvTU7s0VdnTRC4J6ha40ev50fcp 0GuV3d4RQuNW/fSFzHEHw/pC7+MQWVODnSzjMX2EzDh5mNYtqBUkl2ygswBNAh79eBCD 6V18+2HF9LdVgZWeNnpZjkCM4OXTVPinvuTW/H5MlIiPlcBRN+sfYxE8yWfK6Esc/+NX zFqe84BVKvTN0Nc1t8uOprO94EG1w/tZSa0vk1R7yOG+T9WSixPTGwRTUARWkXNyB3mR 8eVg== 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:cc :content-transfer-encoding:message-id:references:to; bh=otqTW8+cWihEKJZyuiKzb87H1oudr3tVsoxpQZQKk74=; b=blgn6NN/saQfnHiRnQOVcX6rxg9Q1NVYhecqpFuYFClRXK22264ZodBjgTlWXC7mr+ ql/hWbQxi47bqVa/JianUaQ93ou5/5zRNkHFY+ugUIwFYk/Ii7HcKb08daHk9plRiFNX m421HfvdNTNQTfwnFeXEPESveSeVRaxXhsGTlvQYERvRBxK62+ERfCptxdGaRH3PRsm5 KM6wHDpMzKIMdKyGzj80FNewy0XmbgE5popvlZq+NMCKCzTjrDLJwG/7EEFQN5fNmxGy qQ/k4tt8cFPrtJZbxSJmHLLi0+ddegVY/qOjGPWve9OkWZzZxnvzcB5LufQmvnyQl94U FBFA== X-Gm-Message-State: AODbwcAS5S9cQ2AlFK6at6Np8inn4GjWJEmSpNIA/ITkyCYhqHTo7KIA fTpaKVek2TtoCg== X-Received: by 10.101.70.70 with SMTP id k6mr16489994pgr.39.1496589258453; Sun, 04 Jun 2017 08:14:18 -0700 (PDT) Original-Received: from [192.168.24.55] (pl2587.ag0304.nttpc.ne.jp. [128.53.196.27]) by smtp.gmail.com with ESMTPSA id z7sm36685405pgr.3.2017.06.04.08.14.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Jun 2017 08:14:17 -0700 (PDT) In-Reply-To: <83a85nc0tu.fsf@gnu.org> X-Mailer: Apple Mail (2.3273) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133257 Archived-At: > On 2017/06/04, at 22:57, Eli Zaretskii wrote: >=20 > Frankly, I think we are splitting hair, but anyway... *You* are splitting hairs. If I had made that modification in the first = patch I sent we would never be having this conversation. If you don't want to see that string change, just say so and I'll drop = it. >> And btw, the docstring of `split-string' does not speak about TRIM as >> "optional argument" either. >=20 > Which is a mistake, IMO, because the doc string uses neither of the > above 2 patterns, and so makes it sound like these arguments are not > optional at all. No, because in the function signature they are defined as optional. If = people go as far as checking the doc string, they at least take a look = at the function signature. There is no ambiguity there at all. Jean-Christophe=