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: D
Subject: Re: prettify-symbols-mode, derived modes, and compose-region
Date: Sat, 6 Mar 2021 11:43:45 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

> In your original use case you didn't have images, you had characters.
> Or did I misunderstand?

That's correct, my point was whether there was any common underlying
logic one could make use of.

> Yes, I think so.  And on text terminals this issue is moot anyway,
> because every character takes a single column (if you forget about
> those rare ones that take 2).

Exactly, it's the straightforward case.

> shr-fill-line, I guess.
> 
> You can also try using font-get-glyphs, it might be more suitable for
> your needs.  I think shr.el doesn't use it because that turned out to
> be slower than the current approach, but your use case is different.

I'll look into both, thank you!



reply via email to

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