reddit / emacs

Imaxima

fuzzmonkey35 · 2022-04-28 23:54
ftrx · 2022-04-29 05:44
Error 404... Having Maxima on my system (NixOS) I use this small config (push (concat (shell-command-to-string "nix eval nixpkgs.maxima.outPath | sed 's/\"//g' | tr -d '\n'") "/share/emacs/site-lisp") load-path) (autoload 'imaxima "imaxima" "Maxima frontend" t) (autoload 'imath "imath" "Interactive Math mode" t) (autoload 'maxima-mode "maxima" "Maxima mode" t) (autoload 'maxima "maxima" "Maxima interaction" t) (autoload 'imath-mode "imath" "Imath mode for math formula input" t) (setq imaxima-use-maxima-mode-flag t) maybe useful for other Nix-ers as well :-) essentially instead of create a new package with Emacs and Maxima I grab the right elisp path from nixpkgs.