GNU bug report logs - #933
In CVS Emacs, calc-eval gives multiplication higher precidence than division

Previous Next

Package: emacs;

Reported by: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>

Date: Mon, 8 Sep 2008 20:45:04 UTC

Severity: normal

Merged with 914, 915, 918, 920, 921, 923, 924, 928, 929, 930, 932, 934, 937, 941, 944

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: Carsten Dominik <carsten.dominik <at> gmail.com>
Cc: "Randal L. Schwartz" <merlyn <at> stonehenge.com>, bug-gnu-emacs <at> gnu.org,
        emacs-devel <at> gnu.org
Subject: bug#933: In CVS Emacs, calc-eval gives multiplication higher precidence than division
Date: Mon, 08 Sep 2008 22:39:23 +0200
Carsten Dominik wrote:
> 
> On Sep 8, 2008, at 1:01 PM, Lennart Borgman wrote:
> 
>> On 9/8/08, Carsten Dominik <carsten.dominik <at> gmail.com> > 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.





This bug report was last modified 16 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.