Fork me on GitHub
#practicalli
<
2024-02-08
>
dumrat07:02:10

Is it possible to embed portal window in emacs? I'm new to emacs and followed practicalli guide for spacemacs setup. With a new project I get portal but on a seperate window Previously used VSCode with calva and portal integrates into VS code. Not a huge issue but would be nice to have I guess Thanks for the detailed guides though. Much appreciated. 🙏

practicalli-johnny10:02:24

Yes, it's possible to embed Portal in an Emacs window using XWidgets. So Emacs must be compiled with XWidgets support. On a Mac, Emacs Plus has a flag to help you do this https://github.com/d12frosted/homebrew-emacs-plus I haven't looked into the Linux side, but assume it's mostly compiling (or finding a distribution of Emacs that has it enabled https://practical.li/blog/build-emacs-from-source-on-debian-linux/

👍 1