From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.devel Subject: Re: Calc: `*' binds more strongly than `/' Date: Thu, 26 Apr 2007 20:27:44 -0500 Message-ID: <877iry4ne7.fsf@gmail.com> 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> <462C8EA2.9090003@gnu.org> <87ejmbdr1x.fsf@truman.edu> <87d51sqinn.fsf@gmail.com> Reply-To: jay.p.belanger@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177637278 7848 80.91.229.12 (27 Apr 2007 01:27:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2007 01:27:58 +0000 (UTC) Cc: jay.p.belanger@gmail.com To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 27 03:27:56 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 1HhFFb-0003fv-De for ged-emacs-devel@m.gmane.org; Fri, 27 Apr 2007 03:27:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhFLO-0004SI-Cj for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 21:33:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HhFLK-0004OH-GT for emacs-devel@gnu.org; Thu, 26 Apr 2007 21:33:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HhFLI-0004Id-L5 for emacs-devel@gnu.org; Thu, 26 Apr 2007 21:33:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhFLI-0004IT-EX for emacs-devel@gnu.org; Thu, 26 Apr 2007 21:33:48 -0400 Original-Received: from s4.cableone.net ([24.116.0.230]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HhFFU-0006z7-I9 for emacs-devel@gnu.org; Thu, 26 Apr 2007 21:27:48 -0400 Original-Received: from localhost.localdomain (unverified [24.117.100.184]) by S4.cableone.net (CableOne SMTP Service S4) with ESMTP id 105241814 for multiple; Thu, 26 Apr 2007 18:27:46 -0700 In-Reply-To: (Christian Schlauer's message of "Thu\, 26 Apr 2007 23\:07\:45 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (gnu/linux) X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 1, First 23, in=15, out=0, spam=0 X-External-IP: 24.117.100.184 X-Abuse-Info: Send abuse complaints to abuse@cableone.net X-detected-kernel: Linux 2.6 (newer, 3) 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:70213 Archived-At: Christian Schlauer writes: [from wikipedia] >> Proper use of parentheses and other grouping symbols ... > I saw those examples, too, but didn't read the text of that section, The key thing from that section, I think, is the statement that parentheses should be used generously, and 6) Whenever anything can be interpreted multiple ways, put the part to be done first in parentheses, to make it clear. >> Well, wikipedia also says >> >> Calculators >> >> Different calculators follow different orders of operations. >> >> and gives several examples. > > But these examples refer to only two cases: The examples weren't meant to be comprehensive, but only to make the point that different calculators do things differently. >> For those that really don't like parentheses, an option to allow the >> user to decide for themselves the relative precedence of * and / in >> Calc will be added, of course. > > That sounds good, but what will be the default? Calc's current behavior will be the default. It is Calc's established behavior. It has its detractors, but it also has its proponents and its advantages. I also feel that in any expression where it matters (whether it's being typed into Calc, Gnumeric or anything else) the parentheses should be included. Leaving them out is, in my opinion, bad style. (I've been using the word "form"; "style" is probably a better word.) Anyone who insists on avoiding the parentheses and wants the alternate behavior can change the option (which I'll add as soon as changes in Emacs are allowed ...) Jay