From unknown Fri Aug 15 15:56:21 2025 X-Loop: don@donarmstrong.com Subject: bug#934: In CVS Emacs, calc-eval gives multiplication higher precidence than division Reply-To: merlyn@stonehenge.com (Randal L. Schwartz), 934@debbugs.gnu.org Resent-From: merlyn@stonehenge.com (Randal L. Schwartz) Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 08 Sep 2008 20:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 934 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122090660526837 (code B ref -1); Mon, 08 Sep 2008 20:50:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.0 required=4.0 tests=AWL,BAYES_00,GMAIL, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 8 Sep 2008 20:43:25 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m88KhL8H026831 for ; Mon, 8 Sep 2008 13:43:22 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcnZw-0007eX-Ab for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 16:43:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcnZv-0007eD-J1 for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 16:43:20 -0400 Received: from [199.232.76.173] (port=38242 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcnZv-0007eA-D5; Mon, 08 Sep 2008 16:43:19 -0400 Received: from blue.stonehenge.com ([209.223.236.162]:35616) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcnZv-00079F-4m; Mon, 08 Sep 2008 16:43:19 -0400 Received: by blue.stonehenge.com (Postfix, from userid 1001) id C445E1DE580; Mon, 8 Sep 2008 13:43:16 -0700 (PDT) To: "Lennart Borgman (gmail)" Cc: Carsten Dominik , bug-gnu-emacs@gnu.org, emacs-devel@gnu.org References: <878wu3j4k2.fsf@gmail.com> <86wshn3df0.fsf@blue.stonehenge.com> <7D0B0AA3-AED7-456B-AAAB-D72CABD19CFB@gmail.com> <48C58D7B.1060707@gmail.com> From: merlyn@stonehenge.com (Randal L. Schwartz) x-mayan-date: Long count = 12.19.15.11.15; tzolkin = 12 Men; haab = 18 Mol Date: Mon, 08 Sep 2008 13:43:16 -0700 In-Reply-To: <48C58D7B.1060707@gmail.com> (Lennart Borgman's message of "Mon, 08 Sep 2008 22:39:23 +0200") Message-ID: <86k5dmxtaz.fsf@blue.stonehenge.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: OpenBSD 3.0-3.9 >>>>> "Lennart" == Lennart Borgman (gmail) writes: Lennart> Of course I can see that the behaviour you want saves you a lot of key Lennart> strokes. My question is really about the default value. You can easily Lennart> change that, of course. The question is really if you prefer the old Lennart> default and in that case what arguments you want to present for that. There's no need to change the longstanding defaults, because it would break things. You already have a knob you can tweak if you think that "2 a / 3 b" should multiply by b, rather than divide by it. That's a personal choice. Frankly, I'd never touch that knob, because it looks to me like it should divide by b. And I think most mathemeticians would agree, and that's the target for that part of Calc. Stop thinking computer science. Think *math* notation. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion