From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +Cp2FvfWcV+IPAAA0tVLHw (envelope-from ) for ; Mon, 28 Sep 2020 12:28:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SCxbEvfWcV/XYQAAB5/wlQ (envelope-from ) for ; Mon, 28 Sep 2020 12:28:39 +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 BCEC79402A7 for ; Mon, 28 Sep 2020 12:28:38 +0000 (UTC) Received: from localhost ([::1]:60352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMsGj-0002hg-4V for larch@yhetil.org; Mon, 28 Sep 2020 08:28:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMsFL-0002hW-Dl for emacs-orgmode@gnu.org; Mon, 28 Sep 2020 08:27:12 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:37907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMsFH-0004Xn-BU for emacs-orgmode@gnu.org; Mon, 28 Sep 2020 08:27:11 -0400 Received: by mail-wm1-x333.google.com with SMTP id v12so947707wmh.3 for ; Mon, 28 Sep 2020 05:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=dQ5wC1J+5LIz75xlhruW0ZWP7TcX4FMcNwdCwxDFUqI=; b=jfb1JBH6Mbdd+F4+DMezFjbjo0EeC++IyI1HTl1zMfoqeFzWTN1yXsSC4xcltykUhi ZoUI80vtB9ZyNXZaZ/sMRPoA7JScYGQhE0cuuuw+6HszGw3FmlnA0PpT0F/KNCOtT0eZ iEEWKd2fKrI/seSAP8KrE2nwkxUSxZ2vm0xWGgj2Ne8o49o+k9u5ZV7JtPQQeMVx4ER3 k1hbP/t8rL4sqKOiOAYztzHWNpft9sMYUhHJu1BwKyDTBP4hISwLlIWmCFhaD2kw8Ej2 bSOF0Jv8cXusoWa5IY2YuS5jmyHqWpvT0Ip9+S+PgbNdjCfJQew07Yo2uTNOi/6D0bdn QMkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=dQ5wC1J+5LIz75xlhruW0ZWP7TcX4FMcNwdCwxDFUqI=; b=pcxIyzA8/B5W4/NOISx3zhWRvyiHZ06SGmPWaI0SSUjITS3JXgCIY16+3OP3MfFIMi sJksuReqiGUdg/Rcm8fjoihGq9DdxNtxMX+T6bPlGxBL2bkRI8YftwKRUJ62Fa+UFsiU 9wKwtFMKQRD/duSkJf8N/RYbUxfxuANtvS/c533O64d/8zR3hyRlCp490mclwxPEEzqX 1iSCURSxoxGPU9qy5Bb1iIb5OBBEoY6jY7T0e/MIU/Da/mZw1/2rToLC6nZgKW24t+Dh wO5zWA045SWPcW+vQ+OXEDuq72Xxx0w0xSXMiovLsaZ+VVbB/b0cgA+7yfX/QJgx77le 0BiA== X-Gm-Message-State: AOAM530RmGyyO/mHSZPdqQ33QBl9oklJUDUHHdTIubDwY6oIDBH2SMC+ GDIhZU12LF58M1UKZsHD8IH+y4EdaZg= X-Google-Smtp-Source: ABdhPJxRg8wRtOVUFlZ9vZXkTykTg8Pf9AVyQ47utBBjOlh/joHCMdL0+aKb+9og/CjK+GsfnMy0jA== X-Received: by 2002:a7b:c938:: with SMTP id h24mr1441826wml.142.1601296024639; Mon, 28 Sep 2020 05:27:04 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:5e8:c9a6:d426:17be]) by smtp.gmail.com with ESMTPSA id i14sm1207972wml.24.2020.09.28.05.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 05:27:03 -0700 (PDT) From: Robert Pluim To: Jeremie Juste Subject: Re: org-table-sum References: <87a6xex5o1.fsf@kyleam.com> <87blhsyw5x.fsf@gmail.com> Gmane-Reply-To-List: yes Date: Mon, 28 Sep 2020 14:27:03 +0200 In-Reply-To: <87blhsyw5x.fsf@gmail.com> (Jeremie Juste's message of "Sun, 27 Sep 2020 01:07:22 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=rpluim@gmail.com; helo=mail-wm1-x333.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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: Kein Test , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jfb1JBH6; 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-Spam-Score: -1.71 X-TUID: UazcphtpABo4 >>>>> On Sun, 27 Sep 2020 01:07:22 +0200, Jeremie Juste said: Jeremie> Hello, Jeremie> Thanks for the input. Jeremie> From what I understand, it seems that org-table-sum is not beh= aving as Jeremie> expected. I don't know if it would be interesting to split the= function Jeremie> into 2. One for summing of time values and one for summing int= egers? I suspect that the people using org-table sum would not want to split the function in two: it=CA=BCs a useful utility function (and why split off the integer summing? That=CA=BCs always going to be accurate). Jeremie> For the sum of integers (possibly real numbers) it might be in= teresting Jeremie> to make a function use TBLFM directly?=20 You could make org-table-sum use calc, which would achieve the same. I don=CA=BCt think there'd be any complaints about floating-point additions suddenly being more accurate (famous last words) Robert --=20