GNU bug report logs - #32825
27.0.50; Deterministic window management

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Mon, 24 Sep 2018 19:15:02 UTC

Severity: minor

Tags: moreinfo

Found in version 27.0.50

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, 32825 <at> debbugs.gnu.org
Subject: Re: bug#32825: 27.0.50; Deterministic window management
Date: Sun, 23 Dec 2018 01:45:17 +0200
>> Please note that if there is no suitable window with at least 10 lines high,
>> it still displays the *Backtrace* buffer in random windows, every time
>> in another window because it doesn't remember a previous window.
>
> For starters, users can customize the number of lines by supplying a
> 'window-min-height' entry.  They can also provide an additional action
> function like 'display-buffer-below-selected' as fallback.  And
> finally we could try what I suggested earlier: Fill the *Backtrace*
> buffer first and pop to it afterwards using 'fit-window-to-buffer'.
> The attached untested patch tries to do that.

Thanks, this is much better.

Maybe then window-min-height should be dynamically calculated like

(window-min-height . ,(with-current-buffer debugger-buffer (count-lines (point-min) (point-max))))




This bug report was last modified 3 years and 24 days ago.

Previous Next


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