GNU bug report logs - #48901
[kisara.moe] 28.0.50; Support text-based fringe contents alongside bitmaps

Previous Next

Package: emacs;

Reported by: mohsin kaleem <mohkale <at> kisara.moe>

Date: Mon, 7 Jun 2021 13:33:02 UTC

Severity: wishlist

Full log


Message #8 received at 48901 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: mohsin kaleem <mohkale <at> kisara.moe>
Cc: 48901 <at> debbugs.gnu.org
Subject: Re: bug#48901: [kisara.moe] 28.0.50;
 Support text-based fringe contents alongside bitmaps
Date: Mon, 07 Jun 2021 16:42:51 +0300
> From: mohsin kaleem <mohkale <at> kisara.moe>
> 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?




This bug report was last modified 3 years and 298 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.