emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bigger fringe bitmaps


From: Yuri D'Elia
Subject: Re: Bigger fringe bitmaps
Date: Thu, 17 Mar 2022 10:44:54 +0100
User-agent: mu4e 1.7.9; emacs 29.0.50

On Thu, Mar 17 2022, Eli Zaretskii wrote:
>> Seen it, I was just prompting for more feedback on the idea and discuss
>> if this could be a good and/or bad idea.
>
> I think it's a good idea.  It "just" needs to be implemented...

That's why I'd like to know all possible pitfalls before attempting to
do it ;)

> Emacs doesn't know how to scale a font at display time.  The font is
> "scaled" (or, rather, selected) when the face using the font is
> defined.  So dynamically changing the font of a face when the user
> plays with fringe-style would be another complication that needs to be
> taken care of.

Mhh, I'm not sure if we added some sort of connection between the fringe
sizes and fringe face, which one would prevail? Setting the fringe size
(which right now is just a fixed pixel size) could implicitly set the
fringe face size being used, and/or vice-versa.

> How is this different from what overlay-arrow already does?  It is
> even more flexible, as it is not limited to a single column.
<...>
> In what way does it not behave the same?

I agree it's more powerful, but the overlay-arrow shares the same space
with the buffer, so it can hide existing information. I like the fact
that the fringe is a minimal, non-shared, space.

(ironically it has been a while since I last used it, thanks to the
fringe)

> What did you try?  See the "Overlay Arrow" node in the ELisp manual
> for what is available.

Ok, I just realized I instinctively tried (fringe-mode -1) which creates
some weird artifacts instead of using 0.

The node does say:

  On a graphical display the contents of the string are ignored; instead
a glyph is displayed in the fringe area to the left of the display area.

Maybe it should be:

  On a graphical display, or when the left fringe is disabled, the
contents of the string are ignored; instead a glyph is displayed in the
fringe area to the left of the display area.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]