From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#42324: 26.3; Doc string of `seq-concatenate' Date: Tue, 25 Aug 2020 15:24:45 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37948"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42324@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 26 00:25:10 2020 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 1kAhNO-0009lG-0D for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 00:25:10 +0200 Original-Received: from localhost ([::1]:51560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAhNM-0005l7-VR for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Aug 2020 18:25:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAhNG-0005ku-IJ for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 18:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAhNG-0003kQ-7W for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 18:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAhNG-0005kK-3Z for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 18:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Aug 2020 22:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42324 X-GNU-PR-Package: emacs Original-Received: via spool by 42324-submit@debbugs.gnu.org id=B42324.159839429222069 (code B ref 42324); Tue, 25 Aug 2020 22:25:02 +0000 Original-Received: (at 42324) by debbugs.gnu.org; 25 Aug 2020 22:24:52 +0000 Original-Received: from localhost ([127.0.0.1]:36316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAhN6-0005jt-HD for submit@debbugs.gnu.org; Tue, 25 Aug 2020 18:24:52 -0400 Original-Received: from mail-yb1-f171.google.com ([209.85.219.171]:33314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAhN5-0005jg-E8 for 42324@debbugs.gnu.org; Tue, 25 Aug 2020 18:24:51 -0400 Original-Received: by mail-yb1-f171.google.com with SMTP id p191so139267ybg.0 for <42324@debbugs.gnu.org>; Tue, 25 Aug 2020 15:24:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc :content-transfer-encoding; bh=Ps0ZHIRHhWKn29TkGmQt0gnPB1pTCSBomotnuYlbHto=; b=gm9ktU5uXATm4nLedrNCm47T9fq8h6y9AOgWKT+PZ2ZWqjHZnf0LsfPz8iUbx2rMqc dpH9rnHBZKI5UBjKkwCKhxsXgnFOcimVIFK2ZKofN6gsY/uZ3OiTZheSJnscioHt81Cb kLJNrtrS9aUTEkIhAnsW5e3z6eT0b1HG9AgRtlXQs5vtiBcKjJbbdsSqhprKmDdfpg63 4LdTR1m7AZtNSXOOuJJpGEDNXG3SIqRTTZKEgI0f+3jYnOgMJ+kzTqVdOmUyutj5B5Je PAyrbMj468HKKrPxMs8+ae2csiWAjaFvNdTw2Fzf2CuyWNXo8fNvj6o1ydRjuu24GRIN V78Q== X-Gm-Message-State: AOAM533gyzxRoUnIFa59pEXNfem67N4DdEJpS2neFwhDYhKYh44KEn9H j8ruT7+AbJViWEjR8NUHW3GS3v7iNxASupg8rHo= X-Google-Smtp-Source: ABdhPJyQcWWzwkXg4WZC6y5CSDZYgglJGYqnn7S9l35kHU5Kgn7binq/6AwFdD7Y47NPe9t5HCGOndPk2iO4+jyzq80= X-Received: by 2002:a25:9843:: with SMTP id k3mr17993738ybo.466.1598394285913; Tue, 25 Aug 2020 15:24:45 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Aug 2020 15:24:45 -0700 In-Reply-To: (Drew Adams's message of "Sat, 11 Jul 2020 09:10:36 -0700 (PDT)") 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:186358 Archived-At: Drew Adams writes: > C-h f seq-concatenate > ___ > > seq-concatenate is a compiled Lisp function in 'seq.el'. > > (seq-concatenate TYPE SEQUENCE...) > > Concatenate SEQUENCES into a single sequence of type TYPE. > TYPE must be one of following symbols: vector, string or list. > > > This is a generic function. > > Implementations: > > (type &rest sequences) in 'seq.el'. > > Undocumented > ___ > > 1. See bug #42323 for the problem of the unhelpful, implicit reference > to CL implementations and "generic function". Do we need two bugs to track that? It looks to me like essentially the same issue. > 2. The doc of `seq-concatenate' _really_ needs a description of how it > differs from `cl-concatenate'. That's completely unclear. On current master I see: cl-concatenate is an alias for =E2=80=98seq-concatenate=E2=80=99 in =E2=80= =98cl-extra.el=E2=80=99. > 3. The doc says nothing about each SEQUENCE actually being automatically > converted (by copying, presumably) into a real sequence: > `seq-into-sequence'. It's not clear what's allowed as SEQUENCE. I'm not sure I understand this. > #2 is the main reason I filed this bug report. What's the difference? > Why/when would you use one rather than the other? Best regards, Stefan Kangas