I am new to emacs (I made a commitment to getting used to linux) & currently intimidated Can you help me out here?

Has anyone here configured Emacs for:

  • Shell-scripting
  • Markdown
  • HTML+CSS
  • Rust

Don’t know where to start (I do know the bare-min basics on using Emacs as a text-editor)

  • INeedMana@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    Shell-scripting

    Isn’t shell-script-mode available in vanilla installation? For me it automatically gets enabled when I open .sh file

    Markdown

    https://www.emacswiki.org/emacs/MarkdownMode

    HTML+CSS

    Haven’t written these in a while, but I expect there will be modes for them

    Rust

    https://github.com/rust-lang/rust-mode?tab=readme-ov-file#melpa

    And in general:
    https://www.emacswiki.org/emacs/InstallingPackages
    and
    https://www.gnu.org/software/emacs/manual/html_node/emacs/Customization-Groups.html

  • kyoji@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    17 hours ago

    Hello! Welcome to Emacs!

    Contrary to the other commenters, I would suggest starting with an out-of-the-box Emacs and only adding the things you need, as you need them.

    As for your question, could you provide more detail about your expectations?

    In the absence of it, I’ll give you some generic responses:

      • kyoji@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        9 minutes ago

        Yes org-mode is an excellent alternative to markdown. Emacs offers a ton of features out of the box related to org-mode. However it is intrinsically tied with Emacs, so if you aren’t sure about Emacs, then I wouldn’t suggest using org-mode as a replacement just yet. I do encourage you to give it a shot though!

  • a1tsca13@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    14 hours ago

    I second looking at System Crafters’ resources. One thing that helped me was their emacs from scratch video series.

    And as a heavy Markdown user, I initially built my config around Markdown. But several years later I’ve found I now use org-mode almost exclusively instead. They both fill the same niche in my workflow, but org-mode can do a lot more.

  • TheAgeOfSuperboredom@lemmy.ca
    link
    fedilink
    arrow-up
    6
    ·
    21 hours ago

    I used to maintain my own Emacs config, but I switched to Doom years ago and never looked back. I appreciate the community aspect that lets it be better integrated and tested than I had time to manage on my own.

    I use it as my primary environment for everything you mentioned and its excellent. The initial setup is fairly easy too.

    And because it’s Emacs, if there’s something you don’t like, you can change it! 😄

    • ZeroOne@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      20 hours ago

      Hmmmm, I’ll give it a shot😅 After a long while with DoomEmacs, I’ll probably attempt at creating my own configs & share it here in this community.

      Now that we’re here, how about Spacemacs ?

      • TheAgeOfSuperboredom@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        14 hours ago

        Cool! Give it a go! Do you know about the Emacs Wiki? It was a pretty good resource many years ago when I had my own config. Not sure how it is these days though, but you might find some useful stuff there.

        As for Spacemacs, I never got into it. At the time I found it more complicated than my own setup and a bit more confusing. I know a lot of people liked it though, and it was the first starter kit I’m aware of that really took off, so it might be worth a look!

  • NebLem@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    16 hours ago

    Base Emacs 29 will do a lot for you in those areas, especially with rust-ts-mode (Treesitter powered Rust mode), Markdown mode, Company (a completion tool), and Eglot (lsp server client). I also recommend adding Which-Key to help figure out the bindings in different modes. Built-in eshell is great for scripting / terminal needs.

    For a kickstarter config, System Crafters’ is pretty nice and will mostly keep you to built ins with good documentation of why they chose things. https://github.com/SystemCrafters/crafted-emacs/ and they have a Rust example config using their modules in their examples.

    Doom Emacs and Space Emacs are cool too to show some possibilities and get a full featured ide earlier, but there those setups due add their own learning steps.

  • algernon
    link
    fedilink
    arrow-up
    4
    ·
    21 hours ago

    If you’re new(ish) to Emacs, I would strongly suggest using a kit like Doom Emacs. It sets up some modern defaults, and makes it far, far simpler to set up a good environment for whatever languages you want. And the wonderful thing is that you can keep using Doom!

      • algernon
        link
        fedilink
        arrow-up
        1
        ·
        6 hours ago

        Yes. It makes configuring Emacs a whole lot simpler than vanilla Emacs.

        • kyoji@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 minutes ago

          I disagree with this. I tried Doom when I first started using Emacs and yes, it gets you there faster, but it’s extremely opinionated and essentially has it’s own configuration language. I found that confusing when trying to learn how Emacs works, as there is “the Emacs” way, and then “the Doom” way.

      • comma@midwest.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 hours ago

        Yes, you should absolutely go with DOOM Emacs.

        I’m also an Emacs newb (been using it for 1 year). DOOM made getting into Emacs actually approachable.

        Good luck on your journey!