[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overlay behavior change
From: |
Eli Zaretskii |
Subject: |
Re: Overlay behavior change |
Date: |
Wed, 08 Jul 2020 19:25:40 +0300 |
> Date: Wed, 8 Jul 2020 17:12:23 +0200 (CEST)
> From: Gregory Heytings via "Emacs development discussions."
> <emacs-devel@gnu.org>
>
> What I would have liked to see is something that is neither the previous
> nor the current default behavior. This idea will probably not be
> considered (let's name it the attribute ":visualblock t"), but here it is:
>
> 1. calculate the overlay as it would have been displayed by Emacs 21 to
> 26.
>
> 2. remove all pixel columns on the right *and on the left* of the overlay
> which have no "content" (that is, no characters on the right, whitespace
> characters on the left).
>
> This way the block (of code) would really be displayed on the screen as a
> block, even a deeply nested one. The above "algorithm" would work with
> fixed and variable-width fonts, but could of course be made more efficient
> for fixed-width fonts.
Feel free to submit a feature-request bug report about this.