I’m trying to split a number stated in scientific notation (
6.371e6) and write it as float (
6371000) (I’m doing this to learn.)
This is the code I have so far
A = (car (mapcar #'string-to-number (split-string "6.371e6" "e"))) 6.371 B = (nth 1 (mapcar #'string-to-number (split-string "6.371e6" "e"))) 6
When I try
(* A B)
I get this error:
symbol’s function definition is void: make-closure
Why do I get this error?
I found this link, but I did not understand what I need to do. Do I need to upgrade my emacs? I have version 27.2
Also, why don't I get the
*Backtrace* buffer? Instead, the errors show up in the mini buffer.
M-x toggle-debug-on-errorto get the backtrace. Use
setqfor the assignments (otherwise
Bare undefined. And clean up (some of) your
*.elcfiles: if the link is correct, they have been compiled with a newer version of emacs. For a file
foo.elc, you can find what version of the compiler compiled it by running
file foo.elcat a shell prompt.
.elcfiles. In fact, I'm having problems with
find-name-dired. I'll ask another question.
.elcfiles. Do I need to delete them?
/usr/share/emacs/27.2which should be fine and should probably be left alone. And ones under
~/.emacs.d/elpaor some similar place for packages you have downloaded and which are probably suspect.