From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QPxCHMzBqmSSugAASxT56A (envelope-from ) for ; Sun, 09 Jul 2023 16:18:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wH0jHMzBqmQ1AQEAauVa8A (envelope-from ) for ; Sun, 09 Jul 2023 16:18:52 +0200 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 345763B75E for ; Sun, 9 Jul 2023 16:18:52 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RQnJZAwV; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688912332; 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=X64ROIAr5330FvCsNZ4d6W0r7ydDigM8av+EqrX21kA=; b=pWqLxttZbTR2BXCj4pDXNAYw3eKpgVTF/antKv90JKoGUdnPuKwyepPjoAPP6aD1ZxAIix dKD4cDtqaZfeLNRkAecn0nW3GbuCgxcI7VesV+AR6rzOQQONtsjpfZSt3iNAp8DQXSqKXV SwYT8mlZo9C+SJxSrGeGDC46ZcarOfP3IzCkUZHf6cXQDBpvTS9T09NjSx/3SGa3L9fvd5 QQ1nZeoC9X3W6ChldW32iEoU772QkQXC7asYpMlzN1tRYS4GsVFCqkIQwUqJdc12BGdnlf fy6dD0z2XI6heMrHb0SS8VDjxIT8Aldq4luEf7ElbIFkkF9249mMwTdl1jJ+0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688912332; a=rsa-sha256; cv=none; b=uc9O4JsZFm5ZD9TV1vaAgTXk2VpuI3vt7CR7AYYUF49Zt7+QbttsQDPPTrpa9LXxDnB0ZJ Y35oDc5lU2Vl5TEIORzNsXozDHuz94QMhaiExGIkPEelkox7bRKZLxPugEYLRWbxFyDEBJ o4DkR1KFtrDVrnBgA+kK5spW8Y2GeILdeG+HK+1N1NLoIxlQfKFAITspX9OeMN3skQMLLv hFzmW2igmeNuguC/MGiO3YhJA0pTFY6i4PuVnHWFOWsMqsNeHJSKJgG2vxn9S+rNrvNAZi vWtAtjKtH/V5O/Er9Y0ihURB1RzfKCk4cmv213/Qjxtd/sAvGm7j41GauHSTDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RQnJZAwV; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIVEd-0002lA-Bw; Sun, 09 Jul 2023 10:17:59 -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 1qIVEa-0002k7-Gu for emacs-orgmode@gnu.org; Sun, 09 Jul 2023 10:17:58 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIVEY-0007P5-UY for emacs-orgmode@gnu.org; Sun, 09 Jul 2023 10:17:56 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id F0C97240103 for ; Sun, 9 Jul 2023 16:17:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1688912273; bh=bUxnLRftyWgdeDShePsd0Es/KrfY3XICQrKhMFKRsEQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=RQnJZAwVIzWYsJF+cf3BKLOMo4l9CP18jdc/tmn63zFoVBAJ03YW4OrEycinZGLsx 2ED+YWf3GEVrVa0WayIocb55Y9iGWULtZsmYXudZZ2sQYDg7uvVgI2VRVUqbihqvDt o9Nsm9Du0p9sNow/Jehwpy3w1hzriXvDLmWRBrAcA3rIbCbBymzOlb5H4U+SkzNY9C GGW2mnMlfWJ+3FF7dH70OZrakxM7VFAYCm1mpQnr2mZ4sfjjg3wmh/q9ZuZwbVyfeQ VLm8wETjO7OpTYR5DTAWXPRIiuXvzR04ozAaXPw/oYGrA+NEWhLkegN/5/T7FIuhtD DpQjMQ7mm1eWQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QzTk82Vnzz6tw7; Sun, 9 Jul 2023 16:17:52 +0200 (CEST) From: Ihor Radchenko To: andrea@fedeli.eu Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Error in data input and output format for org-columns--summary-estimate In-Reply-To: References: Date: Sun, 09 Jul 2023 14:17:59 +0000 Message-ID: <87y1jp6ueg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.24 X-Spam-Score: -9.24 X-Migadu-Queue-Id: 345763B75E X-Migadu-Scanner: mx2.migadu.com X-TUID: hQLCggVrw3FA andrea@fedeli.eu writes: > The matter is related to the fact that org-columns--summary-estimate, from org-colview.el, uses function string-to-number to take value on ranges; acting this way > > the unit is removed making impossible to distinguish between 1y and 1min . Similarly, on output, the two margins are produced a (format "%.0f" ), which --again-- is generally wrong as it does not tell anything about the utilized time unit. May you please provide a concrete example demonstrating the problem? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at