From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division Date: Mon, 08 Sep 2008 08:59:27 -0400 Message-ID: References: <878wu3j4k2.fsf@gmail.com> <86wshn3df0.fsf@blue.stonehenge.com> <48C43ADA.1070001@gmail.com> <86sksb3d53.fsf@blue.stonehenge.com> <48C43CB7.4060505@gmail.com> <86y7231ltv.fsf@blue.stonehenge.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220878796 9834 80.91.229.12 (8 Sep 2008 12:59:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 12:59:56 +0000 (UTC) Cc: emacs-devel@gnu.org, "Randal L. Schwartz" To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 08 15:00:48 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 1KcgMJ-0003oV-Rn for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2008 15:00:48 +0200 Original-Received: from localhost ([127.0.0.1]:38867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcgLJ-00062i-GW for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2008 08:59:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcgLE-00061T-8Z for emacs-devel@gnu.org; Mon, 08 Sep 2008 08:59:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcgLC-00060a-9w for emacs-devel@gnu.org; Mon, 08 Sep 2008 08:59:39 -0400 Original-Received: from [199.232.76.173] (port=48839 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcgLC-00060U-5d for emacs-devel@gnu.org; Mon, 08 Sep 2008 08:59:38 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:50345 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcgL5-000293-HZ; Mon, 08 Sep 2008 08:59:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvgEAOq+xEhFxIqP/2dsb2JhbACBZbMSgWaBBw X-IronPort-AV: E=Sophos;i="4.32,358,1217822400"; d="scan'208";a="26506880" Original-Received: from 69-196-138-143.dsl.teksavvy.com (HELO ceviche.home) ([69.196.138.143]) by ironport2-out.teksavvy.com with ESMTP; 08 Sep 2008 08:59:27 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 2BC39B4062; Mon, 8 Sep 2008 08:59:27 -0400 (EDT) In-Reply-To: (Miles Bader's message of "Mon, 08 Sep 2008 17:48:07 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:103687 Archived-At: >> Again "a b" is not the same as "a * b", and "ab" is even a lot >> more different (given the lack of even a space, it's hard to argue that >> there could be something that binds more tightly). >> So this argument is irrelevant. I.e. I agree if Calc gives higher >> precedence to the implicit multiplication operator, but not if it does >> so to the "*" multiplication operator. > Hm but in calc there doesn't seem to be any differentiation between > "implicit" and "explicit" multiplication... You can enter "a b / c d" > and it is displayed the same (without the *, by default) as if you enter > "a*b / c*d". I guess it just treats them as different names for the > same thing... That both operators are accepted and get represented internally as the same ASA node doesn't mean they have to have the same precedence. Stefan