From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Branham Newsgroups: gmane.emacs.bugs Subject: bug#33309: Add flatten-list? Date: Mon, 10 Dec 2018 17:06:21 -0600 Message-ID: <87r2epm176.fsf@gmail.com> References: <87r2fw7jsa.fsf@gmail.com> <058f4a0f-7ce4-49c4-ae54-0bc259bd82d1@default> <87pnvg7fgg.fsf@gmail.com> <8736r5ojnc.fsf@gmx.de> <87sgz5m98k.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1544483107 21665 195.159.176.226 (10 Dec 2018 23:05:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2018 23:05:07 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: 33309@debbugs.gnu.org, Michael Albinus To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 11 00:05:03 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 1gWUbm-0005Un-H3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2018 00:05:02 +0100 Original-Received: from localhost ([::1]:35088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWUdt-0007Ge-8U for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Dec 2018 18:07:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWUdm-0007GN-U6 for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2018 18:07:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWUdi-0004O0-HX for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2018 18:07:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gWUdi-0004Na-9t for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2018 18:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gWUdi-0002OS-3w for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2018 18:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alex Branham Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Dec 2018 23:07: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.15444831929163 (code B ref 33309); Mon, 10 Dec 2018 23:07:02 +0000 Original-Received: (at 33309) by debbugs.gnu.org; 10 Dec 2018 23:06:32 +0000 Original-Received: from localhost ([127.0.0.1]:42233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWUdE-0002Nj-EJ for submit@debbugs.gnu.org; Mon, 10 Dec 2018 18:06:32 -0500 Original-Received: from mail-oi1-f177.google.com ([209.85.167.177]:41330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWUdD-0002NW-5T for 33309@debbugs.gnu.org; Mon, 10 Dec 2018 18:06:31 -0500 Original-Received: by mail-oi1-f177.google.com with SMTP id j21so10467170oii.8 for <33309@debbugs.gnu.org>; Mon, 10 Dec 2018 15:06:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=w7JmXwIrWgMb/CtCkeZyQp5Zwy9DRKkk/35ZRZT/M5A=; b=SpeZ0FB/8chre0mXRwvjPBLmhsqrs+q3J0bQwmFFJnXbb1LSq/vmtTzU/fFoVbUlgT QPISSF/JsBtDRCcabGEnKM1LgXPJ7vfouNy2M1jLBWaJfXdeRe6sBrHzIqJmWeNOtpRF iKbUjkAmlJdwbVtuAXWzkSUg5UeeqJe3zTdodG2nxcwEcDVv2hss4PUq8JVvzLjxD6X3 D0ohQgY3rKP6dqA0KaUy/bV+J+KV8ncgH8+vJRmEiypFGY+TkBNb5UL4SijLS1/+7f+N zyYG2tqQE7p++5UOP4fajs8CuJNTSB/W1pjRn/SIdVs5gQunJsQyOX7GX7CWy08MIs81 MqyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=w7JmXwIrWgMb/CtCkeZyQp5Zwy9DRKkk/35ZRZT/M5A=; b=r474FYzbsRl0WNUalUOj6QuNJPn6ZdJ1CiWz4NRvl3c4p3uIIkTT1maxdnSHb2v3hA JF1J/yl3cEMnJmF0VSm5xqoloyRtaCj7F5ouFepdpnBW0VudOOfgwXhlJGky1Z6nnxFb Psd7mttkD9ZObPLiMFX3CMYnWS0x+JaPyS81j7br0k0X6PZ+eOQh1PvbzjmPJN3iWDoU Ahr+1+4F9IJVNdCRKO1lvPnWys7C59N1i5S2vA4AuNWAcxU5FBQJ/ZxiAxj+BqNbPli4 89Ik0ktGTRvpV+Jqgkgl3HSG8YPycX/9ZT5zCtrYIMwir/fzzN75jJdyRXwG+dglLRe5 LbZg== X-Gm-Message-State: AA+aEWaOMRy0OniKeDSFAU6Hc+TnbFI/xKjasTGcpZqiLhaP7h4inH6P nRNdafR5aDTOZUtQLYxj65M= X-Google-Smtp-Source: AFSGD/V0br9VwYsE9cWo4oYadhB32i8Me/8GKiuN8dlzQeLRlc9TrtKwBmFgzjonrHO/BPOUvGf6mg== X-Received: by 2002:aca:4506:: with SMTP id s6mr2171oia.115.1544483185426; Mon, 10 Dec 2018 15:06:25 -0800 (PST) Original-Received: from earth (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id x127sm6035724oia.20.2018.12.10.15.06.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Dec 2018 15:06:24 -0800 (PST) In-reply-to: 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:153315 Archived-At: On Mon 10 Dec 2018 at 15:36, Stefan Monnier wrote: > I think we should document clearly what should happen with nil and with > dotted pairs. Thanks for checking those others. I think it makes sense to completely "flatten" the tree. In other words, combine all dotted pairs. I'm less sure about what to do with nil entries. It looks like most of the existing implementations drop nil elements, so I guess we'll do that? Alex