Fork me on GitHub
#spacemacs
<
2020-09-28
>
practicalli-john14:09:46

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

mathpunk17:09:59

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]

mathpunk17:09:27

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

mathpunk17:09:04

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

mathpunk17:09:35

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

mathpunk17:09:38

the program is found

mathpunk17:09:44

but the tide-server still cannot find it

mathpunk17:09:04

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

mathpunk17:09:38

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

mathpunk17:09:42

but still node is not found

mathpunk17:09:18

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

mathpunk17:09:51

to my shock and alarm, SPC SPC

mathpunk17:09:58

doesn't find executable-path

mathpunk17:09:09

but M-: still lets me execute that

mathpunk17:09:15

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

practicalli-john18:09:49

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

mathpunk21:09:20

that's a great tip, thanks!