From unknown Wed Jun 18 23:14:58 2025 X-Loop: don@donarmstrong.com Subject: bug#933: In CVS Emacs, calc-eval gives multiplication higher precidence than division Reply-To: "Lennart Borgman (gmail)" , 933@debbugs.gnu.org Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 08 Sep 2008 20:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 933 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122090638425246 (code B ref -1); Mon, 08 Sep 2008 20:45:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,GMAIL, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 8 Sep 2008 20:39:44 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m88KddSU025221 for ; Mon, 8 Sep 2008 13:39:41 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcnWN-00062E-KU for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 16:39:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcnWJ-00061S-My for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 16:39:39 -0400 Received: from [199.232.76.173] (port=53512 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcnWJ-00061N-Ft; Mon, 08 Sep 2008 16:39:35 -0400 Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:51136) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcnWJ-0006Hf-3s; Mon, 08 Sep 2008 16:39:35 -0400 Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64981 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KcnWG-00067P-7d; Mon, 08 Sep 2008 22:39:32 +0200 Message-ID: <48C58D7B.1060707@gmail.com> Date: Mon, 08 Sep 2008 22:39:23 +0200 From: "Lennart Borgman (gmail)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Carsten Dominik CC: "Randal L. Schwartz" , bug-gnu-emacs@gnu.org, emacs-devel@gnu.org References: <878wu3j4k2.fsf@gmail.com> <86wshn3df0.fsf@blue.stonehenge.com> <7D0B0AA3-AED7-456B-AAAB-D72CABD19CFB@gmail.com> In-Reply-To: <7D0B0AA3-AED7-456B-AAAB-D72CABD19CFB@gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080908-0, 2008-09-08), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KcnWG-00067P-7d. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KcnWG-00067P-7d 5ace2009b5ea8c2400cb7f31e65aa50a X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Carsten Dominik wrote: > > On Sep 8, 2008, at 1:01 PM, Lennart Borgman wrote: > >> On 9/8/08, Carsten Dominik > I would fight >> for the current calc implementation, it is an important >>> convenience when entering equations. I am relying on it every day. >> >> Exactly how are you relying on that the current behaviour is the default? > > > By typing algebraic equations into the minibuffer and saving tons of key > strokes by leaving off parenthesis. I often type equations like > > p = n k T / mu mp > > and it saves me 4 key strokes to not having to type the parenthesis > > p = (n k T) / (mu mp) Yes, sorry, I should not have asked like that. I get a little bit upset that many people here accept defaults that can make it harder for newbees just for a little bit convenience. (But I guess I am a bit unfair. Someone more in favour of the view opposite to mine in this question can surely put it more nicely.) Of course I can see that the behaviour you want saves you a lot of key strokes. My question is really about the default value. You can easily change that, of course. The question is really if you prefer the old default and in that case what arguments you want to present for that.