this post was submitted on 19 Oct 2023
13 points (93.3% liked)

Asklemmy

43988 readers
959 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_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 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.

[โ€“] [email protected] 3 points 1 year ago

Emacs is a life style

[โ€“] [email protected] 2 points 1 year ago (3 children)
[โ€“] [email protected] 1 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).

[โ€“] [email protected] 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.

[โ€“] [email protected] 2 points 1 year ago* (last edited 1 year ago)

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

[โ€“] [email protected] 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.

[โ€“] [email protected] 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

[โ€“] [email protected] 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?

[โ€“] [email protected] 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

[โ€“] [email protected] 1 points 1 year ago (1 children)

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

[โ€“] [email protected] 2 points 1 year ago (1 children)

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

[โ€“] [email protected] 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.

[โ€“] [email protected] 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.

[โ€“] [email protected] 2 points 1 year ago (1 children)

I sent you my Matrix name via Lemmy DM

[โ€“] [email protected] 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.

[โ€“] [email protected] 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.