From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Implementing image support for kitty terminal Date: Fri, 09 Sep 2022 11:25:20 -0400 Message-ID: References: <87v8pz18wf.fsf@mail.jao.io> <83o7vrgimc.fsf@gnu.org> <87wnafdnee.fsf@logand.com> <835yhzgdyi.fsf@gnu.org> <87k06den1s.fsf@logand.com> <87illxy5ir.fsf@mail.jao.io> <87sfl1d1wi.fsf@logand.com> <87czc5y1wp.fsf@mail.jao.io> <878rmtcwrv.fsf@logand.com> <87a679xx0v.fsf@mail.jao.io> <83zgf9cc9i.fsf@gnu.org> <87zgf9ax01.fsf@mail.jao.io> <83wnadcajk.fsf@gnu.org> <87wnacbnq4.fsf@mail.jao.io> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22076"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , tom@logand.com, emacs-devel@gnu.org To: Jose A Ortega Ruiz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 09 17:26:30 2022 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 1oWftl-0005TD-Ur for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Sep 2022 17:26:30 +0200 Original-Received: from localhost ([::1]:44848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWftk-0008Ir-GI for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Sep 2022 11:26:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWfsn-0007ax-VL for emacs-devel@gnu.org; Fri, 09 Sep 2022 11:25:33 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWfsl-0004jk-7X; Fri, 09 Sep 2022 11:25:28 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 185CB10010E; Fri, 9 Sep 2022 11:25:24 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0726910002F; Fri, 9 Sep 2022 11:25:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1662737122; bh=aN/jvExAg0DyQ0E0vfIvzCARoVpOoc+f5eX09QF625s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=N2x1W8FQqkfp9iYUFovp8tX5srjkcn+z9cNZU52eXxbo1TJKo0BtUIqo8cCCtPaMi pxK6ktiOkLVLEBwnPOntpMSP2J76O/zCVHBc+Le66mt+Y3AgHb62jthO18mL0hcwQx HWell6sVeji0+g/rp0g7hTxMTrie3I5ab4I5072Jqlj1RPp0ChsjrNNjA3gYb88+HV ELKbZh342l8PoUuZa7WpzskTzOZUy26lI04pxAcsU/XROLw6/nfjgUyQ3etl49UfT1 w6DtNeh4feA5hTxNgYOc/j9aepSbLAteYCaBhwD119MLm/hityVg0syKTUrlb4AVm7 LbsbozrJB9eqw== Original-Received: from alfajor (unknown [45.44.229.252]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id CC3C71209CD; Fri, 9 Sep 2022 11:25:21 -0400 (EDT) In-Reply-To: <87wnacbnq4.fsf@mail.jao.io> (Jose A. Ortega Ruiz's message of "Fri, 09 Sep 2022 15:56:35 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:295078 Archived-At: > cell size, in pixels). For movement and display purpose, we tell Emacs > to interpret that as the block of pure text > > xxxx > xxxx > xxxx > xxxx > xxxx That's no easier than interpreting it as an image displayed via kitty :-) IOW, the difficulty resides elsewhere. I think there's no real technical difficulty. There's simply work to be done on the code. Either by defining a new "TGUI" window-system which uses the GUI part of the display rendering code, or by changing the tty code to be closer to that of the GUI code. Which option is simplest and/or best, I don't know. And I suspect we won't know for sure until someone tries to do it. Stefan