From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.devel Subject: Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division Date: Mon, 08 Sep 2008 17:59:38 -0500 Message-ID: <87abeijlb9.fsf@gmail.com> References: <878wu3j4k2.fsf@gmail.com> <86wshn3df0.fsf@blue.stonehenge.com> <7D0B0AA3-AED7-456B-AAAB-D72CABD19CFB@gmail.com> <48C58D7B.1060707@gmail.com> <86k5dmxtaz.fsf@blue.stonehenge.com> <48C590E2.4040804@gmail.com> Reply-To: jay.p.belanger@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220914803 21952 80.91.229.12 (8 Sep 2008 23:00:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 23:00:03 +0000 (UTC) Cc: jay.p.belanger@gmail.com, emacs-devel@gnu.org, Carsten Dominik , "Randal L. Schwartz" To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 09 01:00:57 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kcpj6-0002hu-2R for ged-emacs-devel@m.gmane.org; Tue, 09 Sep 2008 01:00:56 +0200 Original-Received: from localhost ([127.0.0.1]:57856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kcpi5-0006tk-QY for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2008 18:59:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kcpi2-0006tf-0Q for emacs-devel@gnu.org; Mon, 08 Sep 2008 18:59:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kcphz-0006sM-Fy for emacs-devel@gnu.org; Mon, 08 Sep 2008 18:59:48 -0400 Original-Received: from [199.232.76.173] (port=39706 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kcphz-0006sF-CI for emacs-devel@gnu.org; Mon, 08 Sep 2008 18:59:47 -0400 Original-Received: from s6.cableone.net ([24.116.0.232]:43611) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kcphz-0004iG-8E for emacs-devel@gnu.org; Mon, 08 Sep 2008 18:59:47 -0400 Original-Received: from belanger (unverified [69.92.109.217]) by s6.cableone.net (CableOne SMTP Service s6) with ESMTP id 6211167-1872270 for multiple; Mon, 08 Sep 2008 15:59:41 -0700 In-Reply-To: <48C590E2.4040804@gmail.com> (Lennart Borgman's message of "Mon, 08 Sep 2008 22:53:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Vpipe: Scanner said ok (av_avast) X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 3, First 72, in=28, out=0, spam=0 ip=69.92.109.217 X-Originating-IP: 69.92.109.217 X-Abuse-Info: Send abuse complaints to abuse@cableone.net X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103710 Archived-At: First of all, we really need to make sure that any follow ups to any branches of this thread are not sent to emacs bugs. "Lennart Borgman (gmail)" writes: ... > The original bug report was about this > > (calc-eval "1 / 2 * 1000") > > Calc treats this as 1 / (2 * 1000) which is just plain wrong. That's overstating it. > I have never seen a mathematician treat it that way - though I have > seen many pupils doing that. While there may be counterexamples, I have never seen a mathematician write 1 / 2 * 1000 when he means (1 / 2) * 1000. Leaving off the paretheses may be parsable in many languages, but it's poor style in mathematics. The Calc shortcut under discussion has been around for 20 years and there have already been lengthy discussions about it. I don't know why it's being rehashed again.