reddit / emacs

Anyone use Emacs Application Framework (EAF)?

doloresumbridge42 · 2022-10-01 03:40
Just discovered this project [Emacs Application Framework](https://github.com/emacs-eaf/emacs-application-framework)? Looks pretty interesting. They seem have developed everything from a web browser to a pdf reader. Anyone used it yet? What are your thoughts about it?
lebensterben · 2022-10-01 03:46
it's a frontend framework that I really don't like. one example is eaf-git, which claims to be the fastest "git client" for emacs. this makes you think that maybe they implemented a full client around libgit. but nope. the [dependencies](https://github.com/emacs-eaf/eaf-git/blob/master/dependencies.json) shows that all the works are done by git-delta and ripgrep. so what is it? it's just a frontend. (and also note that magit does support git-delta via 3rd-party package) --- if you're a everything emacs guy you may like eaf. it does provide you a modern-ish interface. I'm not. And I really don't need that kind of frontend.
doloresumbridge42 · 2022-10-01 04:07
That makes sense. I have thought about going "everything emacs", but seems like too much of a hassle. I was mostly looking for rodent-less web browser, like qutebrowser, but with emacs keybindings.
HumanBrainMapper · 2022-10-01 04:17
What about xwidget-webkit?
doloresumbridge42 · 2022-10-01 04:21
I am hesitant to use that, in case it freezes up. But I will give it a try.
MunsterPlop · 2022-10-01 05:36
Have you had a look at [Nyxt](https://nyxt.atlas.engineer/) ?
Face_Motor_Cut · 2022-10-01 06:41
I use it. I think the browser is way better than for example nyxt. I don't have any problems with any websites. However I only use the eaf-browser
mickeyp · 2022-10-01 06:53
EAF's browser and pdf reader work well. It's got a lot of interesting integrations, and I like playing around with them. The only thing I wish I knew how to fix is the occasional flicker when a window is split or destroyed.
doloresumbridge42 · 2022-10-01 07:25
I used it for a bit. It's nice, but I had issues configuring it. Will try again.
a-concerned-mother · 2022-10-01 07:27
I did in the past. Even made a video showing it off
tonicinhibition · 2022-10-01 07:35
No I hadn't used it, but have been looking for some front-end stuff. Will definitely check it out, thanks
mmmnop000 · 2022-10-01 07:43
There is also `eaf-interleave` for annotating pdfs in eaf-pdf-viewer, which is nice. If i remember correctly there is a fork which also supports annotating djvus, but it's missing some features compared to alternatives like org-noter.
your_sweetpea · 2022-10-01 08:57
It seems alright but IMO just feels too... messy and fragile for me to use. I really don't like that the `install-eaf.py` script calls out to your system package manager, for one, but even past that I can't help but feel like it just involves too many moving pieces. Ideally if I'm using an Emacs package it shouldn't require manual intervention to install.
deaddyfreddy · 2022-10-01 09:53
> which claims to be the fastest Some guys just like to use superlatives regarding packages THEY wrote, whether it's true or not.
vfclists · 2022-10-01 13:24
It is a project whose existence highlights the insular philosophy of Emacs developers which has held back Elisp over the years. Elisp is an older programming language than Python and one has to wonder why it doesn't have as many integrations as Python has. Could it because it was only until Emacs 25 that Elisp got modules and that the developers are still reluctant to integrate an FFI into it? It is as though once people start using Elisp they unconsciously acquiesce to not having easy integration with other external libraries.
FreeAd7233 · 2022-10-01 16:08
You can basically consider EAF makes emacs a window manager of other fancy GUI apps. Those Eaf buffers are not text buffers, so your favorite text editing skills and navigation skills can not be used there. But it provides you the emacs way for window manager, and a keyboard centric way for navigation. Plus: if you are using mac, there are some bugs hard to fix according to the author (due to restriction in macOS’s API). But it is usable. I find that the best practice is to assign solely emacs to an independent workspace and don’t make it full screen.
lordiec · 2022-10-01 17:14
If there's no way arround installing those packages, I'm glad that they use the system's package manager, it just makes updating and keeping tracking of things easier
MatthewZMD · 2022-10-01 22:34
Thank you. This is the reason behind install-eaf's design.
[deleted] · 2022-10-02 01:22
[deleted]
your_sweetpea · 2022-10-02 02:18
If it requires packages from my package manager it should probably simply be a system-level package itself that I have to install IMO, like an "eaf-system" package that interfaces with the emacs package. A shell script that calls out to your system package manager non-interactively will always be cursed.
Sad_Entry9267 · 2022-10-02 10:32
eaf-git use many libgit function through pygit2 package. git-delta and ripgrep is dependences but not mean eaf-git not implement code base on libgit, you should check eaf-git source code before you commit this. If you don't like eaf-git frontend, it's okay, but say it's not implement libgit feature, it's not truth.
lebensterben · 2022-10-02 15:16
you call this many? https://github.com/emacs-eaf/eaf-git/blob/master/buffer.py you gotta be kidding me. it looks like a lot of loc but most of them are boilerplate.
Sad_Entry9267 · 2022-10-03 01:31
You can record some video and send issue to github.