Questions tagged [calc]
Calculator mode: Calculator major mode.
106 questions
0 votes
1 answer
61 views
calc.info unavailable from Debian
Following a fatal crash, I had to change computers and reinstall Emacs (under Debian). Unfortunately, the help files, especially calc.info, are no longer available from Debian servers. How can I ...
1 vote
2 answers
145 views
Emacs calc: Switch two rows
I am using Emacs calc. I want to switch the contents of two rows. For instance: 5. 10 4. 20 3. 30 2. 40 1. 50 I want "50" to be in row number 4 and "20" to be in row number 1. ...
0 votes
1 answer
82 views
how to map/remap `t <` or `t [` in calc?
In calc, t [ jumps to the beginning of the trail. But in a regular buffer, M-< jumps to the beginning. I'd like t < to do what t [ does now. How can I do that in a use-package :bind declaration? ...
0 votes
1 answer
88 views
Org-mode compare column to constant string
I can easily compare strings from two columns, as in: | hello | world | KO | | hello | hello | OK | | world | world | OK | #+TBLFM: $3=if("$1" == "$2", OK, KO) But I can't compare ...
2 votes
4 answers
371 views
How do you convert a vector of float numbers to bytes?
I need to convert a vector of float numbers to bytes. I can't seem to find a way to do that in emacs-lisp. Is it possible? For example how do I convert this vector [3.14] to bytes? [Update] See this ...
0 votes
0 answers
113 views
Calculate values in org-mode attributes?
Is there a package that lets you calculate values contained (for example) in #+attributes (or some other "variable"-like syntax)? I'm trying to avoid spreadsheets, because my list is ...
0 votes
1 answer
96 views
Emacs Calc IEEE 754 binary representation
Does Emacs Calc have IEEE 754 representation for binary numbers? I found only "The Calculator’s arithmetic is not intended to be IEEE-conformant in any way", but I try maybe there is a ...
0 votes
3 answers
104 views
Fewer keystrokes for calculating in org mode
When I need while editing a .org file to calculate, say, 23.45 * 15, I copy (M-w) that string then call M-x calc. I paste the numbers as a string, preceded by a single tick (using algebraic mode so I ...