I’m a heavy Emacs user. I use it for work, I use it for personal stuff. In my regular usage, I just install it either via the package manager or by building it myself and it basically replaces the terminal entirely.
Since that’s not recommended, I want to know what do you think is the recommended way to use Emacs in an immutable distro. From what I briefly investigated, there are two options:
- Install the Emacs flatpak
- Install Emacs inside distrobox and run it from there
I installed the Emacs flatpak before and it was a weird experience. It runs completely inside a container and, even if I explicitly allow it access to system binaries, it does not find them – meaning, no distrobox, essentially making it useless. I think I’m able to install “toolkits” from flatpak, but using them is confusing and I want to be able to access more than just what flatpak provides.
Running emacs from distrobox seems more like what I want. It’s essentially running emacs from a mutable distro with access to the installed packages – but inside a container. It’s a little annoying to have to run it like distrobox enter -- emacs instead of automatically having the system add a menu entry I can just click and start using, but this is a very minor issue. So far, this is feeling like the better option.
What do you think? Do any of you use emacs here? How do you use it?
Thanks in advance.