portal

Sebastian 2023-08-31T08:31:10.664169Z

Hello 👋 If anybody is using Portal together with Emacs and Cider, I've put together a https://gist.github.com/lambdank/9d2f8639349c2fcfa5166eb96dfba1b7 for interacting with Portal through Emacs. It's quite easy to grasp the pattern and extend it, if you want additional functionality.

Ellis 2023-08-31T09:33:09.644699Z

I actually had https://github.com/elken/doom/blob/1b76d59fc7791b85c417000535abe011391ef9a9/config.org#portal but I stopped using portal as much because it didn't work well with the project I was working on Might be a good prompt to improve it...

Sebastian 2023-08-31T11:08:04.153789Z

I usually just tap> directly in the code, or by using cider-tap-sexp-at-point. This script is more to avoid having to switch focus from Emacs to Portal in the web browser. That's also why it's a hydra-mode, because I can enter it using C-; and mostly do j and k for up/down, TAB and backtab to cycle viewer and i and h to navigate a tree structure.

👍 1
djblue 2023-08-31T17:44:13.979799Z

Very cool 💯 Setting the filter from emacs isn't something I've seen before awesome

djblue 2023-08-31T17:44:55.052399Z

@elken if you don't mind me asking, what kind of issues did you run into with portal in your project?

Ellis 2023-08-31T19:25:46.709039Z

They're not portal related, it was just a messy project. Very brittle, lots of dependant state. What I've used portal on it's extremely useful 🙂