this post was submitted on 03 Sep 2025
273 points (96.6% liked)

linuxmemes

27170 readers
2620 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     

    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 ?-

    you are viewing a single comment's thread
    view the rest of the comments
    [–] chottomatte@lemdro.id 5 points 5 days ago* (last edited 5 days ago) (2 children)

    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.works 4 points 5 days ago (1 children)

    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!

    [–] chottomatte@lemdro.id 3 points 5 days ago (1 children)

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

    [–] sunoc@sh.itjust.works 2 points 4 days ago (1 children)

    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!

    [–] chottomatte@lemdro.id 2 points 4 days ago

    Thank you very much, I highly appreciate your help

    [–] bobo@lemmy.ml 3 points 5 days ago (1 children)

    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.

    [–] chottomatte@lemdro.id 3 points 5 days ago

    Thank you , I'll check it