From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.bugs Subject: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division Date: Mon, 08 Sep 2008 22:53:54 +0200 Message-ID: <48C590E2.4040804__33761.1359930181$1220908291$gmane$org@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> Reply-To: "Lennart Borgman \(gmail\)" , 914@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220908230 29518 80.91.229.12 (8 Sep 2008 21:10:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 21:10:30 +0000 (UTC) Cc: emacs-devel@gnu.org, 914@emacsbugs.donarmstrong.com, Carsten Dominik To: "Randal L. Schwartz" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 08 23:11:25 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kco10-0000cW-5d for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Sep 2008 23:11:18 +0200 Original-Received: from localhost ([127.0.0.1]:38555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kco00-0004zJ-8z for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Sep 2008 17:10:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcnxR-0004Di-Fp for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 17:07:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcnxP-0004Cp-Ar for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 17:07:36 -0400 Original-Received: from [199.232.76.173] (port=44528 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcnxP-0004Cb-19 for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 17:07:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57287) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcnxO-00030i-LV for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 17:07:34 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m88L7W7D003671; Mon, 8 Sep 2008 14:07:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m88L05GW032315; Mon, 8 Sep 2008 14:00:05 -0700 X-Loop: don@donarmstrong.com Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 08 Sep 2008 21:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 914 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 914-submit@emacsbugs.donarmstrong.com id=B914.122090724830325 (code B ref 914); Mon, 08 Sep 2008 21:00:04 +0000 Original-Received: (at 914) by emacsbugs.donarmstrong.com; 8 Sep 2008 20:54:08 +0000 Original-Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m88Ks4uN030319 for <914@emacsbugs.donarmstrong.com>; Mon, 8 Sep 2008 13:54:05 -0700 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64879 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KcnkI-00053v-6j; Mon, 08 Sep 2008 22:54:02 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <86k5dmxtaz.fsf@blue.stonehenge.com> X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080908-0, 2008-09-08), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1KcnkI-00053v-6j. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KcnkI-00053v-6j 8487e211f44969c2f645b963fad941d4 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 08 Sep 2008 17:07:36 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20355 Archived-At: Randal L. Schwartz wrote: >>>>>> "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. I think communication can be very difficult if you have too much personal choice in it. Math is about communication (for a special class of logical problems). The original bug report was about this (calc-eval "1 / 2 * 1000") Calc treats this as 1 / (2 * 1000) which is just plain wrong. I have never seen a mathematician treat it that way - though I have seen many pupils doing that. > 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.