Is there a way to highlight and quickly evaluate a simple math expression without using elisp notation? For example, we can already evaluate the elisp expression (+ 1 1)
in the following text snippet by putting point behind it and pressing C-x C-e.
Here is a math equation: (+ 1 1)
But can we also do
Here is a math equation: 1 + 1
And get its result?
C-u C-x * e
while the expression is marked, and the marked expression will be replaced by the result. Afterwards, useC-x * x
to exit calc. – Dodgie Jan 30 '18 at 22:44calc-dispatch g
. – user1404316 Feb 09 '18 at 15:21calc-dispatch
, theng
performscalc-grab-region
. – Tianxiang Xiong Feb 09 '18 at 18:14