Somebody has learned all the important Finnish words
Here’s an interview with @m2Giles from a few years ago:
Very funny video. The one that was specially funny to me is when he executed some keyboard shortcut to delete text and text was not deleted. He starts reading the manual: “This is the key on the keyboard usually labeled Backspace, the same one you normally use outside of Emacs.” and his comment: “I don’t use anything outside of Emacs.”
Priorities! Olen oppimassa suomea…
Honestly, after wandering through Suomi for the past four months, I now fully grasp the meaning of those and a few similar words. I’m torn between replacing vitt** with something else or swapping satama for jumalauta! After all, while it’s true that these are awful words, they’re also just the perfect way to refer to one’s closest friends =)
“I don’t use anything outside of Emacs.” Which wouldn’t be a lie at all!
Back in the day, when I still inhabited my Emacs Ivory Tower, I used to run my CLI shell, SSH, and everything in between from inside Emacs, which, of course, ran as a daemon in as many places as I could put it.
Fast-forward fifteen years, and now I won’t move away from Neovim and VSCode (unless something terrible happens…)
It’s so nice to have so many choices!
It worked for me. I tried the emacs sysext. I used these commands:
sudo install -d -m 0755 -o 0 -g 0 /var/lib/extensions /var/lib/extensions.d /etc/sysupdate.d
sudo restorecon -RFv /var/lib/extensions /var/lib/extensions.d /etc/sysupdate.d
SYSEXT="emacs"
RELEASE_TAG="fedora-silverblue-41"
URL="https://github.com/travier/fedora-sysexts/releases/download/${RELEASE_TAG}/${SYSEXT}.conf"
curl --silent --location "${URL}" | sudo tee "/etc/sysupdate.d/${SYSEXT}.conf"
It’s needed to change the /etc/sysupdate.d/emacs.conf
. I changed the Path
field from Source
section to this:
Path=https://github.com/travier/fedora-sysexts/releases/download/fedora-silverblue-%w/
It was needed because it replace /%o-%W
with bluefin-dx-nvidia
that doesn’t exists (404 error). So I forced to be fedora-silverblue
. And continued with:
sudo /usr/lib/systemd/systemd-sysupdate list
sudo /usr/lib/systemd/systemd-sysupdate update
sudo systemctl restart systemd-sysext.service
systemd-sysext status
I tried to call emacs-desktop
but I had this error:
❯ LC_ALL=C emacs-desktop
/usr/bin/emacs-desktop: line 18: exec: emacs: not found
But call emacs-pgtk
works.
Yeah, I had that same experience as you, only, when I tried running various scripts and what not that would be standard in emacs (like, doom emacs for example) or even my own set of scripts, it just… didn’t. Layering it I did not have this problem.
The emacs sysext is built against silverblue and not bluefin.
The emacs symlink not being present is interesting. I’m guessing it uses alternatives and it’s missing because of that.
Yepp it is indeed doing that. Will get an update to that repo
So at this point, what’s our best way to install emacs native-comp?
I’m trying to get a setup going with bazzite or Aurora on a laptop to use for some game dev stuff (my needs are pretty light). And have been working on learning emacs.
So just trying to get it setup and flatpak seems to kinda defeat the purpose of using emacs. The distrobox method may work, just not sure if it’s really ideal.
Have you tried installing using homebrew?
If all else fails, you can layer it. Layering is discouraged, but not verboten. I use it for anything that works better when, and really needs to be, tightly coupled with the OS, which currently is just 1Password for me.
rpm-ostree install ./file.rpm
(Apologies if this was covered above, it’s been a while, and I didn’t reread all 28 replies).
Apologies, I should have mentioned. I did try brew. However, there are two issues. 1. this isn’t native comp, from my understanding native-comp emacs is only available for mac in homebrew. 2. brew only gives you the console mode, I use the GUI mode.
There was a Fedora sysexts earlier in the thread. There was also a copr repo mentioned, however it’s seeminly stuck on emacs 29.
I’m ok with layering or potentially just updating an image to include it. At first I though that the version packaged in the normal Fedora repos wasn’t native comp, but it looks like it is, though it is 29.4 (which Doom suggests has a bug). So I may have to see if they can update it (as 30.1 is the official stable release).
I at least got it installed, now I just have to work on tweaking the fonts, but it’s mostly working. Thanks!
Edit: 30.1 is in testing currently. So hopefully not too long.
Well, good luck installing the Emacs operating system on your operating system
I ended up going the route suggested by @cig0 above. I have a custom blue-build config with Emacs installed in the base image. No layering needed. I took the opportunity to add some additional things I use for my embedded development in the OS itself.
Guessing you mean the Blue Build stuff? I think my first implementation is to prove it’s possible and confirm anything else I need. Then I’ll probably do the same provided I can figure it out!
Yes, exactly. It’s pretty simple; clone their template; make your changes; do an ostree rebase.
I use the sysext for F41 with doom. It’s been fine for me even though it’s on 29.4
F42 is coming out soon and I’m guessing Timothee will be switching the sysexts to F42 /or adding them soon.
If you need 30.1 now you can distrobox route.