From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#33309: Add flatten-list? Date: Tue, 11 Dec 2018 00:34:38 +0100 Message-ID: <87h8flufap.fsf@rub.de> References: <87r2fw7jsa.fsf@gmail.com> <058f4a0f-7ce4-49c4-ae54-0bc259bd82d1@default> <87pnvg7fgg.fsf@gmail.com> <8736r5ojnc.fsf@gmx.de> <87sgz5m98k.fsf@gmail.com> <87tvjl80mx.fsf@tcd.ie> <87pnu9m0ou.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1544484789 12966 195.159.176.226 (10 Dec 2018 23:33:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2018 23:33:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: "Basil L. Contovounesios" , 33309@debbugs.gnu.org, Michael Albinus , Stefan Monnier To: Alex Branham Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 11 00:33:05 2018 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 1gWV2s-0003DP-Ng for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2018 00:33:02 +0100 Original-Received: from localhost ([::1]:35161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWV4z-00058l-GH for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Dec 2018 18:35:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWV4t-00057M-Mn for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2018 18:35:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWV4o-0007gZ-O7 for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2018 18:35:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37996) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gWV4o-0007gJ-Bx for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2018 18:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gWV4o-00036e-2Z for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2018 18:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Dec 2018 23:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33309 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33309-submit@debbugs.gnu.org id=B33309.154448490011926 (code B ref 33309); Mon, 10 Dec 2018 23:35:02 +0000 Original-Received: (at 33309) by debbugs.gnu.org; 10 Dec 2018 23:35:00 +0000 Original-Received: from localhost ([127.0.0.1]:42254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWV4m-00036I-AM for submit@debbugs.gnu.org; Mon, 10 Dec 2018 18:35:00 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:60313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWV4j-000361-Rz for 33309@debbugs.gnu.org; Mon, 10 Dec 2018 18:34:58 -0500 Original-Received: from rosalinde ([178.6.213.140]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MNuwp-1gYP0r1U6t-007Xqj; Tue, 11 Dec 2018 00:34:42 +0100 In-Reply-To: <87pnu9m0ou.fsf@gmail.com> (Alex Branham's message of "Mon, 10 Dec 2018 17:17:21 -0600") X-Provags-ID: V03:K1:a8XT2d2q0KB6UFtocS+qKBukojkMuSxw1Be6gpLlZ18/ZlKC9Dv F/1gvj6j92wB38qA61KWYLG7jl5tCmLRic3UTQ5k/CYU1F8DpTPXB7eAPLrn9a/nh5tz01I wm/hptO+degJ5hmT8+TbejPMUE7tGpn06YwxbtaYQyLlNAq6cHitHtIg5Owfq39ynPEvluu adyOc2wpV0tHk+13/S3Rw== X-UI-Out-Filterresults: notjunk:1;V03:K0:5xrrlG1b8kY=:8gbCCtSztxuDJ00yqnSD0s o8Gwrqi9v/P2lRIBy85J/vyjIsw3yPHtmErUPAjAUy/KPuL9f1xnvUU2hVNYkF9iiEoyY8SYn 0xU9eL6uIpIDc+D4cCdU/KO37h4hKW/3RiIBcLbaYoj2rlZlEraVlnKya9e2UPGV1eMKENKvX H+x2c+Qhe0Kv0YYD7m4EEp8zymOHLrUTaXoVJuy6ZnwfFEirUW/rw2yctsWAO62dqDH2weRWx tNcpn6U1cLZj/Y2uBUO8cvN9xAHao9jQ32jbpS/2ccpzqCKhSA1G8dPUc24nLxm7uWszCRgAL fNkFJxb028pa7K0LKdH2ziaBX6aRMuWqRFxXZeclUKFnVEUPtqorBoG7nLiU1L7N03KR0eDIa JPT2zKPOgwKS+VOPAsJwBo7VJV33Qe3dbb6+v5luEPsb0DdSSuNFnNZLJooctq9/eypgS1cti sb9Ij0T4vefrSmRSCECk7zXdZsmy4x4Lc/YI33H8cXnd2wWK5k7fxf2StcLWT6Nklv/foj/Nv 8Pt3I6YFXFml7l0QBa9iB7x5vq0IQgUiRYZIOStJeTFnwm4fuwzM0PjmlooKMpm3OiWti2Rzm PGnm5OuzAizoJORqgHVN9jbICR3bIhRTsCxEZjJjjwtyunfXeYd4z05zzDiLBB1B3kduuVj2G RjcZ7L/n+ZvBo8o1Igbm4N7to5FLZcvnXTHr3NqPyIGPNMw6LOH+7wzkyuhjqA3RZC6HjZcIU ecRwdHAsNtW6J5WMztTR+cnvcxZPqT8SHVhApJpSf80opaLaz950p5Bdi+U6UXVnXTabpcJO 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:153319 Archived-At: On Mon, 10 Dec 2018 17:17:21 -0600 Alex Branham wrote: > +(defun flatten-tree (tree) > + "Take TREE and \"flatten\" it. > +This always returns a list containing all the elements of TREE. Aren't the elements of a tree all its nodes, both terminal and non-terminal? If so, then the doc string should say flatten-tree returns all terminal nodes, or leaves, of TREE, shouldn't it? Steve Berman