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: Sam Steingold <sds <at> gnu.org>
Cc: 57837 <at> debbugs.gnu.org
Subject: bug#57837: 29.0.50; fit-window-to-buffer should reposition the buffer
Date: Sun, 18 Sep 2022 08:34:09 +0000
>> 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.
>

By the way, I forgot to mention that a way to get (almost) the behavior 
you want is to set scroll-conservatively to 101.  With that value, and 
with point at EOB, after fit-window-to-buffer only the first line of the 
buffer will not be visible.




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

Previous Next


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