|
From: | Gregory Heytings |
Subject: | bug#57837: 29.0.50; fit-window-to-buffer should reposition the buffer |
Date: | Fri, 16 Sep 2022 21:34:01 +0000 |
is it possible for Emacs return nil from (pos-visible-in-window-p (point))
It is not impossible, but if it happens, it's a bug.
Both invisible point and point moved before the EOB are, IMO, preferable over showing a half empty window after C-x w -.
I get that that's your preference, but I hope you understand that this is a corner case, and that what the code does is not a bug.
[Prev in Thread] | Current Thread | [Next in Thread] |