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.bugs Subject: bug#48901: [kisara.moe] 28.0.50; Support text-based fringe contents alongside bitmaps Date: Mon, 07 Jun 2021 16:42:51 +0300 Message-ID: <83y2blg59g.fsf@gnu.org> References: <875yyp7qfk.fsf@kisara.moe> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10950"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48901@debbugs.gnu.org To: mohsin kaleem Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 08 02:03:08 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lqPD2-0002f4-7y for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 02:03:08 +0200 Original-Received: from localhost ([::1]:60858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqPD1-0003wt-0F for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Jun 2021 20:03:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqPCw-0003vT-5C for bug-gnu-emacs@gnu.org; Mon, 07 Jun 2021 20:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqPCv-0008Pr-RN for bug-gnu-emacs@gnu.org; Mon, 07 Jun 2021 20:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqPCv-0007Lb-O3 for bug-gnu-emacs@gnu.org; Mon, 07 Jun 2021 20:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Jun 2021 00:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48901 X-GNU-PR-Package: emacs Original-Received: via spool by 48901-submit@debbugs.gnu.org id=B48901.162311057228227 (code B ref 48901); Tue, 08 Jun 2021 00:03:01 +0000 Original-Received: (at 48901) by debbugs.gnu.org; 8 Jun 2021 00:02:52 +0000 Original-Received: from localhost ([127.0.0.1]:56883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqPCl-0007LD-Oj for submit@debbugs.gnu.org; Mon, 07 Jun 2021 20:02:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqPCj-0007Kz-Dn for 48901@debbugs.gnu.org; Mon, 07 Jun 2021 20:02:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39320) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqPCd-000821-OY; Mon, 07 Jun 2021 20:02:43 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2322 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 1lqFWr-0000fU-Vf; Mon, 07 Jun 2021 09:42:58 -0400 In-Reply-To: <875yyp7qfk.fsf@kisara.moe> (message from mohsin kaleem on Mon, 07 Jun 2021 14:30:23 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208201 Archived-At: > From: mohsin kaleem > Date: Mon, 07 Jun 2021 14:30:23 +0100 > > > This is more a feature request than a bug-report. At the moment the > recommended way to show extra information about certain lines in a > buffer is the fringe. This is done by defining a fringe-bitmap and then > having that render onto the fringe, however this is a graphical > only solution and terminal frames don't support this. Some packages such > as flycheck let you work around this by rendering what you would've > rendered on the frame, onto the margin which supports rendering regular > strings (alongside any other string-properties such as faces) that can > be visible in both terminal and GUI frames. > However as a solution that isn't ideal, for one margins weren't designed > for this purpose and for another there doesn't seem to be a way to set > the background or other properties of a margin to make it resemble the > fringe (in my case I'd like the background of the margin to match > the fringe background but only for the left margin where I will show the > fringe indicators). There's also the issue with interference between > this representation and other packages such as olivetti that use the > margin to center text. > I'd like to recommend we support rendering both text and bitmaps onto > the fringe, rendering nothing (or perhaps a block element) if a package > tries to render a bitmap on a terminal frame. Sorry, I don't understand: you begin by saying that fringe bitmaps have a disadvantage for TTY frames, and end by requesting a different features with the same disadvantage? Or what did I miss?