From: Michael Heerdegen <michael_heerdegen@web.de>
To: 43902@debbugs.gnu.org
Subject: bug#43902: 28.0.50; Calc: Wrong eval precedence rules with LaTeX language
Date: Sat, 10 Oct 2020 09:02:34 +0200 [thread overview]
Message-ID: <871ri6y35h.fsf@web.de> (raw)
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
next reply other threads:[~2020-10-10 7:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-10 7:02 Michael Heerdegen [this message]
2020-10-10 10:03 ` bug#43902: 28.0.50; Calc: Wrong eval precedence rules with LaTeX language 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871ri6y35h.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=43902@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).