News for hackers. Stuff that matters.
Re:Emacs minor mode for d20 tabletop roleplaying games by tadfisher on Thursday February 11, 2021 @04:17PM (#26107347)
Emacs is so fantastic, I just want it to have a UI that can compete with VS Code and IntelliJ.

I also understand that its UI limitations are also part of its strength, as being fundamentally text-based results in a consistent UX no matter what esoteric modes you activate.

I wonder if there's a middle ground; say, by allowing for frames & windows to have "chrome" that can take up some space on their edges and allow drawing widgets via GTK or Cairo and plumbing input events back into Lisp. Then we can have stuff like sidebars, status areas, code lenses, etc. that behave like modern editors, and people that don't like it can just leave the "chrome" option disabled.

Re:Emacs minor mode for d20 tabletop roleplaying games by thaumasiotes on Thursday February 11, 2021 @05:17PM (#26108141)
> Then we can have stuff like sidebars, status areas, code lenses, etc. that behave like modern editors

What's stopping you from doing that in emacs now? That sounds like a bunch of stuff we can already have?

Re:Emacs minor mode for d20 tabletop roleplaying games by sedachv on Friday February 12, 2021 @01:54AM (#26111302)
All of that has been around for a quarter of a century (since XEmacs and GNU Emacs 21 at least). See CEDET for an example: http://cedet.sourceforge.net/

CodeLens is just some text properties and tool-tips/pop-ups.

Re:Emacs minor mode for d20 tabletop roleplaying games by egh on Thursday February 11, 2021 @07:08PM (#26109290)
Re:Emacs minor mode for d20 tabletop roleplaying games by heisig on Thursday February 11, 2021 @04:52PM (#26107850)
> I wonder if there's a middle ground;

I hope that McCLIM (https://common-lisp.net/project/mcclim/) can some day fill that role, or a project that is similar to McCLIM.

I cannot imagine a better way of interacting with a computer than to have objects that can be manipulated both interactively and with Lisp code. Emacs is already close to that ideal, but I think we could do even better.

Re:Emacs minor mode for d20 tabletop roleplaying games by nonbirithm on Thursday February 11, 2021 @05:14PM (#26108103)
I wondered what would happen if you applied this philosophy to a game engine. Imagine Unity, but with the ability to open a REPL in-game and run all of your code interactively.

I managed to accomplish this somewhat with Lua. Designing the engine so that all the cool things like creating and equipping items, generating maps, etc. are in public APIs you can use interactively has given me a lot of power. I'm not sure if the benefits offset the maintainability tradeoff, but I'm somehow continually excited to sit down and mess around with it. Taken as a single-user experience, being the only person to understand the system and write more code, it is almost a dream come true.

Re:Emacs minor mode for d20 tabletop roleplaying games by Procrastes on Thursday February 11, 2021 @08:45PM (#26109902)
Also see: Show HN: Real-time multiplayer games with cubes. Early feedback on dev docs?[1]

1. https://news.ycombinator.com/item?id=26109153

Re:Emacs minor mode for d20 tabletop roleplaying games by ohmree on Thursday February 11, 2021 @07:57PM (#26109631)
Arcadia seems like what you described. https://github.com/arcadia-unity/arcadia
Re:Emacs minor mode for d20 tabletop roleplaying games by masijo on Thursday February 11, 2021 @10:41PM (#26110527)
Re:Emacs minor mode for d20 tabletop roleplaying games by silly-silly on Thursday February 11, 2021 @08:54PM (#26109958)
There is no reason you can't do this now, Inter process communication is a thing.