[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line height issues with display-line-number-mode
From: |
Stefan Monnier |
Subject: |
Re: Line height issues with display-line-number-mode |
Date: |
Wed, 08 May 2019 09:39:58 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Btw, any reasons (other than "because we can") why we use these
> tricks, instead of actually producing an underline?
Not sure what "producing an underline" means concretely. All I tried to
do in *vc-log* (aka log-edit-mode) is to represent the separation
between the header and the body in a "graphical" (as opposed to purely
textual) way. The current implementation is just something that works,
but we could of course change it.
> when we produce line numbers, so that we start the layout of the rest
> of the line with the height of, say, 1 pixel, and let the rest of the
> line's text enlarge that as needed. But doing this naïvely would
> backfire with various special cases, like empty lines, lines with
> characters whose font-provided height is small, etc.: those lines will
> appear smaller in height,
Smaller than what? AFAICT they wouldn't appear any smaller than when
line-numbers are turned off, or would they?
Stefan
- Line height issues with display-line-number-mode, Clément Pit-Claudel, 2019/05/07
- Re: Line height issues with display-line-number-mode, Noam Postavsky, 2019/05/07
- Re: Line height issues with display-line-number-mode, Eli Zaretskii, 2019/05/07
- Re: Line height issues with display-line-number-mode, Eli Zaretskii, 2019/05/07
- Re: Line height issues with display-line-number-mode, Stefan Monnier, 2019/05/07
- Re: Line height issues with display-line-number-mode, Eli Zaretskii, 2019/05/07
- Re: Line height issues with display-line-number-mode, Stefan Monnier, 2019/05/07
- Re: Line height issues with display-line-number-mode, Eli Zaretskii, 2019/05/08
- Re: Line height issues with display-line-number-mode,
Stefan Monnier <=
- Re: Line height issues with display-line-number-mode, Eli Zaretskii, 2019/05/08
- Re: Line height issues with display-line-number-mode, Noam Postavsky, 2019/05/08
- Re: Line height issues with display-line-number-mode, Stefan Monnier, 2019/05/08
- Re: Line height issues with display-line-number-mode, Noam Postavsky, 2019/05/08
- Re: Line height issues with display-line-number-mode, Eli Zaretskii, 2019/05/08
- Re: Line height issues with display-line-number-mode, Kévin Le Gouguec, 2019/05/10
- Re: Line height issues with display-line-number-mode, Eli Zaretskii, 2019/05/10
- Re: Line height issues with display-line-number-mode, Stefan Monnier, 2019/05/10
- Re: Line height issues with display-line-number-mode, Stefan Monnier, 2019/05/08
- Re: Line height issues with display-line-number-mode, Eli Zaretskii, 2019/05/08