commercial-emacs / commercial-emacs

"Evil will always triumph, because good is dumb." -- Spaceballs (1987)

Home Page:https://www.youtube.com/channel/UCyf-xqc0ovYSDgaCcB3CUoA/featured

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emacs: Pure GTK and Native comp support?

drishal opened this issue · comments

If I try to configure emacs with either pure gtk and/or native compilation support, I get the following errors
The error with pgtk during configure (--with-pgtk)
configure: error: Not mirroring changes from xterm.c to pgtkterm.c

And this is --with-native-compilation
make[3]: *** [Makefile:342: emacs-lisp/comp.elc] Aborted (core dumped)

Is it possible to add proper support for these flags as well? (Since I prefer using a wayland based compositor, hyprwm, I would love to see pgtk support so it has even better input latency under wayland)

I deliberately removed pgtk as untenable. The way in which GNU sometimes remembers and sometimes forgets to mirror changes from xterm.c to pgtkterm.c is not how we want to proceed. We'd rather be correct than full-featured (and we're already too often incorrect with our limited featureset).

Similarly, we regard native-compilation as a half-baked measure largely not understood except by one person. It also destroys compilation times, and given how many bugs plague Commercial Emacs, we're recompiling all the time. We'll get around to removing the native-compilation flag so as not to confuse people.

I deliberately removed pgtk as untenable. The way in which GNU sometimes remembers and sometimes forgets to mirror changes from xterm.c to pgtkterm.c is not how we want to proceed. We'd rather be correct than full-featured (and we're already too often incorrect with our limited featureset).

Similarly, we regard native-compilation as a half-baked measure largely not understood except by one person. It also destroys compilation times, and given how many bugs plague Commercial Emacs, we're recompiling all the time. We'll get around to removing the native-compilation flag so as not to confuse people.

Is there any plans for alternative implementation with Wayland ?

Frankly, I don't even know what "Wayland" is. So no. Thanks for you interest, nonetheless.

Frankly, I don't even know what "Wayland" is. So no. Thanks for you interest, nonetheless.

Wayland is supposed to be a replacement for X and is supposed to provide a lot of improvements, like better fonts rendering, slightly more responsiveness overall, lower power consumption etc
Would be nice to maybe implement pgtk or an alternative for proper wayland compatibility

Frankly, I don't even know what "Wayland" is. So no. Thanks for you interest, nonetheless.

one more small question, can you please also implement pixel-scroll-precision-mode?