emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
2020-12-09T11:54:48.243Z

sometimes I use eshell to run commands inside Emacs, and I have multiple shells open

2020-12-09T11:55:03.243500Z

it would be great if switchiing to eshell could switch to the one related to the project I was just on

2020-12-09T11:55:27.244300Z

it should not be too hard in theory, anyone did something like that already?

bartuka 2020-12-09T13:20:29.244500Z

https://github.com/hying-caritas/project-shells seems like what you want

Kevin F 2020-12-09T15:13:29.245100Z

If you use projectile then I believe projectile-run-eshell does what you’re describing. Bound to <projectile-mode-map> x e (likely C-c p x e if you’re using suggested projectile-mode-map of C-c p

bartuka 2020-12-09T15:14:38.246600Z

how can I find what application is using a specific hotkey on windows? I am trying to use C-) in paredit but Emacs is not receiving this command. C-h k C-) does not show anything. I already disabled Ctrl+Shift that was used to Language Switching. In fact I receive the command C-(

Kevin F 2020-12-09T15:17:24.246700Z

I haven’t dealt with this before, but https://www.gnu.org/software/emacs/manual/html_node/emacs/Windows-Keyboard.html suggests w32-register-hot-key as a potential solution

bartuka 2020-12-09T15:21:36.246900Z

Oh, I should be in trouble.. I think this function w32-register-hot-key only exists in the native windows installation. I am using through WSL2

2020-12-09T16:14:54.247100Z

ah yeah that works, just have to remember to always use that though also to switch to the right shell

2020-12-09T16:14:55.247300Z

nice thanks