From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sO3vHKC9IGGhnwAAgWs5BA (envelope-from ) for ; Sat, 21 Aug 2021 10:47:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YOiUGKC9IGHVFQAAB5/wlQ (envelope-from ) for ; Sat, 21 Aug 2021 08:47:28 +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 CDF4B27DD4 for ; Sat, 21 Aug 2021 10:47:27 +0200 (CEST) Received: from localhost ([::1]:41206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHMf0-00020x-6b for larch@yhetil.org; Sat, 21 Aug 2021 04:47:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHMeQ-00020d-SJ for emacs-orgmode@gnu.org; Sat, 21 Aug 2021 04:46:50 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:54907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHMeP-0002Gb-Bo for emacs-orgmode@gnu.org; Sat, 21 Aug 2021 04:46:50 -0400 Received: by mail-pj1-x1034.google.com with SMTP id n5so8828782pjt.4 for ; Sat, 21 Aug 2021 01:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=QTtvJ7/3V+Ds8HQ0aGSznFBGt9Xnqd8TLAaGvSJ2be0=; b=p6Zr3saI1mejilZnp48C/bRXnu2k2x2p18nsyj1Inwfakk9gPCRSnuQIXc+eZ60Otk 9B74fWb7l4v8LmcNv+P+StTCz/MgTxmVHgUsjved1FTkidbmUG2fxO3Nap7dCoW8K+t/ M0eVpjjhQXV07ZhIe+2nDoTpeS9Ez1e3p2IEKjw3MB7SBPgtpA3rV8fOGzkd26k8uqpb taEr7c9sldJWympyIKLYcqzOnRQYZKp/59zBTmBdrQoamsyKzJMGCwq+O4WtpmSeF6i/ khIgFvonRJWNrWhSyHCsKivvO1SFdfrX+lzcc1tlv3wBZx06/NQraXoX2UUx+y2rcYDK /+FQ== 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:date :in-reply-to:message-id:mime-version; bh=QTtvJ7/3V+Ds8HQ0aGSznFBGt9Xnqd8TLAaGvSJ2be0=; b=kGBymtLlbGb5+bSSqX7+kCOf/L3HWgTCWY8bgwvzex8X7dAHfmGQcyBrgTz4nmFCkq Ts/z28p90YQmRL6I1sfi8n6xvzqcbPJK5eiszihSgFAzjgA9O7DdMbRP0rSmhxlaKCvk eUVaEJiNkA2RERYdWCqK7X4usJvVobRI42PallCvrP32xPQdfEOQ06S+muvptzJUro8H 7ZKNREPVIGwC494BFda8a9/30pW+m1OZeBDPaEAGoJdwxALk78LdQK6h4WOVBaWA9SSI duvmzxRiwmXXNmFmxsObGXcCXU+GPyaV4xnwZu+kG8wezudbCom4IMqgL6kB0SYMILoD HVgA== X-Gm-Message-State: AOAM5320BNv5HXYoXngzwCEMa9gnz1FK7FJz0PFa03PORDZmNDIOfo0r YbNIYWCzvXmKfbbVylO0tXARwMs8x4k= X-Google-Smtp-Source: ABdhPJzHA5FtNfTd/UDbSyhgM8A+FpQQuxMK4jxwDGnisf1TKkCU4tSHlN7tx+ZjOtd9chgI/tPNWA== X-Received: by 2002:a17:902:bb81:b0:12d:a7ec:3d85 with SMTP id m1-20020a170902bb8100b0012da7ec3d85mr20016132pls.17.1629535607760; Sat, 21 Aug 2021 01:46:47 -0700 (PDT) Received: from tim-desktop (106-69-122-228.dyn.iinet.net.au. [106.69.122.228]) by smtp.gmail.com with ESMTPSA id r78sm9845417pfc.206.2021.08.21.01.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Aug 2021 01:46:47 -0700 (PDT) References: <871r6n5ube.fsf@localhost> <87fsv3pezx.fsf@gmail.com> User-agent: mu4e 1.6.3; emacs 27.2.50 From: Tim Cross To: Jude DaShiell Subject: Re: forms and org-mode Date: Sat, 21 Aug 2021 18:33:50 +1000 In-reply-to: Message-ID: <878s0vp4lo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Cc: emacs-orgmode@gnu.org 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=1629535647; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QTtvJ7/3V+Ds8HQ0aGSznFBGt9Xnqd8TLAaGvSJ2be0=; b=E0onCvSU2rjuWbIemW+9ismNWtDtwLeMf4cLXChNVgCHuU+DMPsF5/GTBvG4LQwWYa9DZD m6wcTGPm9hfvIVYZ0mBuI34h2OguiOYHiSmOgfYRPY5mCY7CGmjySNU1f1CJ09wpLNW8qj LcB6yLWp8fQh307RCUMnv+0urctQYRsL2pWd4Qq9mdmE58Nv98ptN5jXJSVdWvunRzJa+h Srf007B9MJv/hvjzUcn3fPAG5a410c6OQYtJKgJp4H6wdq4vc7mAWkUIk454UbYltaV81k 1/z31wefcckwifj0NGCA4wTFZEXNUeHCQMtrPr+HLG/To+mgPqrwnGkER7QYQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629535647; a=rsa-sha256; cv=none; b=CJx7ld8P7fMG2OaZrx9rAoSpghJNfvMAr+cyDcskDl7KwmHtEE3GgYBp7cCnOoUVn1LqiL n1NhFHO0E2NVAWNwJQNK5fj2wcbe4Ytjv78c2L80ElkNiOmrQdsMW9ez2w3yqlIZ8I6z4X OkIpAlXhS3ug7Hq7IOmmK1zCkbSLg3HOUXF+OLO921AMg+jP+YGCEhmif0HXOXbZm+B29c 9UgHwS7ORhoBVsDPZ+66SnTAmRxnkPK87QKYwBY0PqCkGNUAmdoYHZgYWGt1dK7943+YBs SzEMyj2Gwi4Bv/QiXCzfvOn40wEoH9fJSJ0jWWbRwBxRavdmTwt+eSEirWKzkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=p6Zr3saI; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=p6Zr3saI; dmarc=pass (policy=none) header.from=gmail.com; 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: CDF4B27DD4 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: wsAnVd1EwPP4 OK, but I'm still a little unclear exactly what you are asking about. If it is just a general question about whether Emacs Forms could be used for data input into an org table, the basic answer is yes, I think so. If your asking if anyone has done this - not that I'm aware of. If your asking how hard it would be to do, well that depends. The biggest challenge I can see is that Emacs forms expects a data file which just consists of one record per line where each record is separated by a specific character. That part is not too hard. However, where things might get tricky is if you want to keep the data in an org file with other org data. I imagine you could maintain a table in a data file fairly easily. You can use the org '|' as the field separators and you would likely need to write an input and output filter function to remove white space and add it back on writing. None of this would be too hard. However, if you wanted an emacs forms interface to one or more tables inside a normal org file, it might be more tricky. You would need a far more sophisticated input/output filters and possibly need to narrow the file or do something else to help the filter functions target the data. It has been many years since I used Emacs Forms. From memory, I gave up on them as the level of maintenance exceeded the usefulness. I guess it all really depends on how much data you need to edit and how predictable the target data files are. . Jude DaShiell writes: > My reason for using forms to do data input into org tables is to minimize > errors in the data input to the org tables. > > On Sat, 21 Aug 2021, Tim Cross wrote: > >> >> So you are asking about using Emacs forms for data input into an org >> table? >> >> Just not clear on what exactly your asking about. >> >> Jude DaShiell writes: >> >> > A table with a time stamp column, a text column for notes and an interval >> > column rounded to nearest hour. Any statistics to be calculated on that >> > intervals column. >> > >> > >> > On Sat, 21 Aug 2021, Ihor Radchenko wrote: >> > >> >> Can you elaborate? >> >> >> >> >> >> >>