After this post, here is how you can ACTUALLY do all of that with Emacs.

All of these Emacs extensions are basically text-based and more or less difficult to use. You WILL have the core functions of the Google stuff, but don’t expect to have a good time.

Degoogling:

For all my Emacs users out there, am I missing something ? Do you have alternatives / more usable recommandations ?-

  • Sudo Sodium @lemdro.id
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 days ago

    Thank you, I didn’t mean I’ll rush and install all of the mentioned things in the post, but it motivates me to learn

    actually I have two problems: 1- I don’t know where to start 2- I’m too lazdy to search for resources so I start

    And please don’t mention that VS code piece of shit in front of me even as an example, I can only use Windows as OS , one product by Microsoft is enough to tortue me

    • Sunoc@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      4
      ·
      4 days ago

      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!

      • Sudo Sodium @lemdro.id
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 days ago

        Thank you, I’ll take your notes into consideration , currently it’s just learning C , I use Code::Block for it

        • Sunoc@sh.itjust.worksOP
          link
          fedilink
          arrow-up
          2
          ·
          3 days ago

          Sweet! It’s actually my main language. C mode is built-in so no concern on that side.

          Some general advice:

          • I leaned it way too late, but you can use M-x compile and then type your build command (make clean && make all) instead of using a terminal to compile your project.
          • Try to learn a bit about Makefiles, it’s useful. Avoid cmake like plague.
          • C is great for embedded, so you should look up TRAMP if that’s your use case; it basically removes the need for SSH-ing from a shell.

          To have Emacs behave like an IDE:

          • Install clang17 clang17-extra-tools bear on the host system.
          • Configure eglot and company in your Emacs config:
          (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)
          
          • Use the bear tool (ex. 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!

    • bobo@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      3 days ago

      Answer to both 1 and 2: start with an Emacs “distro” like Doom Emacs or Spacemacs. Starting from scratch as a beginner is a surefire way to quit.