emacs-devel
[Top][All Lists]
Advanced

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

Re: Add a function that returns pixel distance between points?


From: martin rudalics
Subject: Re: Add a function that returns pixel distance between points?
Date: Fri, 5 Feb 2021 11:15:29 +0100

> Thanks, I installed that on the master branch.

I haven't been able to investigate this any further but AFAICT it breaks
'window-text-pixel-size' when a header line is present.  To check for an
arbitrary buffer with some text in it do:

(window-text-pixel-size)

(ruler-mode)

(window-text-pixel-size)

Here the values returned by the invocations of 'window-text-pixel-size'
differ although they shouldn't.

martin



reply via email to

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