From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Platform independent graphical display for Emacs Date: Sat, 25 Dec 2021 15:20:54 +0200 Message-ID: <83bl14rfbd.fsf@gnu.org> References: <87ilvgwfor.fsf@telefonica.net> <834k6zwvi1.fsf@gnu.org> <87h7azilmu.fsf@yahoo.com> <87sfujh4a2.fsf@yahoo.com> <877dbuhm6j.fsf@yahoo.com> <87tueyg5gc.fsf@yahoo.com> <83y24asbh4.fsf@gnu.org> <83tuexqh7w.fsf@gnu.org> <9c04ef31-96e0-1874-7385-633435a28b5f@yandex.ru> <83lf08rk27.fsf@gnu.org> <87o854swp2.fsf@telefonica.net> <87lf0898b7.fsf@yahoo.com> <87k0fssufl.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31148"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 25 14:22:46 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n170X-0007vG-Ko for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Dec 2021 14:22:45 +0100 Original-Received: from localhost ([::1]:52388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n170U-0003t2-Cc for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Dec 2021 08:22:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n16ya-00039U-8T for emacs-devel@gnu.org; Sat, 25 Dec 2021 08:20:44 -0500 Original-Received: from [2001:470:142:3::e] (port=49658 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n16yZ-0004gB-Nd; Sat, 25 Dec 2021 08:20:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=VOX5lXucqVNg4DFezsx5rFBd5owS2J2MOvNZG/8LcuY=; b=gqFKOeX0dM/6C0PnhVEB QJxdy7YqJ7i5y9O5oIUNxbwpN476BMR/10YyP0pxje+ydCnisd9JE+EQYaOMwJvQRoo5NXC7C0gm9 VFirFtLn/r9m8NG3j5wVb8yGR1AA+6KDQCUcgdwQ2lOpW5E0CJXqz04Wf48VX4LeGrPcEGYjNern6 c4pm6NGLIoEvbu0R2JMTGUlpDrfu4NjngXqbeQ4unT+U2obIXQs2WWLz02pASgbajef3LbVJGrYdc ++qECXMcdPHNga+kGm+G43gDx1pBHoOvntT4TtJfVMvUVE6W+CpKC3UtmqeKG9la9Vq4viRIUYfM2 aw3ToKsRCkg35g==; Original-Received: from [87.69.77.57] (port=1502 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n16yZ-0008JQ-Jf; Sat, 25 Dec 2021 08:20:43 -0500 In-Reply-To: <87k0fssufl.fsf@telefonica.net> (message from =?utf-8?Q?=C3=93scar?= Fuentes on Sat, 25 Dec 2021 14:09:02 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283219 Archived-At: > From: Óscar Fuentes > Date: Sat, 25 Dec 2021 14:09:02 +0100 > > A closer look at Skia makes me think that it is not a good candidate for > Emacs, for several reasons. But Skia was just an example, we (or, better > said, the OP) can examine what other options are available. Yes, examples are being thrown here and there without any relevance, just to make a point in a dispute, it seems. It doesn't help to have a useful discussion. > > Please explain in detail what the new graphical capabilities are, and > > how using a different graphics library will help. > > We could turn the frame into a canvas. Take > display-fill-column-indicator for instance. Instead of faking a line > with characters, we could simply draw the line as a graphic object. If you think this kind of enhancement could materialize just by changing the *term backends of the Emacs display, you don't have a clear idea about the relevant architecture aspects of that. It is nigh impossible to do something like that without the knowledge of xdisp.c and dispnew.c. I'm telling you that as the single person around here who has any kind of practical experience in implementing something like that: the TTY menus do something very similar, and that code gets away by the skin of its teeth, and would be probably simply impossible with GUI display. Throwing around such ideas without any real knowledge is simply irresponsible. Someone might believe you and spend some non-trivial time trying to implement that.