GNU bug report logs - #79125
quit-window fails to restore window height in a scenario of buffer reuse

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dmitry <at> gutov.dev>

Date: Wed, 30 Jul 2025 02:01:02 UTC

Severity: normal

Full log


Message #20 received at 79125 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: martin rudalics <rudalics <at> gmx.at>, 79125 <at> debbugs.gnu.org
Cc: juri <at> linkov.net
Subject: Re: bug#79125: quit-window fails to restore window height in a
 scenario of buffer reuse
Date: Wed, 30 Jul 2025 15:51:51 +0300
On 30/07/2025 11:18, martin rudalics wrote:
>  > Does anybody agree that steps 7 and/or 9 behave suboptimally? Can 
> that be improved?
> 
> It can be improved but that would be expensive.  'window-prev-buffers'
> would have to return the height (and possibly the weight) of the window
> in addition to the start and point positions - that is, we'd have to
> store five instead of three values per buffer.

That only applies to buffers that were previously displayed in some 
window, right?

Might not affect the total memory use much.




This bug report was last modified 10 days ago.

Previous Next


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