From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division Date: Tue, 9 Sep 2008 18:26:53 +0200 Message-ID: <18630.41933.774692.297613@a1ihome1.kph.uni-mainz.de> 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> <87abeijlb9.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220977648 26205 80.91.229.12 (9 Sep 2008 16:27:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2008 16:27:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Francis Litterio Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 09 18:28:21 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 1Kd64a-0002MP-LL for ged-emacs-devel@m.gmane.org; Tue, 09 Sep 2008 18:28:12 +0200 Original-Received: from localhost ([127.0.0.1]:58162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kd63a-0000qc-Hf for ged-emacs-devel@m.gmane.org; Tue, 09 Sep 2008 12:27:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kd63U-0000qV-N9 for emacs-devel@gnu.org; Tue, 09 Sep 2008 12:27:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kd63S-0000qG-Un for emacs-devel@gnu.org; Tue, 09 Sep 2008 12:27:03 -0400 Original-Received: from [199.232.76.173] (port=51212 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kd63S-0000qD-Or for emacs-devel@gnu.org; Tue, 09 Sep 2008 12:27:02 -0400 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:59174) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kd63S-0001Xq-O5 for emacs-devel@gnu.org; Tue, 09 Sep 2008 12:27:03 -0400 Original-Received: from a1ihome1.kph.uni-mainz.de (a1ihome1.kph.uni-mainz.de [134.93.134.75]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id m89GQsZf021404; Tue, 9 Sep 2008 18:26:54 +0200 Original-Received: from a1ihome1.kph.uni-mainz.de (localhost [127.0.0.1]) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.1) with ESMTP id m89GQsCA007731; Tue, 9 Sep 2008 18:26:54 +0200 Original-Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.0/Submit) id m89GQrdl007726; Tue, 9 Sep 2008 18:26:54 +0200 In-Reply-To: X-Mailer: VM 8.0.2-487 under Emacs 22.2.1 (i686-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:103735 Archived-At: >>>>> On Tue, 09 Sep 2008, Francis Litterio wrote: > But we should be prepared for more bug reports about this, unless some > means can be devised to alert Calc users about the precedence rule. > Would it be in appropriate to append a comment to the result when Calc > is used interactively? I thought the problem (if there is one) existed only when evaluating algebraic notation? If used interactively, calc is using RPN and there is no ambiguity: 1 RET 2 / 1000 * is (1 / 2) * 1000 1 RET 2 RET 1000 * / is 1 / (2 * 1000) Am I mising something? Ulrich