unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43902: 28.0.50; Calc: Wrong eval precedence rules with LaTeX language
@ 2020-10-10  7:02 Michael Heerdegen
  2020-10-10 10:03 ` Mattias Engdegård
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Heerdegen @ 2020-10-10  7:02 UTC (permalink / raw)
  To: 43902


Hello,

here is a recipe for emacs -Q:

M-x calc RET
d L			;; calc-latex-language
 '			;; calc-algebraic-entry
1+1/2 RET

The result is 1, and the Trail shows alg' (1 + 1) / 2.  It does not make
much sense to me to use a precedence rule where addition has higher
precedence than division.  I know LaTeX a bit and don't expect such a
result, and it doesn't seem to be documented.  Is it intended or a bug?

TIA,

Michael.


In GNU Emacs 28.0.50 (build 62, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
 of 2020-10-09 built on drachen
Repository revision: 6b346963d5a5bdb37cf3ecb50ce6d7dc6ec32d20
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux bullseye/sid






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-14  7:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-10  7:02 bug#43902: 28.0.50; Calc: Wrong eval precedence rules with LaTeX language Michael Heerdegen
2020-10-10 10:03 ` Mattias Engdegård
2020-10-13  9:40   ` Mattias Engdegård
2020-10-13 16:22     ` Eli Zaretskii
2020-10-13 18:03       ` Mattias Engdegård
2020-10-13 18:22         ` Eli Zaretskii
2020-10-14  7:26           ` Mattias Engdegård

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).