From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Calc: `*' binds more strongly than `/' Date: Wed, 20 Jun 2007 18:02:38 +0200 Message-ID: <877ipy8vhd.fsf@kfs-lx.testafd.dk> References: <87y7kvxj6p.fsf@arcor.de> <87odlrkn74.fsf@truman.edu> <87tzvhcul9.fsf@stupidchicken.com> <863b2z2mma.fsf@blue.stonehenge.com> <55350.128.165.123.18.1176926533.squirrel@webmail.lanl.gov> <86ps5zuwmi.fsf@blue.stonehenge.com> <87ps5zi1h2.fsf@truman.edu> <87abuu8xaz.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182355688 3364 80.91.229.12 (20 Jun 2007 16:08:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2007 16:08:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: jay.p.belanger@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 20 18:08:06 2007 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 1I12iv-0003Cn-Ug for ged-emacs-devel@m.gmane.org; Wed, 20 Jun 2007 18:08:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I12iv-00028v-Gf for ged-emacs-devel@m.gmane.org; Wed, 20 Jun 2007 12:08:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I12hD-0001Lx-E0 for emacs-devel@gnu.org; Wed, 20 Jun 2007 12:06:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I12hC-0001LS-Mj for emacs-devel@gnu.org; Wed, 20 Jun 2007 12:06:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I12hC-0001LK-CS for emacs-devel@gnu.org; Wed, 20 Jun 2007 12:06:14 -0400 Original-Received: from mail-relay.sonofon.dk ([212.88.64.25]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I12hB-0007tG-3g for emacs-devel@gnu.org; Wed, 20 Jun 2007 12:06:13 -0400 Original-Received: (qmail 38103 invoked from network); 20 Jun 2007 16:06:05 -0000 Original-Received: from unknown (HELO kfs-lx.testafd.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 20 Jun 2007 16:06:05 -0000 In-Reply-To: <87abuu8xaz.fsf@gmail.com> (Jay Belanger's message of "Wed\, 20 Jun 2007 10\:23\:16 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-kernel: FreeBSD 4.6-4.9 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:73445 Archived-At: Jay Belanger writes: > Jay Belanger writes: > ... >> Perhaps after the release I could add a customizable variable, >> `calc-multiplication-has-precedence' (default t), and then anyone that >> wants to can set it to nil and try out the different behavior. > > This has been done. I see that you have committed the change, but haven't had time to play with it. According to the doc, setting calc-multiplication-has-precedence to nil gives precedence to / over *. IIRC, the objection was that people expected equal precedence with left to right evaluation (as in C). Giving / precedence over * doesn't fix that - it just gives another "wrong" result. -- Kim F. Storm http://www.cua.dk