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

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Mon, 8 Sep 2008 21:50:04 UTC

Severity: normal

Merged with 914, 915, 918, 920, 921, 923, 924, 928, 929, 930, 932, 933, 934, 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: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: merlyn <at> stonehenge.com (Randal L. Schwartz)
Cc: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>,
        bug-gnu-emacs <at> gnu.org, emacs-devel <at> gnu.org,
        Carsten Dominik <carsten.dominik <at> gmail.com>
Subject: bug#937: In CVS Emacs, calc-eval gives multiplication higher  precidence  than division
Date: Mon, 08 Sep 2008 17:42:18 -0400
Lennart> Of course I can see that the behaviour you want saves you a lot of key
Lennart> strokes. My question is really about the default value. You can easily
Lennart> change that, of course. The question is really if you prefer the old
Lennart> default and in that case what arguments you want to present for that.

> There's no need to change the longstanding defaults, because it would break
> things.  You already have a knob you can tweak if you think that "2 a / 3 b"
> should multiply by b, rather than divide by it.  That's a personal choice.

Nobody in this thread has said that "2 a / 3 b" should multiply by b.
What I (and others) have said is that "2 * a / 3 * b" should multiply by b.


        Stefan





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

Previous Next


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