From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#26925: Improve /doc/lispref/strings.texi (split-string) documentation Date: Sun, 04 Jun 2017 18:46:39 +0300 Message-ID: <8337bfbvs0.fsf@gnu.org> 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> <5D1082E3-48E6-4A39-B831-55BA992C7CC9@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1496591303 18027 195.159.176.226 (4 Jun 2017 15:48:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Jun 2017 15:48:23 +0000 (UTC) Cc: 26925@debbugs.gnu.org, stephen.berman@gmx.net, michael.albinus@gmx.de To: Jean-Christophe Helary Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 04 17:48:15 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 1dHXlH-0004AE-05 for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jun 2017 17:48:15 +0200 Original-Received: from localhost ([::1]:57359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHXlI-0004VB-Hv for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jun 2017 11:48:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHXl8-0004UQ-5g for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 11:48:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHXl4-0008RP-9T for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 11:48:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHXl4-0008RF-5d for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 11:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dHXl3-0004ua-L5 for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2017 11:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jun 2017 15:48: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.149659122618809 (code B ref 26925); Sun, 04 Jun 2017 15:48:01 +0000 Original-Received: (at 26925) by debbugs.gnu.org; 4 Jun 2017 15:47:06 +0000 Original-Received: from localhost ([127.0.0.1]:55974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHXkA-0004tJ-5w for submit@debbugs.gnu.org; Sun, 04 Jun 2017 11:47:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHXk8-0004so-Dr for 26925@debbugs.gnu.org; Sun, 04 Jun 2017 11:47:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHXk2-0007Fu-EH for 26925@debbugs.gnu.org; Sun, 04 Jun 2017 11:46:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHXjv-000765-Si; Sun, 04 Jun 2017 11:46:51 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3511 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dHXju-0002DL-WC; Sun, 04 Jun 2017 11:46:51 -0400 In-reply-to: <5D1082E3-48E6-4A39-B831-55BA992C7CC9@gmail.com> (message from Jean-Christophe Helary on Mon, 5 Jun 2017 00:14:14 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:133259 Archived-At: > From: Jean-Christophe Helary > Date: Mon, 5 Jun 2017 00:14:14 +0900 > Cc: Michael Albinus , > 26925@debbugs.gnu.org, > stephen.berman@gmx.net > > If you don't want to see that string change, just say so and I'll drop it. I thought I did, in the very first response to your change suggestion. But if that makes you so much unhappy, please go ahead and make the change. > >> And btw, the docstring of `split-string' does not speak about TRIM as > >> "optional argument" either. > > > > 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. And yet we usually do say explicitly in doc strings that optional arguments are optional.