GNU bug report logs - #57837
29.0.50; fit-window-to-buffer should reposition the buffer

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Thu, 15 Sep 2022 17:32:01 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 57837 <at> debbugs.gnu.org, sds <at> gnu.org
Subject: bug#57837: 29.0.50; fit-window-to-buffer should reposition the buffer
Date: Sat, 17 Sep 2022 07:10:30 +0000
>>>>>> Is that a problem? I mean, is it possible for the point to be 
>>>>>> invisible?
>>>>
>>>> No, Emacs does its best to ensure that point is always visible.
>>>
>>> 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.
>
> Actually, it _is_ possible and is not a bug, but only as long as 
> redisplay didn't happen.
>

Indeed, I wrote too fast.  What I meant, in the context of the discussion, 
was: It is not impossible after redisplay, but if it happens, it's a bug.




This bug report was last modified 2 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.