Okay so here’s the thing: Emacs runs best on Linux and MacOS (allegedly, bc UNIX-like) but it is more difficult to make it do what you want on Windows (afaik, never tried this). You’ll probably need WSL.
So if you have to stick with Windows, I’d suggest to search specifically for configurations and advice from other people who have done this. It will give you a base for installing and probably running a custom configuration.
From there, that my point 2), you should focus on trying and making YOUR workflow to run in Emacs. I really suggest to focus on one thing at the time and configuring it until it works the way you want. Otherwise you’ll end up with many half-backed systems and that’s frustrating.
What is your main use-case then? Maybe I can give some more precise advice if I’m familiar with it!
Sweet! It’s actually my main language. C mode is built-in so no concern on that side.
Some general advice:
M-x compileand then type your build command (make clean && make all) instead of using a terminal to compile your project.To have Emacs behave like an IDE:
clang17 clang17-extra-tools bearon the host system.(use-package eglot) (add-hook 'c-mode-hook 'eglot-ensure) (with-eval-after-load 'eglot (add-to-list 'eglot-server-programs '((c-mode c++-mode) . ("clangd")))) (use-package company) (add-hook 'after-init-hook 'global-company-mode)bear --config bear_config.json -- make all) to make the non-trivial project understandable by Emacs. Since it re-uses your Makefile, it even works for cross-compilation!Good luck!