From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Dominik Newsgroups: gmane.emacs.devel,gmane.emacs.bugs Subject: Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division Date: Mon, 8 Sep 2008 12:30:11 +0200 Message-ID: References: <878wu3j4k2.fsf@gmail.com> <86wshn3df0.fsf@blue.stonehenge.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220869897 13730 80.91.229.12 (8 Sep 2008 10:31:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 10:31:37 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, emacs-devel@gnu.org To: Randal L. Schwartz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 08 12:32:31 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 1Kce2o-0008P2-17 for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2008 12:32:30 +0200 Original-Received: from localhost ([127.0.0.1]:58716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kce1n-0002tP-7Y for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2008 06:31:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kce0u-0002XC-Ao for emacs-devel@gnu.org; Mon, 08 Sep 2008 06:30:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kce0p-0002Rv-7X for emacs-devel@gnu.org; Mon, 08 Sep 2008 06:30:29 -0400 Original-Received: from [199.232.76.173] (port=40743 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kce0o-0002Qf-Hj for emacs-devel@gnu.org; Mon, 08 Sep 2008 06:30:26 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.173]:60490) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kce0n-00047c-Dj for emacs-devel@gnu.org; Mon, 08 Sep 2008 06:30:26 -0400 Original-Received: by ug-out-1314.google.com with SMTP id k3so404030ugf.17 for ; Mon, 08 Sep 2008 03:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=tFyA6yB3Rab0ZPmKhPcdhO+vMUbucjj5WJbcSgH5WqY=; b=OvPz/MDB+EZ4EdgUzC1P7Due8G68IA1V5GEm1IpyiZfNmkNeWqYi9hBp645GOQLdOn UouB64eleFzluAv0cJ70jxHHnAozFdSza0DAwirLvWsdugFZjFphe7sDBUOx/Np54v4f QY0j0nIfMmWpjhEF9MpR0TMi5Xqjw0FGdS2fo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=fXgok8EN5n4tc2msGkz4fMKHfUPVGkYpZicVCWlrNGZjxIbE/nRf93c4Zkk6OVOxh0 KqYNtdURUiEERYuU8KOEhKH+13T6gIbBwrbYPHwuGOkuwiBtaAsKdnb5Hp0QW/NgaKGw kJA6ZsA7OwT84fobeozjDVVlWDzmF3E2XDomM= Original-Received: by 10.67.29.4 with SMTP id g4mr3816343ugj.73.1220869815596; Mon, 08 Sep 2008 03:30:15 -0700 (PDT) Original-Received: from n040078.science.ru.nl ( [131.174.40.78]) by mx.google.com with ESMTPS id e33sm5850470ugd.15.2008.09.08.03.30.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Sep 2008 03:30:14 -0700 (PDT) In-Reply-To: <86wshn3df0.fsf@blue.stonehenge.com> X-Mailer: Apple Mail (2.926) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:103683 gmane.emacs.bugs:20340 Archived-At: On Sep 7, 2008, at 10:32 PM, Randal L. Schwartz wrote: >>>>>> "Stefan" == Stefan Monnier writes: > > Stefan> I think Calc is plainly wrong is giving higher precedence to > the > Stefan> multiplication because it's completely non standard. But > since I don't > Stefan> use Calc much and since it's been that way for a while, I > won't fight > Stefan> for it. I would fight for the current calc implementation, it is an important convenience when entering equations. I am relying on it every day. - Carsten > > > Given the original author's mathematics bias, it made sense (to me, as > an early tester and contributor) that: > > 2 * 3 / 4 * 5 > > would be parsed as > > (2 * 3) / (4 * 5) > > in a mathematical sense. > > Admittedly, if you're a computer-science guy and not a math guy, > this might > seem initially odd. > > -- > 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 > > >