all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: luangruo@yahoo.com, stefankangas@gmail.com,
	drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: Platform independent graphical display for Emacs
Date: Sat, 25 Dec 2021 13:23:01 +0200	[thread overview]
Message-ID: <9c04ef31-96e0-1874-7385-633435a28b5f@yandex.ru> (raw)
In-Reply-To: <83tuexqh7w.fsf@gnu.org>

On 25.12.2021 10:25, Eli Zaretskii wrote:

>> On 24.12.2021 10:33, Eli Zaretskii wrote:
>>>> That said, all of this would obviously be a lot of work and until and
>>>> unless someone starts such work this is all rather academic.
>>> Not only that, I'd hesitate to accept such a contribution, because its
>>> long-term maintenance would most probably be a constant burden,
>>
>> How it that different from a BeOS port, or a PGTK port, or etc? Where
>> the general policy has been (I think?) that we accept such contributions
>> as long as there interest from the author in maintaining it, and some
>> probable interest the users.
> 
> The suggestion, as I understood it, was to drop all the other toolkits
> and leave only this proposed one.  That was its main "selling point".
> If we decide to have just one toolkit, then having that unmaintained
> would be a serious problem for the future of Emacs.

Before we could do that, we'd need to have this port functional first, 
and the problem with dropping all others would be in reaching a 
consensus across emacs-devel (at least) that the new one is better than 
the others. And it maintained/maintainable, of course.

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.

>> I would hate to discourage someone from taking the initiative a trying
>> to create a better "no-toolkit" port which supports font scaling, for
>> example.
> 
> The suggestion was not to improve the no-toolkit configuration and
> leave all the supported toolkits in place.  The suggestion was to drop
> all the others.
> 
> I have nothing in principle against improving the no-toolkit
> configuration.  I do think that _adding_ another no-toolkit
> configuration would be undesirable, because it would make the
> proverbial "spaghetti of Emacs code" even harder to understand and
> maintain.  (I don't think such a suggestion is on the table, but since
> you seem to say I misunderstood the suggestion, perhaps I've
> misunderstood that as well.)

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.

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.

>> Worst-case scenario, we'd just have to drop that "port", wouldn't we?
> 
> We cannot just "drop" the only toolkit we have.
> 
>> Like some people said previously, Emacs feels similar in spirit to
>> another popular FLOSS project: Blender. Community of professionals,
>> keyboard-driven interface, power and customizability.
>>
>> Blender never used an existing GUI toolkit. And I think it looks pretty
>> good (even though I hope it has grown a light-bg theme by now):
>>
>> https://docs.blender.org/manual/en/latest/_images/editors_preferences_section_interface.png
>> https://b3d.interplanety.org/wp-content/upload_content/2016/09/01-4.jpg
>>
>> Of course, the Blender community is much larger and better funded, but
>> OTOH the number of different UI elements we'd need to support is much
>> smaller as well.
> 
> I'm not saying it's impossible, I'm just saying we don't have such
> talent on board.  Maybe Blender does, which would be understandable,
> given the focus of the project.  Our experience is that GUI experts in
> our ranks are very rare and far in-between, and there are no reasons
> to believe this will change.

Having a port like that developed could get us +1 such expect.

>> And we could tap into some existing community talent by having a lot of
>> the UI logic implemented in Lisp. Similarly to how a number of recent
>> web browser projects have their UIs implemented with JS+HTML.
> 
> I think this hope is misguided, because Emacs Lisp was not designed to
> be a UI programming language, it was designed as a text-processing
> language.  So it would need significant extensions to get closer to
> your dream.

There is not much in JS that would make it a UI language. Other Lisps 
compile to it without problems. Other editors had been written in lisp 
as well (such a LightTable -- in ClojureScript).

Perhaps better concurrency story would make it a tad easier (e.g. better 
stdlib for working with threads, or a counterpart to Web Workers), but 
IIRC when LightTable was developed, JavaScript had neither.



  reply	other threads:[~2021-12-25 11:23 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 [this message]
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
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9c04ef31-96e0-1874-7385-633435a28b5f@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.