From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#50965: Allow nil third argument for mapconcat Date: Sat, 02 Oct 2021 15:50:44 +0200 Message-ID: <87v92ftu17.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8418"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 50965@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 02 15:56:33 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mWfVA-00022X-1N for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 15:56:32 +0200 Original-Received: from localhost ([::1]:37006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWfV9-0000G6-12 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 09:56:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWfPq-000498-Qh for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 09:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWfPq-0005w4-Jd for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 09:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWfPq-00032A-H0 for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 09:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 13:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50965 X-GNU-PR-Package: emacs Original-Received: via spool by 50965-submit@debbugs.gnu.org id=B50965.163318265811652 (code B ref 50965); Sat, 02 Oct 2021 13:51:02 +0000 Original-Received: (at 50965) by debbugs.gnu.org; 2 Oct 2021 13:50:58 +0000 Original-Received: from localhost ([127.0.0.1]:58377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWfPm-00031s-4y for submit@debbugs.gnu.org; Sat, 02 Oct 2021 09:50:58 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:37366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWfPk-00031e-2J for 50965@debbugs.gnu.org; Sat, 02 Oct 2021 09:50:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BtSypL47lI7/A/zrHQRT3OvhLldCHBKEcbeUJsGNB9E=; b=OOFCGio+UIbW0RD1Xi1XurMlm1 5idLFr/8j92ucvU1VBjYFaqC6sr3bSt0iGDKas6EW0v9pdv+SjqkE/iw40alCE5JJYuPD8GVaziC+ 1ygshE3oCBLwhlrx5G99VWWBzv0qD0pg//2lAtBBcjIUt21+nC6PAvmzK3NfPYZ/k+co=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mWfPb-0003Zf-4u; Sat, 02 Oct 2021 15:50:49 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWFclhVQTIdEAv/ //8rGVcNAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UKAg0xBdQLkNUAAAE5SURBVCjPTZIxbsMwDEXp Idk7tIOPkFN0cYdONWASiHYHsE7TRRo8xwbIU/aTEop4sPTMT0r8NA3Z/NkTXnSxBt8OY4M0QUHr KzzMPOsekBps7DlsxeEIWC+cEdPJQZmuus0EiZHpzJvxzyWgSEGRMiaHp2hSZmEBmBRR2e1wyHVn O3fLp0cqzlBc1RRgmrHzh3C8amxDZi46I2I71r3LUKB/d6ix1gZnz26yrmnQIvkFLOHgfxDUAKj3 Y/MR8PvhRwqsAPCG6+Qi4UEzeBmj7Vu5JyQOAdncwOcU7uSCXHtGgWIOyp8OM0DceQdoK5xalwTA HGt2QGRLrTddb5hPTBsmvo9Gb70f+0pKQ4OHVUBvqAIOgqWeVu2UQhh3iq4PYaKpu6MrwP+EsLAs 5EkxhcwOVx+Q9zr8AQi4PeGz57eYAAAAEGVYSWZJSSoACAAAAAAAAAAAAAAAnDy5KAAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMS0xMC0wMlQxMzo0OTowNSswMDowMMdC5kAAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjEtMTAtMDJUMTM6NDk6MDUrMDA6MDC2H178AAAAAElFTkSuQmCC X-Now-Playing: John Costello's _Tuxedomooning: A Tribute_: "Everything You Want" In-Reply-To: (Stefan Kangas's message of "Sat, 2 Oct 2021 15:22:44 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216150 Archived-At: Stefan Kangas writes: > Please consider allowing an empty third argument for mapconcat that > means the empty string, i.e.: > > (mapconcat FUNCTION SEQUENCE SEPARATOR) > > Becomes: > > (mapconcat FUNCTION SEQUENCE &optional SEPARATOR) I think that makes sense -- SEPARATOR is optional in the related (string-join strings &optional separator) function. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no