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 ms0.migadu.com with LMTPS id WERDDKMI4mAmHgAAgWs5BA (envelope-from ) for ; Sun, 04 Jul 2021 21:14:43 +0200 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 UObfB6MI4mAVLgAAB5/wlQ (envelope-from ) for ; Sun, 04 Jul 2021 19:14:43 +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 6283323D48 for ; Sun, 4 Jul 2021 21:14:42 +0200 (CEST) Received: from localhost ([::1]:39190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m07Zh-0004qW-6J for larch@yhetil.org; Sun, 04 Jul 2021 15:14:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m07ZM-0004qM-CM for emacs-orgmode@gnu.org; Sun, 04 Jul 2021 15:14:20 -0400 Received: from ciao.gmane.io ([116.202.254.214]:38162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m07ZK-0003kt-JK for emacs-orgmode@gnu.org; Sun, 04 Jul 2021 15:14:20 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1m07ZJ-000AZo-2J for emacs-orgmode@gnu.org; Sun, 04 Jul 2021 21:14:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: how to document/comment a complex org table formula Date: Sun, 04 Jul 2021 21:14:11 +0200 Message-ID: <87h7h9c2nw.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:wFWHVmkGKPEyMjxBnIiGlklt0Ck= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , 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=1625426082; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=XLVHROwhK9cWIMa63VbI/d8OdB4JlPBtgAlcVlx3eQI=; b=ZDmJYYkFIFUwpr/bXJvLzZ324V7LBxv6TWTvzpmkPKdN2lAz3BPV1s+w//M06s0EDqEoEd MYIA+bNJtPYR9byc9IVQa37THgA+OgjucZ5rviVORPOKMjTqDKiEz0Ip8CThXfbynEoQeJ MS7B8zV6aJgk4EMXtoEfxjrhzGaT8qsicaGO9YPJVNyflkDm3TfMtigsgTtMjEQV43Y5Ql CI18bHJGwJpQxi8UKzNsfZv92YRcqXY0EQ4lH4ZWfus51VvtguKYpV5FA+XXHNrBfcvLfz 5sMDzldfVMQyCREKREvqhCd/guJNuTYSyVN5CHtX0vvnk6DTH3hCIPXbESJD6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625426082; a=rsa-sha256; cv=none; b=Wh+AhwFLa85zrpgHNhUFhwj9i3Z8fKjX0pMYeNPaFFHo+VuJQm7cWc/XzTA3Tx3IiyUpKw j4RE2W423wGHMQAnyIVQxeV7nLwKg7zEmDFIWLA5aJWIMn6aUHVIzhSkNtDh9181bllEX4 36/n4Z0b2ewolOfEDEaje9uncogKKVXJJyPVQpEvcFOK00mhvrvXp/eS+mJfXTAHVjUP3D 9nc6MlDSQ6QP/q2WfoVHQsUnwtDQWRnoY7C9LdtNcNaLst2zvjMmQVjQx9UEqPvOQT0kPe r25rSjz1CmVizNfHmF1yLaOKK2jmkzxmF46A3BT1xbErJf0PTtc21LBxiqmjsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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-Spam-Score: -0.31 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=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: 6283323D48 X-Spam-Score: -0.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4JFGUw7A+7y2 Hi It turns out that I have to deal with a bit more complex table formula of the form #+begin_src elisp #+TBLFM: $6=if($2>10,($2-10)*@2$7,0)+ min(10,$2)*@2$2+ min(10,$3)*@2$3 + if($4>10,($4-10)*@2$7,$4)+min(10,$4)*@2$4 +@2$5*$5;f1 #+end_src Is there any way to document or comment such a formula, since I am sure that within days I don't remember why I chose that formula? Regards Uwe Brauer