From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Brockman Newsgroups: gmane.emacs.devel Subject: Re: Calc: `*' binds more strongly than `/' Date: Thu, 19 Apr 2007 04:58:34 +0200 Message-ID: <87y7kpax45.fsf@wigwam.brockman.se> References: <87y7kvxj6p.fsf@arcor.de> <87odlrkn74.fsf@truman.edu> <87tzvhcul9.fsf@stupidchicken.com> <863b2z2mma.fsf@blue.stonehenge.com> <87abx6u905.fsf@truman.edu> <873b2xz6t9.fsf@totally-fudged-out-message-id> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176951555 13820 80.91.229.12 (19 Apr 2007 02:59:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2007 02:59:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 19 04:59:09 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 1HeMrU-000406-CW for ged-emacs-devel@m.gmane.org; Thu, 19 Apr 2007 04:59:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HeMwN-0001j7-Pm for ged-emacs-devel@m.gmane.org; Wed, 18 Apr 2007 23:04:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HeMw8-0001an-EV for emacs-devel@gnu.org; Wed, 18 Apr 2007 23:03:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HeMw7-0001Zf-M0 for emacs-devel@gnu.org; Wed, 18 Apr 2007 23:03:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HeMw7-0001ZY-E6 for emacs-devel@gnu.org; Wed, 18 Apr 2007 23:03:55 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HeMrD-0008Nd-2Q for emacs-devel@gnu.org; Wed, 18 Apr 2007 22:58:51 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HeMqz-0008Tc-4g for emacs-devel@gnu.org; Thu, 19 Apr 2007 04:58:37 +0200 Original-Received: from c-b1fee255.09-32-6c6b7013.cust.bredbandsbolaget.se ([85.226.254.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Apr 2007 04:58:37 +0200 Original-Received: from daniel by c-b1fee255.09-32-6c6b7013.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Apr 2007 04:58:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-b1fee255.09-32-6c6b7013.cust.bredbandsbolaget.se X-Face: :&2UWGm>e24)ip~'K@iOsA&JT3JX*v@1-#L)=dUb825\Fwg#`^N!Y*g-TqdS AevzjFJe96f@V'ya8${57/T'"mTd`1o{TGYhHnVucLq!D$r2O{IN)7>.0op_Y`%r;/Q +(]`3F-t10N7NF\.Mm0q}p1:%iqTi:5]1E]rDF)R$9.!,Eu'9K':y9^U3F8UCS1M+A$ 8[[[WT^`$P[vu>P+8]aQMh9giu&fPCqLW2FSsGs User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:QVK4T+9N/HEHlEBDSV3cWekJfDg= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:69612 Archived-At: Christian Schlauer writes: > But then I say that writing A/B*C and interpreting it like (A/B)*C > saves me the trouble of typing in parentheses Not really. You could just type that as A*C/B. The point is that the reduced precedence of `/' allows you to always put all numerator factors before the slash and all denominator factors after it, which is often very convenient. (You could make the same argument for `+' and `-' --- i.e., that `A-B+C' should mean `A-(B+C)'. However, this is not as natural because one usually does not think of sums as units. Writing `A-B-C' is completely natural, but `A/B/C' is not completely natural --- in fact, it is a little confusing.) I think this is good notation, but I also think that it would be a good idea to warn the user and make sure that they know what they are doing when entering such things. Just make the warning easy to disable and all is well? Those are my two cents. -- Daniel Brockman