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: Bigger fringe bitmaps Date: Thu, 17 Mar 2022 10:21:35 +0200 Message-ID: <83mthpgfao.fsf@gnu.org> References: <87sfrhu6et.fsf@wavexx.thregr.org> <87h77xpgg6.fsf@yahoo.com> <87wngtf2hb.fsf@wavexx.thregr.org> 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="35522"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 17 09:22:59 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 1nUlPO-00091Q-UZ for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Mar 2022 09:22:59 +0100 Original-Received: from localhost ([::1]:55112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUlPN-0003SX-Fh for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Mar 2022 04:22:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUlOA-0002hX-Mr for emacs-devel@gnu.org; Thu, 17 Mar 2022 04:21:42 -0400 Original-Received: from [2001:470:142:3::e] (port=52116 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 1nUlO9-0005FM-9k; Thu, 17 Mar 2022 04:21:41 -0400 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=m4lLqj65naBY5rfbi66uMdy7azcFSWTeWVlHZxU9T+Q=; b=TS+F4VvtbDNVXoJdYqV7 tSWODtwpmoWIG8e5B9sOvB05r3CFTbr2cr3I1H8oq1w0u3BMLF1e9YSy2zXT6hH5mq0BH54nnEHCX WFW52iQed/r2fxhR655muOFayjrlBaobxvORoTP+BJNaFinJK5DfnAyUhFLnfOdowKBEKzZYUoUDi xotfo38KcKQlSnNBmhq1S405PBzdmjkAvTAgeJgZzY1sIOl7Om9zMLSe2JvtL331ZaeR8gzK5MEia ZfT/VElKcWwmDUvbKMuUO526J4OuqSKT5/Mnh/8kOkyuqKi6WUDw0pAFitPiMo5hUIu29oS82G5hD NSD0+5NBw9UM1Q==; Original-Received: from [87.69.77.57] (port=2036 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 1nUlO8-00064Z-Ps; Thu, 17 Mar 2022 04:21:41 -0400 In-Reply-To: <87wngtf2hb.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Thu, 17 Mar 2022 08:43:44 +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:287249 Archived-At: > From: Yuri D'Elia > Date: Thu, 17 Mar 2022 08:43:44 +0100 > > No comment on the idea of potentially using characters in the fringe? I did comment on that. To repeat: it could be a useful new feature, but I don't think it should be _the_ solution for showing stuff on the fringes on hidpi terminals; we should be able to produce legible display of the bitmaps on those terminals. > I find the idea appealing somehow, even ignoring hidpi issues, simply > because "it's just more text". Yes, it could be a good feature. Patches are welcome. > I like the idea of using 🢱 (or ⤶⤷) for wrapped text, 🮗 as a > end-of-buffer, and so on. Easily scaled, and nicely antialiased. You disregard the issue of which fonts support what characters in the relevant Unicode blocks. E.g., on my system, 🢱 is shown as "tofu", as I evidently don't have a font for that codepoint. Solving this in the limited fringe screen estate will need some non-trivial ideas. And what about 'half-width' or 'minimal' fringe-styles? I don't want to discourage someone who wants to work on this new feature, but my point is that adding it will need some non-trivial design and implementation decisions, and that's even before we talk about the details in internals (fringe bitmaps are a special kind of image in the Emacs display code). Like I said, patches are welcome, but let's not pretend that adding this is a trivial job. > Especially the fact that this would potentially mean an usable fringe > mode on character displays that can be toggled, so that you don't need > to provide an alternate signaling mechanism if you rely on the fringe to > show makers (like gud). I don't think I follow. Emacs doesn't support fringes on TTY displays, so what do you mean by "usable fringe mode on character displays"? > - a bitmap > - a character symbol for character displays (where the font family has > to be the same throughout the display and thus can be more limited in > choice) This is already supported, see overlay-arrow-string. Or do you mean something else?