From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +DW9N6k9ZmMbAwAAbAwnHQ (envelope-from ) for ; Sat, 05 Nov 2022 11:40:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GIaTN6k9ZmNpPQEAauVa8A (envelope-from ) for ; Sat, 05 Nov 2022 11:40:41 +0100 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 C19A2E463 for ; Sat, 5 Nov 2022 11:40:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orGai-0003FN-1E; Sat, 05 Nov 2022 06:39:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orGag-0003FF-Ca for emacs-orgmode@gnu.org; Sat, 05 Nov 2022 06:39:54 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orGae-00037z-SC for emacs-orgmode@gnu.org; Sat, 05 Nov 2022 06:39:54 -0400 Received: from localhost ([::ffff:197.239.4.26]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000008201D.0000000063663D78.0000470B; Sat, 05 Nov 2022 03:39:52 -0700 Date: Sat, 5 Nov 2022 13:23:22 +0300 From: Jean Louis To: Heime Cc: "emacs-orgmode@gnu.org" Subject: Re: Inserting tables programatically in elisp Message-ID: Mail-Followup-To: Heime , "emacs-orgmode@gnu.org" References: <6G8r6Q0wA7TY17mTPQagC7PryWleqGax0pOrX8L2xjoiPqsFkn9baSX9lFxMC6HYwVK2H1EHc0rM8cGdPDaVLmUoflOoERNI0wbf_Ro0TZg=@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <6G8r6Q0wA7TY17mTPQagC7PryWleqGax0pOrX8L2xjoiPqsFkn9baSX9lFxMC6HYwVK2H1EHc0rM8cGdPDaVLmUoflOoERNI0wbf_Ro0TZg=@protonmail.com> User-Agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SBL=0.141, SPF_HELO_PASS=-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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667644841; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=plzbgQX3mmzYMah/qdTPqUwYXJmIM+jv/Aknc9XWnsM=; b=t0P3hgf3mT+hmaeLXvvUvp4AcsZmPZEM0Hlg7qUR0bsUO+R/0FpxNQ3kIM0n/UFd7+WSMB GAi0KhvIdaTLrzdHUbCV7Kdjt18kX3n6rwTwQguUoTOE9V+8dwKPEOo7RxJVpItQQxsHtP 7vgbLMKnewsTe+TukNtT251aGMXpmDhfSeejy6LFSA7VFRMHcnx2WOTUO+/wx6vmKgoSRX wksbZc/EJQVf6qPpicXuIOnkGTZJCcgTy6VK6BCMDGcGagW3S66gtsXvp44FL4atVYUQRN Snop+udOQZzl5YTL0wiw9RmoBlEfu5YOANuw0cUxNq2HymDpGDWLwe38/QQ/LQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667644841; a=rsa-sha256; cv=none; b=hCcqxJlTkHFCK1H142Ih85Bq8PapTRH890R7VSKu5HVsjV3sK5TFUS9eqS5XZpZY9hJHs5 aIOEGMnxo0VBMIcz4sX5dhHqAx4oOumPuakbXI/zod1eBh/OOBDQJ0JwYZzI5/j08v5D3M UIHmjya+HHWqgQCsWvIn8u024Gj090CQU87ubwGC3354tjI4YfSYZnNTHogwStPduNVe7c fCm2/q7Y7d8pfYAjwb9l1YSdpf5ryw++VKylJhTmBAZrT/D4Ge8Oi4kMkSqrxnAQIECFd4 C2+52xyhadRtztJdFaVzdE7AbhjNP/WG1Uj8pcTA8Uw/u8EiZO3JLoBY8W13xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.49 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C19A2E463 X-Spam-Score: 0.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: laMpLmMBErwL * Heime [2022-11-05 12:27]: > The problem I see is that the code assumes use of org-mode, whereas > I am interested in more general tables in any buffer. At first > perhaps just making a table for display rather than for user > interaction. You said you want them generated programmatically first. That is what I also do and like. Though I may often use PostgreSQL for data storage, and it's Asciidoc table output function. It is built-in. For presentation purposes I use HTML or PDF. For presentation and purposes in Emacs, I use tabulated-list-mode and often Org mode. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/