spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
practicalli-john 2020-09-28T14:39:46.012700Z

The command cider-eval-list-around-point has been added to the recently released Cider 0.26 version, so I created a pull request on Spacemacs repository to add a key binding to the Clojure major mode menu. I've chosen SPCE m e ( as the keybinding as l was already taken in the evaluation menu. Feedback and reactions are welcome on the pull request page https://github.com/syl20bnr/spacemacs/pull/13991

mathpunk 2020-09-28T17:21:59.014300Z

I'm having this problem, which I think is a path problem, and none of the methods I can find via googling are helping. I switched from a Linux box to a MacOS machine. I cannot for the life of me figure out how to explain to my typescript layer how to find the node executable [SOLVED]

mathpunk 2020-09-28T17:22:27.014400Z

Someone had a similar problem with their haskell compiler, and they added a path line to /etc/paths; this did not help

mathpunk 2020-09-28T17:23:04.014600Z

Other people have described using executable-find and process-lines to understand how things are set in their emacs, but those commands don't appear when I do SPC SPC

mathpunk 2020-09-28T17:23:35.014800Z

I created a zshrc file that inclues the executable path, so now when I open the emacs shell (I don't usually use it) and say which node

mathpunk 2020-09-28T17:23:38.015Z

the program is found

mathpunk 2020-09-28T17:23:44.015200Z

but the tide-server still cannot find it

mathpunk 2020-09-28T17:24:04.015400Z

that MIGHT imply it's a problem with the layer? my next step is checking the issues page there

mathpunk 2020-09-28T17:32:38.015600Z

well I added some variables here and made sure that I'd npm installed everything mentioned https://develop.spacemacs.org/layers/+lang/typescript/README.html

mathpunk 2020-09-28T17:32:42.015800Z

but still node is not found

mathpunk 2020-09-28T17:33:18.016Z

i didn't have trouble on my linux box so I'm having trouble figuring out what could be wrong 😢

mathpunk 2020-09-28T17:40:32.016200Z

GOT IT

mathpunk 2020-09-28T17:40:51.016700Z

to my shock and alarm, SPC SPC

mathpunk 2020-09-28T17:40:58.016900Z

doesn't find executable-path

mathpunk 2020-09-28T17:41:09.017100Z

but M-: still lets me execute that

mathpunk 2020-09-28T17:41:15.017300Z

:man-shrugging::skin-tone-2:

practicalli-john 2020-09-28T18:13:49.017600Z

To help troubleshoot paths and environment variables with Spacemacs: SPC f e e opens the spacemacs.env file which automatically generated when running Emacs, populated from the operating system path. So you can always check that file to see if the right path is being picked up. Its possible to add environment variables here, for example adding things to the path. Ideally the path would be fixed in the OS layer, if not then adding to the spacemacs.env file might help

mathpunk 2020-09-28T21:14:20.017800Z

that's a great tip, thanks!