emacs-devel
[Top][All Lists]
Advanced

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

Re: prettify-symbols-mode, derived modes, and compose-region


From: Lars Ingebrigtsen
Subject: Re: prettify-symbols-mode, derived modes, and compose-region
Date: Fri, 05 Mar 2021 16:57:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> IIRC you can query Emacs about the size the character would have if it
> were to be displayed right now in the currently selected window.
> But you don't know that it's the same size as the character will have
> when it will actually be displayed (and that char could have
> simultaneously two different sizes in two different windows, of course).

That's true, but for shr it doesn't (in general) make much difference.
That is, if you display a rendered HTML document on two different
displays, it'll look awful anyway, until you re-render tables and the
like with the new width of the glyphs.  That is, a layout with

| foo bar | more foo |
| zot     |          |

rarely looks on two different displays -- even if the :width/:align-to
elements were to magically adjust themselves.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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