all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Yuri D'Elia <wavexx@thregr.org>
Cc: emacs-devel@gnu.org
Subject: Re: Bigger fringe bitmaps
Date: Thu, 17 Mar 2022 14:57:00 +0200	[thread overview]
Message-ID: <83k0cshh43.fsf@gnu.org> (raw)
In-Reply-To: <87o824lwy7.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Thu, 17 Mar 2022 10:44:54 +0100)

> From: Yuri D'Elia <wavexx@thregr.org>
> Cc: emacs-devel@gnu.org
> Date: Thu, 17 Mar 2022 10:44:54 +0100
> 
> > 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.

I didn't say it's impossible, I said it needed to be taken care of.
Changing a face means recomputing all the faces on the frame as well,
and currently setting a fringe style does nothing of the kind.

> > 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.

How would you go about not sharing the screen space with the buffer,
when the display is a TTY?  What else is there that we could use
instead?

> 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.

You mean, when left fringe is enabled, right?

I made the text there more accurate, thanks.



  reply	other threads:[~2022-03-17 12:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-16 17:57 Bigger fringe bitmaps Yuri D'Elia
2022-03-16 18:23 ` Eli Zaretskii
2022-03-17  0:31 ` Po Lu
2022-03-17  7:43   ` Yuri D'Elia
2022-03-17  8:21     ` Eli Zaretskii
2022-03-17  8:34       ` Yuri D'Elia
2022-03-17  9:30         ` Eli Zaretskii
2022-03-17  9:44           ` Yuri D'Elia
2022-03-17 12:57             ` Eli Zaretskii [this message]
2022-03-17 21:21               ` Yuri D'Elia
2022-03-18  6:22                 ` Eli Zaretskii
2022-03-18  9:29                   ` Yuri D'Elia
2022-03-18 14:52                   ` [External] : " Drew Adams
2022-03-18 15:31                     ` tomas
2022-03-18 16:08                       ` Drew Adams
2022-03-18 17:19                         ` tomas
2022-03-18 23:14                         ` Po Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k0cshh43.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=wavexx@thregr.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.