all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: 50965@debbugs.gnu.org
Subject: bug#50965: Allow nil third argument for mapconcat
Date: Sat, 02 Oct 2021 15:50:44 +0200	[thread overview]
Message-ID: <87v92ftu17.fsf@gnus.org> (raw)
In-Reply-To: <CADwFkmmunnSTjOf9soSfwJau-yQpW6i6ho6Ge1xqpMGJ+fkVMA@mail.gmail.com> (Stefan Kangas's message of "Sat, 2 Oct 2021 15:22:44 +0200")

Stefan Kangas <stefan@marxist.se> 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





  reply	other threads:[~2021-10-02 13:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-02 13:22 bug#50965: Allow nil third argument for mapconcat Stefan Kangas
2021-10-02 13:50 ` Lars Ingebrigtsen [this message]
2021-10-02 20:12   ` Stefan Kangas
2021-10-02 23:03     ` Stefan Kangas
2021-10-03  5:56       ` Eli Zaretskii
2021-10-03 18:34         ` Stefan Kangas
2021-10-05 13:02           ` Eli Zaretskii
2021-10-05 13:39             ` Stefan Kangas

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v92ftu17.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=50965@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.