bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#51590: follow-mode is broken with header-line and tab-line


From: martin rudalics
Subject: bug#51590: follow-mode is broken with header-line and tab-line
Date: Mon, 8 Nov 2021 18:32:20 +0100

> (posn-area (posn-at-x-y (1- (window-pixel-width)) 0))
>
> currently gives 'nil' regardless of whether it's done with a header or
> tab line and
>
> (posn-area (posn-at-x-y
>          (1- (window-pixel-width))
>          (1- (window-pixel-height))))
>
> gives 'nil' on the mode line.  Only when I remove _both_ fringes and the
> vertical scroll bar I get the expected results.  This _is_ a bug and we
> should fix it.

I think the attached patch should fix that modulo some ">=" and "<"
glitches.

martin

Attachment: posn-at-x-y.diff
Description: Text Data


reply via email to

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