News for hackers. Stuff that matters.
Re:Emacs GUI Library by omnicognate on Tuesday July 11, 2023 @12:11PM (#36683075)
Anybody should feel free to do what they like to emacs, it's free software. But this would be a fork I would have absolutely no interest in whatsoever.

The author sees the fact that emacs UIs are textual as a negative, but it's the reason I love it, the reason I've been using it for 20 years and I dare say the reason some have been using it twice as long. Ditching terminal support and replacing emacs TUIs with GUIs would not be progress, and if that's what you want I doubt modifying emacs is going to be a rewarding way of trying to achieve it. Just use vscode.

Re:Emacs GUI Library by jfb on Tuesday July 11, 2023 @12:29PM (#36683366)
I have long wanted something that was basically a modern~ish Smalltalk environment, that spends more energy integrating with the rest of the world. Emacs is as close as we can get to a system that is inspectable, plastic, and open; I want those qualities in my entire computing environment, and there is literally nothing available for any price better than Emacs at this, but Emacs isn't good at it.
Re:Emacs GUI Library by omnicognate on Tuesday July 11, 2023 @12:41PM (#36683540)
Then go ahead and build it. All I'm saying is that A) that's a fork of emacs I won't be remotely interested in and B) I highly doubt starting with emacs will be good way to achieve it (but go ahead and try by all means).

(Anything that removes terminal support from emacs will be a fork.)

Re:Emacs GUI Library by jfb on Tuesday July 11, 2023 @12:45PM (#36683597)
Yeah, it's true. And Emacs would be a very poor substrate for this.
Re:Emacs GUI Library by iLemming on Tuesday July 11, 2023 @05:07PM (#36687225)
> (Anything that removes terminal support from emacs will be a fork.)

GNU/Emacs already has tons of features that don't work in terminal and it's not a fork. GUI has:

- better fonts and better colors

- childframe support, nice for posframes

- viewing images and pdfs

- SVG support

- icons and emojis

- etc.

Re:Emacs GUI Library by rileyphone on Tuesday July 11, 2023 @01:54PM (#36684670)
I believe the web currently possesses the capabilities to make a networked Emacs/Smalltalk style system, souped up with AI, targeting web applications that don't require downloads; I've been pursuing such a system for a while and hope to have a prototype soon. There isn't really anything like this - Emacs is stuck in Unix-land, Replit is tied to React/Next.js (blegh), and Urbit sees obscurity as a virtue.
Re:Emacs GUI Library by trenchgun on Wednesday July 12, 2023 @12:22AM (#36690453)
Re:Emacs GUI Library by guestbest on Wednesday July 12, 2023 @01:54AM (#36690896)
Is there a modern smalltalk that focuses on building TUI?
Re:Emacs GUI Library by User23 on Tuesday July 11, 2023 @12:48PM (#36683652)
When did VS Code get the same level of user discoverability, customizability, and interactivity as Emacs? I took a look at it a few years ago and it didn’t have anything remotely close to what Emacs offers while working considerably worse out of the box for development than Doom. Is it worth taking another look?
Re:Emacs GUI Library by AlanYx on Tuesday July 11, 2023 @01:01PM (#36683864)
Discoverability and interactivity are debatable, but customizability is still not VSCode's forte. It's easy to knock up some quick elisp to scratch an itch in Emacs, whereas just printing Hello World in VSCode requires a bunch of scaffolding as an extension.
Re:Emacs GUI Library by PurpleRamen on Tuesday July 11, 2023 @04:48PM (#36687005)
Some customizing being easier, doesn't mean it's overall more customizable. Both have a different focus in customizing, and different areas where it's easy or hard.
Re:Emacs GUI Library by nequo on Tuesday July 11, 2023 @01:00PM (#36683839)
What is the benefit of drawing the interface for `M-x customize-group` as if it was plain text in the terminal when running the Emacs GUI?

It makes sense for `emacs -nw` and I don't think there’s many Emacs users who are advocating for ditching terminal support. But it looks like a hack in the GUI.

Re:Emacs GUI Library by ymherklotz on Tuesday July 11, 2023 @01:22PM (#36684182)
The benefit is uniformity, everythings the same, which is one of the main reasons I use Emacs. I can use all of my usual navigation keys to move around the documentation of the variable, evaluate things inline, etc.. Just as if it were more text, which is what Emacs is already great at. I would mind the buttons getting a more modern look, but I think everything being text what makes it works this seemlessly, and it would be much tougher to get a uniform feel with graphical windows.
Re:Emacs GUI Library by ParetoOptimal on Tuesday July 11, 2023 @02:17PM (#36685066)
> The benefit is uniformity, everythings the same, which is one of the main reasons I use Emacs

Not only the uniformity in use, but also the uniformity in how you extend would be lost.

Re:Emacs GUI Library by alwaysbeconsing on Tuesday July 11, 2023 @03:12PM (#36685886)
There's no reason keyboard navigation can't work in a GUI context. In fact it might be easier to define things like "up" or "forward" since widgets will often have a natural hierarchy with direct references to each other, so there's no need to parse anything to figure out what the "sexp" is.
Re:Emacs GUI Library by ParetoOptimal on Tuesday July 11, 2023 @04:20PM (#36686712)
One problem is that macros currently work even in things like the settings buffer. If you change that to GUI, depending on the implementation, I'm not sure if that stays true.

For a settings buffer, maybe it doesn't matter. However macros working everywhere in your editor as a default is quite powerful.

Re:Emacs GUI Library by alwaysbeconsing on Tuesday July 11, 2023 @06:48PM (#36688273)
I don't follow. Macros are literally just vectors of input events; if keyboard navigation works, then so will a macro that replays that navigation. (It is also already possible to record a macro that includes mouse events.)
Re:Emacs GUI Library by ArtWomb on Tuesday July 11, 2023 @01:18PM (#36684107)
XEmacs 24 on SunOS 5 was cool: code, web, mail, data all-in-one!

Pixel Fold & Tablet 5G + living in Emacs on Android at the cafe, beach and golf resort is totally do-able ;)

https://www.reddit.com/r/emacs/comments/ugxfi2/fyi_i_install...

Re:Emacs GUI Library by Barrin92 on Tuesday July 11, 2023 @01:27PM (#36684279)
>Ditching terminal support and replacing emacs TUIs with GUIs would not be progress

Graphical debuggers are one of the most important tools developers have gotten in the last few decades compared to the TUI and command line era. There exist packages like dap-mode for emacs which do an admirable job in simulating more graphical workflows, but they are limited by the capacities that Emacs has.

If you want to put Emacs on the same footing with modern IDEs I don't think you get around to at some point getting it to a modern GUI system.

Re:Emacs GUI Library by ifyoubuildit on Tuesday July 11, 2023 @01:37PM (#36684437)
> If you want to put Emacs on the same footing with modern IDEs I don't think you get around to at some point getting it to a modern GUI system.

Maybe I'm in the minority on this, but I'm not interested in emacs being on the same footing with modern IDEs. I'm happy with what it is, and would be sad if it didn't exist as it does today. (I only ever use emacs without -nw by accident)

Re:Emacs GUI Library by ParetoOptimal on Tuesday July 11, 2023 @02:18PM (#36685093)
> There exist packages like dap-mode for emacs which do an admirable job in simulating more graphical workflows, but they are limited by the capacities that Emacs has.

Limited by emacs or by developer time?

Re:Emacs GUI Library by pjmlp on Tuesday July 11, 2023 @02:48PM (#36685533)
XEmacs was what made me actually enjoy Emacs back in the day.
Re:Emacs GUI Library by witx on Wednesday July 12, 2023 @03:27AM (#36691412)
And ideas like this (there are tons amongst longer emacs users) is part of the reason of why I left emacs after 8 years of running my own config. I just can't stand the reasoning "No no don't change things I like how they are, cowebs and all". There are lots of places emacs should improve to became a better modern editor, not necessarily to attract more people but to make the life of those who use it better.