From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KtYxB8W/IGGXpAAAgWs5BA (envelope-from ) for ; Sat, 21 Aug 2021 10:56:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id h4NdAsW/IGHwYAAAbx9fmQ (envelope-from ) for ; Sat, 21 Aug 2021 08:56:37 +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 0216128E7 for ; Sat, 21 Aug 2021 10:56:36 +0200 (CEST) Received: from localhost ([::1]:46806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHMnq-0006FJ-Re for larch@yhetil.org; Sat, 21 Aug 2021 04:56:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHMmo-0006Ct-23 for emacs-orgmode@gnu.org; Sat, 21 Aug 2021 04:55:30 -0400 Received: from mailbackend.panix.com ([166.84.1.89]:45102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHMmk-0001fi-VR for emacs-orgmode@gnu.org; Sat, 21 Aug 2021 04:55:29 -0400 Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mailbackend.panix.com (Postfix) with ESMTP id 4GsC5971ysz3rb2; Sat, 21 Aug 2021 04:55:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1629536126; bh=FGs5fefJOamHzBpOc+UzNTOSV0G5cMjySh+ciUQk3ak=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=mA0y8N6Jr9nBzNPmZXcbf2Gfpe/oN7obGdCiIjODyMQqlPZMiDcg5OeXZjW2KniFl pGhLsHKfp6vzXWSXSZq9e8o9oGRGDilQGAt5yVLsVHoFUPD3JGinTczD4zk9mai1Vg /oSNV5jEfyhMTJWpokO+7gDR5jDpTEJzB3Ne9yLo= Received: by panix1.panix.com (Postfix, from userid 20712) id 4GsC596Mqpzcbc; Sat, 21 Aug 2021 04:55:25 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by panix1.panix.com (Postfix) with ESMTP id 4GsC595zSgzcbW; Sat, 21 Aug 2021 04:55:25 -0400 (EDT) Date: Sat, 21 Aug 2021 04:55:25 -0400 From: Jude DaShiell To: Tim Cross Subject: Re: forms and org-mode In-Reply-To: <878s0vp4lo.fsf@gmail.com> Message-ID: References: <871r6n5ube.fsf@localhost> <87fsv3pezx.fsf@gmail.com> <878s0vp4lo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Received-SPF: pass client-ip=166.84.1.89; envelope-from=jdashiel@panix.com; helo=mailbackend.panix.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=1629536196; 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=UsunHaOqRLkKOXhFskuwnsmwGWbWnK0Q4rnXiPo/tfs=; b=JwLTAe/+RNku/jeEpgnUiYOMFawSTjPAKs2WJ28shmNsirHQBg0UZAIAv3AbqUGER9WfXD gybr4sebEtDnDdn59tcYBoZ8q6OPdsTx68hXHobieSDW6nxR5SDnd4+QBra3Eqv17XDfK8 bfxQ7ngPVc2/8xwthHulXTocSR+TNbbJ9XVHXMT6vaMzWQnvgKek6FNzs+6n2LeQZ3/t3x S1l/EjUM+ZrHhb18ZOsk2oFga5wwldhYvV33c8IzrDSL+jGlPtZFLskYEQTn0aTAWYnie2 a7ywkOmCmDsRvTSNBAsuPvoLaxndHCdtqltxhTvv3SoziuIah6WTD4ud3HTj1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629536196; a=rsa-sha256; cv=none; b=PA49q/vAPiEx1G1zupV5y8rUJS1XyUIW5P6ibnodlHOE0GJloC6kpeovoLfoSKPo29E+8w oMwCR+g1WU8qLQKYBNUOs4x91c42Uj3rkh26Zr1d9Yaxyn9pNxZRZTs1g76m9QmwQL/bsu RWZJPcBxzFAYIB+Dgw/gnpssF7B45124NCdzzGfVHk+4SeZwe2X6A+gOF8k1o39Ey+V52z hmCjpJlrNUWDfSuKs1A6UEivdO8P8YhZoBYByWPNnOP5tWNYlt3IF2yg9HhTwLrFH6Sf1c qRI2UzumKkwHTj/kPH1BRr4Wr5nIbIDfA9/LVLaOdkFZNCZaZwvfSA596JUIsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=panix.com header.s=panix header.b=mA0y8N6J; 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.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=panix.com header.s=panix header.b=mA0y8N6J; dmarc=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: 0216128E7 X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: DZcGjrQwf/lb Interesting, thanks for your response. I keep tables in their own files, one table per file to minimize complexity. On Sat, 21 Aug 2021, Tim Cross wrote: > > 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? > >> >> > >> >> > >> > >> > >> > > >