From mboxrd@z Thu Jan 1 00:00:00 1970 From: Justus Winter Subject: Re: Bug: Operator associativity problem [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] Date: Wed, 25 Sep 2019 20:16:26 +0200 Message-ID: <874l10nsw5.fsf@thinkbox.jade-hamburg.de> References: <20190925095021.GA729@thinkbox.jade-hamburg.de> <87k19wtu7d.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57420) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDBq8-0003qy-A7 for emacs-orgmode@gnu.org; Wed, 25 Sep 2019 14:16:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDBq6-0004Gg-9H for emacs-orgmode@gnu.org; Wed, 25 Sep 2019 14:16:36 -0400 Received: from avior.uberspace.de ([185.26.156.32]:42772) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iDBq4-0004FI-Sa for emacs-orgmode@gnu.org; Wed, 25 Sep 2019 14:16:33 -0400 In-Reply-To: <87k19wtu7d.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Fraga, Eric" Cc: "emacs-orgmode@gnu.org" --=-=-= Content-Type: text/plain "Fraga, Eric" writes: > On Wednesday, 25 Sep 2019 at 11:50, Justus Winter wrote: >> I noticed a operator associativity problem when evaluating formulas in >> tables. To reproduce, enter: >> >> | :=6/2*3 | >> >> And evaluate the formula. This results in: >> >> | 1 | >> #+TBLFM: @1$1=6/2*3 > > Yes, this is a property (feature, ?) of Emacs Calc. Wow! Re-reading the org-mode documentation I see that it is prominently mentioned indeed, and that it is an precedence thing, not an associativity one. However, I cannot fathom the rationale behind this property, and for a spreadsheet-like application I consider it borderline negligent. Thanks, Justus --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEJWpOVeSnLZetJGjniNx+MzhfeR0FAl2LrvoACgkQiNx+Mzhf eR0emwgAo8rClL/mhS3k0TCgvJ9ZjkL77Tch2rUOe347bJl2/rIpQrYLmaAecRLn 1O40AOvvqKncrEhmDWhCwx5ddKEHVN23q+7bXzy8zXzuRFt75pmqMbIdLVjmxIJE GDeFvD5WXDhw/xNOxEtpQm/P23CcEs4ly3sFCQ/rJ8sn+vUKAQ3p8tcXh0lLpCY5 BSN7u1eAW0WxlPWJIdd0Zdg+lezXX5YlNeW4SasHzLjVvAigCjVfGwOQsd1H+vs0 +0W1x1aEIkrjFF4x8sm7S4/mQua6B1tZJ7py434gv10va65qBPqiuPDU02ykRVaH ZA8/MeH+6Anh3E7AvXTeo8x/BOAQvQ== =si1K -----END PGP SIGNATURE----- --=-=-=--