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 ms11 with LMTPS id o7mgFpK8vV/6VwAA0tVLHw (envelope-from ) for ; Wed, 25 Nov 2020 02:08:18 +0000 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 MKjKEZK8vV9QHwAAbx9fmQ (envelope-from ) for ; Wed, 25 Nov 2020 02:08:18 +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 3CA8394028F for ; Wed, 25 Nov 2020 02:08:17 +0000 (UTC) Received: from localhost ([::1]:60854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khkEB-0005Ew-Tx for larch@yhetil.org; Tue, 24 Nov 2020 21:08:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khkDn-0005Ej-AS for emacs-orgmode@gnu.org; Tue, 24 Nov 2020 21:07:51 -0500 Received: from pb-smtp21.pobox.com ([173.228.157.53]:62522) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khkDl-0000aT-2r for emacs-orgmode@gnu.org; Tue, 24 Nov 2020 21:07:50 -0500 Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 75559FC828; Tue, 24 Nov 2020 21:07:46 -0500 (EST) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=1FSvSjyyCHMTdK5lzGwanwYyLJE=; b=JOLNMZ 84KJZAptYNjKIrIPqajvmD1glIla+0wL1a5RDtI102UQQslHG+L8Mc5sPAk+6ftc bbddJNd74D9RQN9S1YemyiJj7Y5+muksZ2JjnkuoT3snjfIfDlSkSX+thRg774RS 1q41zlUldQN8oquwT/ahirsnCDKrTgRRmmZIA= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 6F493FC827; Tue, 24 Nov 2020 21:07:46 -0500 (EST) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=UaiTAF9jIKetKiQezDOOTwg9KD5VbZ/HywuZqUR+WG8=; b=RkXEpct+n2PmPydcfIfSWjTf+PUuw0R4mglelvz/0J/ndHsLWI+U+KvbyeF/YUsnD6BtnaK3Dnh3gT/qd7PaM526kjGXFTSpH3ZgtD1BY4LTUvU34vm3ieCM6l4dzOoCXqcMB+ZhPrM+Nre+lhidOKwJk+4yulDGyNzIEYuren4= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id B5D47FC826; Tue, 24 Nov 2020 21:07:43 -0500 (EST) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Daniele Nicolodi Subject: Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode In-Reply-To: <47de3641-501b-5d47-5aa9-a28ddc25e037@grinta.net> References: <48c15b01-341d-f4c6-7086-1a39e4977868@grinta.net> <87h7pgvk6b.fsf@kyleam.com> <938fa4a5-f162-6c03-072b-4f11546a95c8@grinta.net> <87blfnso8w.fsf@kyleam.com> <87sg8z8ggc.fsf@kyleam.com> <47de3641-501b-5d47-5aa9-a28ddc25e037@grinta.net> X-Woof-Patch: applied Date: Tue, 24 Nov 2020 21:07:41 -0500 Message-ID: <87lfeq89zm.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 01243094-2EC3-11EB-A486-D609E328BF65-24757444!pb-smtp21.pobox.com Received-SPF: pass client-ip=173.228.157.53; envelope-from=kyle@kyleam.com; helo=pb-smtp21.pobox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: Org Mode List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=JOLNMZ 8; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=RkXEpct+; 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-Spam-Score: -1.21 X-TUID: 3UZKgbP2hUxc Daniele Nicolodi writes: > Thank you for the review, Kyle. > > Another updated patch set is attached. Thank you for the update. Applied, tweaking the manual entry to use "a unit" rather than "an unit". 1: bd7e16ca2 = 1: bd7e16ca2 org-table: Remove unused org-tbl-calc-modes variable declaration 2: abd994943 = 2: abd994943 org-table: Simplify mode string parsing 3: cb77e7a46 ! 3: 15469774d org-table: Add mode flag to enable Calc units simplification mode @@ doc/org-manual.org: *** Formula syntax for Calc +- =u= :: + + Units simplification mode of Calc. Calc is also a symbolic -+ calculator and is capable of working with values having an unit, -+ represented with numerals followed by an unit string in Org table ++ calculator and is capable of working with values having a unit, ++ represented with numerals followed by a unit string in Org table + cells. This mode instructs Calc to simplify the units in the + computed expression before returning the result. +