From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +H6UFmf09mBjDwAAgWs5BA (envelope-from ) for ; Tue, 20 Jul 2021 18:05:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SJ+2EWf09mBCVwAAB5/wlQ (envelope-from ) for ; Tue, 20 Jul 2021 16:05:59 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7FE0BC5C2 for ; Tue, 20 Jul 2021 18:05:58 +0200 (CEST) Received: from localhost ([::1]:48268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5sFp-0006gz-GR for larch@yhetil.org; Tue, 20 Jul 2021 12:05:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5sD9-0003Sj-Da for emacs-orgmode@gnu.org; Tue, 20 Jul 2021 12:03:11 -0400 Received: from ciao.gmane.io ([116.202.254.214]:58320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5sD7-0002TJ-SI for emacs-orgmode@gnu.org; Tue, 20 Jul 2021 12:03:11 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1m5sD4-0006kP-HS for emacs-orgmode@gnu.org; Tue, 20 Jul 2021 18:03:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Nick Dokos Subject: Re: convert subtree or nested list to table Date: Tue, 20 Jul 2021 12:03:02 -0400 Message-ID: <87lf61ug5l.fsf@alphaville.usersys.redhat.com> References: <26be9301-9e1a-0dc0-47c7-53e7ffc3e6d3@free.fr> <87v95l2dxa.fsf@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:H4gZOpTEF/7X24P+iclC6chWKMs= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626797159; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Gq4FgaX0dRTsg7Yb9IFQmQyqzxqOZwC1jOiQtcuQHz4=; b=lubGTTueVgQ8OHRUfbGmQZLBA+gVGxhujLl1IlwHCwp19mWQ3fjGp/fpjIYuA+I5ZCZyB/ BXW4aS8lVoaoljCy9snrTYPpZl3jicQ3FpfU0OmASyiuBU7e0FPxBrWdYSko70c4L9c2hr B9gbRMpyf/RUyuZIX/NeqV7kRBhQklQvwfi1ijXLoWtpk5DCYYDVznUbw7YrWMtzhJw26c GjHHJyaKdcujRAMS6Oeu7zwSVI32Nn544dVQXDyOa08imKojpnqVethtuwrg4KQGn+WE/p YubmUf0QhOB1xAlXLbgIV1WTJ0eCd7tQs4hVo39KiQqSAnzHVDGsonaZHCliWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626797159; a=rsa-sha256; cv=none; b=KO7Aj1mbVJArk4vwihfWNG3a1+YGqMN8cMSnuQG48DbJb4iikFGGRoTMC9Ev1s1mDsn6T+ n9/0jIRx/Y2DTTLs8N5GXO7zcOzZn7Sfx4IHVONUarqwUDdC2P7fatxt+I7YcnPrFevzD2 tSCjJrhKAtMNVqspWtYKVa624D0q9GonhojXXIUEqAxYPrIAePfz5iNDQ3HkIlogPKqwAW fKUSRPCHNsYjyERaEGTFWyMDOKEt9mpA5ZSpFKNaazghiyK070MSlLZsv6+cp5LWsuj2oP szZy1BfjPGs7ymiflINEwLsfGs04Wg+zKSFc8zKTGgI2NVkyHyW+eX42zkzDxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.82 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7FE0BC5C2 X-Spam-Score: -1.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: sqf8Uo8V0aen Matt Price writes: > Christian et al, > > I seem to have broken something while fiddling around and I can't quite make out what.  Would someone be willing to check for me whether this does or does not produce the desired full table? Right now I am again getting a truncated result and I'm not > fully sure what I might be oding wrong.  Here is what I have: > > #+NAME: rubric-one > - Grade >   a. A >   b. B >   c. C >   d. D >   e. F > - Style >   a. Excellent >   b. Good >   c. Adequate >   d. Lousy >   e. Failing > These seem to have zero-width spaces and maybe that breaks the structure. To make sure that the structure is recognized properly, maybe try a very simple code block: --8<---------------cut here---------------start------------->8--- #+begin_src elisp :var data=rubric-one :results drawer data #+end_src #+RESULTS: :results: ((Grade (ordered (A) (B) (C) (D) (F))) (Style (ordered (Excellent) (Good) (Adequate) (Lousy) (Failing)))) :end: --8<---------------cut here---------------end--------------->8--- If that does not work, then something is fishy with `rubric-one', so start there. -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler