From: Dmitry Gutov <dgutov@yandex.ru>
To: Po Lu <luangruo@yahoo.com>
Cc: Eli Zaretskii <eliz@gnu.org>,
stefankangas@gmail.com, drew.adams@oracle.com,
emacs-devel@gnu.org
Subject: Re: Platform independent graphical display for Emacs
Date: Sat, 25 Dec 2021 15:24:42 +0200 [thread overview]
Message-ID: <41b80f26-9522-e723-5999-c80a94427c5e@yandex.ru> (raw)
In-Reply-To: <87tuew9a29.fsf@yahoo.com>
On 25.12.2021 14:51, Po Lu wrote:
> Dmitry Gutov <dgutov@yandex.ru> writes:
>
>> That should pretty much guarantee that it will be maintained. But the
>> odds of reaching that point are pretty slim, of course, given that we
>> don't lack in different viewpoints here.
>
> Maintaining a toolkit, even more so one that supports as many platforms
> as we do, is not a one-person job, especially in this rapidly changing
> world.
>
> Case in point: Wayland (which we definitely want to support.)
AFAIK, no ports other than PGTK have any Wayland support either.
So with the transition of GNU/Linux world from X to Wayland, we'd either
have drop all other ports (aside from w32 and ns, I suppose), or end up
dealing with this somehow anyway.
> A single expert (or even a small group of experts) will have a very hard
> time maintaining a toolkit that will work with Wayland, seeing as you
> have to understand XML, a complicated wire protocol and several very
> rapidly changing "standard" extensions to do any meaningful work with
> it. For example, an unstable extension is required for a toplevel to
> obtain the input focus, and another is required to handle input methods.
>
> Seeing as other programs such as Chromium (and by extension VS-Code) and
> even toolkits with ample funding and full-time developers such as Qt
> still struggle with Wayland support, I think it would be a very, very
> bad idea for us to take that task onto ourselves.
I suppose the hope at this point is that Wayland and set of its
extensions will stabilize soon-ish, because it would also help with
adoption by other programs.
> Besides, we will probably not be able to implement everything on other
> platforms such as NS, Haiku, or MS-Windows, so such a configuration will
> likely be specific to X, which begs the question of why we should use
> that configuration instead of the other in-tree X toolkit Lucid.
Lucid doesn't look nice, nor does it support modern features like
scaling. But for all I know, the potential developer could start with
improving Lucid instead, and at some point reach the state where they
are satisfied with how things work.
After that, it might be a question whether people want to try unifying
the w32 and ns ports too (by switching to rendering widgets with e.g.
OpenGL). Or not.
>> I would at least hope that switching to another no-toolkit
>> configuration (and removing the current one soon after) is on the
>> table. After getting enough consensus, naturally.
>
> You can't really switch "from one no-toolkit configuration" to another,
> because they cannot be much different by definition.
>
> My idea of the only remotely practical way to implement a similar
> configuration is for everything on the display (such as menu bars and
> scroll bars, but not dialog boxes or popup menus) to be drawn by
> redisplay through the RIF similarly to how the tool bar is displayed at
> present in all platforms except NS and GTK. I think we can already do
> that with the menu bar as well -- the only job that's left is to make it
> look nicer, possibly by applying a box and a gray background to the
> individual buttons there.
>
> Ideally, this won't require significant changes to the X specific code
> at all.
>
> However, exposing that to Lisp would be a bad idea. If the tab bar
> feature is anything to judge by, this seems to be quite difficult and
> also tends to create obscure bugs, such as the image relief bugs with
> the tab bar.
Can't comment on that.
>> It might become feasible to remove a number of them, though. If my
>> hunch is right that people have been holding on to no-toolkit, or
>> Motif, or Lucid, because they each have some pet bug which is present
>> on newer toolkit ports, but not on their chosen one.
>
> People might also have a preference for Lucid or Motif, or even GTK+.
> There are also people who want to use Motif/Lucid specific resources, or
> GTK stylesheets.
>
> I hope we will not remove any of the toolkit code, no matter what.
>
>> Having a port like that developed could get us +1 such expect.
>
> That assumes someone exists and is willing to do the work. I don't
> think we can magically "have" such a port developed and gain such an
> expert.
>
> Would you like to volunteer?
This discussion started with a person expressing interest.
next prev parent reply other threads:[~2021-12-25 13:24 UTC|newest]
Thread overview: 118+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-22 19:19 Motif support xenodasein--- via Emacs development discussions.
2021-12-22 19:35 ` Arthur Miller
2021-12-22 19:37 ` Eli Zaretskii
2021-12-22 20:24 ` Óscar Fuentes
2021-12-23 6:42 ` Eli Zaretskii
2021-12-23 7:58 ` Arthur Miller
2021-12-23 8:55 ` Eli Zaretskii
2021-12-23 11:46 ` Arthur Miller
2021-12-23 11:52 ` Po Lu
2021-12-23 12:43 ` Arthur Miller
2021-12-23 12:52 ` Po Lu
2021-12-23 17:35 ` Arthur Miller
2021-12-24 0:38 ` Po Lu
2021-12-24 1:17 ` xenodasein--- via Emacs development discussions.
2021-12-24 1:24 ` Po Lu
2021-12-24 1:37 ` xenodasein--- via Emacs development discussions.
2021-12-24 7:24 ` Eli Zaretskii
2021-12-24 8:06 ` xenodasein--- via Emacs development discussions.
2021-12-24 8:24 ` Stefan Kangas
2021-12-24 8:37 ` Eli Zaretskii
2021-12-24 2:20 ` Stefan Kangas
2021-12-24 2:43 ` Po Lu
2021-12-24 2:59 ` [External] : " Drew Adams
2021-12-24 3:17 ` xenodasein--- via Emacs development discussions.
2021-12-24 3:26 ` Po Lu
2021-12-24 3:36 ` xenodasein--- via Emacs development discussions.
2021-12-24 7:27 ` Eli Zaretskii
2021-12-24 4:30 ` Platform independent graphical display for Emacs Stefan Kangas
2021-12-24 4:44 ` Po Lu
2021-12-24 6:28 ` Stefan Kangas
2021-12-24 6:43 ` Po Lu
2021-12-24 5:24 ` [External] : " Drew Adams
2021-12-24 7:33 ` Eli Zaretskii
2021-12-24 8:10 ` xenodasein--- via Emacs development discussions.
2021-12-24 8:41 ` Eli Zaretskii
2021-12-24 8:48 ` xenodasein--- via Emacs development discussions.
2021-12-25 0:30 ` Dmitry Gutov
2021-12-25 7:25 ` Eli Zaretskii
2021-12-25 11:23 ` Dmitry Gutov
2021-12-25 11:38 ` Eli Zaretskii
2021-12-25 11:57 ` Dmitry Gutov
2021-12-25 12:06 ` Eli Zaretskii
2021-12-25 12:59 ` Dmitry Gutov
2021-12-25 13:08 ` Eli Zaretskii
2021-12-25 12:06 ` Po Lu
2021-12-25 13:08 ` Dmitry Gutov
2021-12-25 13:36 ` Po Lu
2021-12-25 12:20 ` Óscar Fuentes
2021-12-25 12:29 ` Po Lu
2021-12-25 12:49 ` Dmitry Gutov
2021-12-25 12:54 ` Po Lu
2021-12-25 13:03 ` Dmitry Gutov
2021-12-25 13:07 ` Po Lu
2021-12-25 13:09 ` Óscar Fuentes
2021-12-25 13:20 ` Eli Zaretskii
2021-12-25 14:08 ` Óscar Fuentes
2021-12-25 14:36 ` Eli Zaretskii
2021-12-25 13:39 ` Po Lu
2021-12-25 13:44 ` xenodasein--- via Emacs development discussions.
2021-12-25 12:37 ` Eli Zaretskii
2021-12-25 13:00 ` xenodasein--- via Emacs development discussions.
2021-12-25 13:05 ` Eli Zaretskii
2021-12-25 13:11 ` xenodasein--- via Emacs development discussions.
2021-12-25 13:17 ` Óscar Fuentes
2021-12-25 13:26 ` xenodasein--- via Emacs development discussions.
2021-12-25 13:27 ` xenodasein--- via Emacs development discussions.
2021-12-25 11:51 ` Po Lu
2021-12-25 13:24 ` Dmitry Gutov [this message]
2021-12-25 13:31 ` Po Lu
2021-12-25 14:14 ` Dmitry Gutov
2021-12-25 14:30 ` Óscar Fuentes
2021-12-26 1:12 ` Po Lu
2021-12-26 1:51 ` Stefan Kangas
2021-12-26 1:56 ` Po Lu
2021-12-24 9:55 ` Lars Ingebrigtsen
2021-12-24 10:02 ` Po Lu
2021-12-24 10:16 ` Stephen Berman
2021-12-24 10:54 ` xenodasein--- via Emacs development discussions.
2021-12-24 11:07 ` Po Lu
2021-12-24 11:29 ` xenodasein--- via Emacs development discussions.
2021-12-24 11:31 ` Po Lu
2021-12-24 11:39 ` xenodasein--- via Emacs development discussions.
2021-12-24 12:08 ` Po Lu
2021-12-24 12:22 ` xenodasein--- via Emacs development discussions.
2021-12-24 12:27 ` Po Lu
2021-12-24 12:57 ` xenodasein--- via Emacs development discussions.
2021-12-24 13:09 ` Po Lu
2021-12-24 14:27 ` xenodasein--- via Emacs development discussions.
2021-12-24 16:05 ` martin rudalics
2021-12-25 0:22 ` Po Lu
2021-12-25 9:18 ` martin rudalics
2021-12-25 9:42 ` Po Lu
2021-12-26 8:25 ` martin rudalics
2021-12-26 10:16 ` Po Lu
2021-12-24 11:45 ` Óscar Fuentes
2021-12-24 12:02 ` Eli Zaretskii
2021-12-24 13:19 ` Óscar Fuentes
2021-12-24 13:26 ` Po Lu
2021-12-24 14:00 ` Óscar Fuentes
2021-12-25 0:20 ` Po Lu
2021-12-25 0:47 ` Óscar Fuentes
2021-12-25 0:57 ` Po Lu
2021-12-25 3:24 ` Jose A. Ortega Ruiz
2021-12-25 5:03 ` Po Lu
2021-12-25 5:12 ` Jose Antonio Ortega Ruiz
2021-12-25 5:23 ` Po Lu
2021-12-25 6:57 ` Eli Zaretskii
2021-12-25 9:18 ` martin rudalics
2021-12-25 5:41 ` LdBeth
2021-12-25 5:51 ` Po Lu
2021-12-24 13:42 ` Eli Zaretskii
2021-12-24 14:19 ` Óscar Fuentes
2021-12-24 11:50 ` Eli Zaretskii
2021-12-25 12:45 ` xenodasein--- via Emacs development discussions.
2021-12-24 7:17 ` Motif support Eli Zaretskii
2021-12-24 0:46 ` Po Lu
2021-12-23 15:05 ` xenodasein--- via Emacs development discussions.
2021-12-23 15:08 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41b80f26-9522-e723-5999-c80a94427c5e@yandex.ru \
--to=dgutov@yandex.ru \
--cc=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).