this post was submitted on 19 Oct 2023
71 points (91.8% liked)

Asklemmy

43757 readers
2316 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] WatTyler@lemmy.sdf.org 11 points 1 year ago (2 children)

Lots of replies mentioning Emacs but Emacs out of the box is gonna be essentially a text editor (insert obligatory: Emacs isn't a text editor; it's a LISP interpreter).

However, install Doom Emacs, and you have a full IDE experience for essentially any language you could ask for. I highly recommend it.

[โ€“] mojo@lemm.ee 6 points 1 year ago

Emacs is a life style

[โ€“] jackpot@lemmy.ml 3 points 1 year ago (3 children)
[โ€“] WatTyler@lemmy.sdf.org 2 points 1 year ago

Following up from my previous comment, there is a Flatpak of Emacs available on Flathub. Here are the instructions for how to install, whilst enabling native compilation, which will offer a performance increase and allow you to use features such as vterm (the best terminal emulator for Emacs).

[โ€“] WatTyler@lemmy.sdf.org 1 points 1 year ago (1 children)

I'm not too familiar with how Flatpak works but Emacs benefits from compiling it on your machine natively. Tell me what distro you're on and I can see if I can find out how you'd do that.

[โ€“] jackpot@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

linux mint - can i use doom emacs btw. also thx

[โ€“] netchami@sh.itjust.works 1 points 1 year ago (1 children)

A Flatpak of Doom Emacs? No. But you can just install the normal Emacs flatpak and then install Doom Emacs with 2 simple commands:

git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs

~/.config/emacs/bin/doom install

Emacs will read these config files from the .config/emacs directory. Doom Emacs is not a different version of the program, it's essentially just a set of configuration files.

[โ€“] jackpot@lemmy.ml 2 points 1 year ago (1 children)

it's not working for me? sorry to ask but could you try it? linux mint lts btw

[โ€“] netchami@sh.itjust.works 1 points 1 year ago (1 children)

I don't have a Linux Mint installation right now, but when I used Mint a few months ago this worked for me. The two commands are from the official Doom Emacs install guide. Could you tell me exactly what doesn't work?

[โ€“] jackpot@lemmy.ml 2 points 1 year ago (1 children)

when i use those commands it assume emacs is installed as a system package and installs to a different location not accessible to the flatpak

[โ€“] netchami@sh.itjust.works 1 points 1 year ago (1 children)

Try PATH="/var/lib/flatpak/exports/bin/:$PATH" ~/.config/emacs/bin/doom install

[โ€“] jackpot@lemmy.ml 2 points 1 year ago (1 children)

is that one command? also is there any disadvantgaes to emacs as a flatpak

[โ€“] netchami@sh.itjust.works 1 points 1 year ago (1 children)

Yes, it's one single command. No, I haven't noticed any major downsides of Emacs as a Flatpak.

[โ€“] jackpot@lemmy.ml 2 points 1 year ago* (last edited 1 year ago) (1 children)

what does the command do and do i have to use it whenever i run emacs or? i'll try it when i get home but if it doesnt work is there any chance you have discord or revolt or matrix, etc.

[โ€“] netchami@sh.itjust.works 2 points 1 year ago (1 children)

I sent you my Matrix name via Lemmy DM

[โ€“] DeadlineX@lemm.ee 2 points 1 year ago (1 children)

Iโ€™ve got nothing to do with this comment thread at all, but I wanted to take a moment to say that I really appreciate you going so far out of your way to help an internet stranger. Love to see it.

[โ€“] netchami@sh.itjust.works 1 points 1 year ago

Thanks for the appreciation. I do my best to make Lemmy a place where people help each other when they can.