From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#32825: 27.0.50; Deterministic window management Date: Thu, 06 Dec 2018 10:09:10 +0100 Message-ID: <5C08E736.8010301@gmx.at> References: <874leeaiah.fsf@mail.linkov.net> <87o9bhkeih.fsf@mail.linkov.net> <87h8h9hk4w.fsf@web.de> <87d0rvb7xg.fsf@mail.linkov.net> <87sh0rkucr.fsf@web.de> <87d0rvqf5r.fsf@mail.linkov.net> <87k1m3krvm.fsf@web.de> <87o9bf13b4.fsf@mail.linkov.net> <87d0rvkq01.fsf@web.de> <5BD57C2B.7020109@gmx.at> <87tvl3rvks.fsf@mail.linkov.net> <5BD96392.3040008@gmx.at> <87y3adakkh.fsf@mail.linkov.net> <5BDAC0ED.9030405@gmx.at> <87h8h0juwn.fsf@mail.linkov.net> <5BDC0E38.5020901@gmx.at> <87bm62p5ea.fsf@mail.linkov.net> <5C063BA5.8080603@gmx.at> <87r2ex6icv.fsf@mail.linkov.net> <5C07974B.4060408@gmx.at> <5C081F39.7040305@gmx.at> <8736rb32ms.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1544087301 20223 195.159.176.226 (6 Dec 2018 09:08:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2018 09:08:21 +0000 (UTC) Cc: Michael Heerdegen , 32825@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 06 10:08:17 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUpdp-00059n-2C for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Dec 2018 10:08:17 +0100 Original-Received: from localhost ([::1]:39683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUpfv-0005jf-9v for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Dec 2018 04:10:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUpfd-0005dG-P2 for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2018 04:10:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUpfX-0002sR-CW for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2018 04:10:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58927) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUpfX-0002sD-6M for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2018 04:10:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gUpfW-0001lr-VM for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2018 04:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Dec 2018 09:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32825 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32825-submit@debbugs.gnu.org id=B32825.15440873706741 (code B ref 32825); Thu, 06 Dec 2018 09:10:02 +0000 Original-Received: (at 32825) by debbugs.gnu.org; 6 Dec 2018 09:09:30 +0000 Original-Received: from localhost ([127.0.0.1]:34946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUpf0-0001kf-7G for submit@debbugs.gnu.org; Thu, 06 Dec 2018 04:09:30 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:48749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUpey-0001kN-H5 for 32825@debbugs.gnu.org; Thu, 06 Dec 2018 04:09:29 -0500 Original-Received: from [192.168.1.101] ([212.95.5.6]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MUZG7-1gvwui17cR-00RJpk; Thu, 06 Dec 2018 10:09:19 +0100 In-Reply-To: <8736rb32ms.fsf@mail.linkov.net> X-Provags-ID: V03:K1:qA5RpFw2UbXYZ+PJuIGKuLQLnDziqO1e7q07FPz9/SSy/U0LDpj wOGXnWMvL5a9VFhA5wNJKjSIf5WksEGjUwDEYm0/E7HBorkxV/rqgmSYjRjcx2kBhmLDcEv zrVVTteO2Oz+NxCkOhzcES5dHADRr4sZc1f7cPf+UUSIdCklmzOyZThBCm2fKf6GRs1UVJ8 rztOmOsAzCZzSCbAZfdXg== X-UI-Out-Filterresults: notjunk:1;V03:K0:5qednQh9PYI=:JCzi+5jYG9DYWquyPYDaty 2c9KkgRjNyHQ5yN3r9YzD0fLEBTcr3GcXf/pLYlCEYXVLIlSOKkUt+LnWj932OihqgvDZ0jJS myB8TertB3nc2voI+mOTFOdBrS6WejYCK52S7zlJrIzpDc5509NqErBl25fYV3qIpx9fuZKpW ex/hBIjUF51zD/hn2C/WasPtGiZJ/EHP4op/x5iFlhCgyS3x2XTjI+lw0Z1rR/A6qDOXmqHfl KBd6bsvKCRYD2kx1a0xWspr/oE8RE8l9kHIyVN7sts4cOdueQjvT/H5mWyZzMMfN/lPGNN2rA TEnfEns+zR8kWOSxj5bsx48BsJ8YtQDB/e0UyOnbB+PMfQQ/YSvYaVY21FrlPCz+A1osHGBKf 7Xr18yr8cDUhazzFCepiD1R2JGR5RMrzVxWBRrTkIs1AtwUVti4aIv5lHsQM8Ey0GZOclWx3n tvIganuP429JJfHN8HbxOoczNs8cLTaG3TOHb9XNvblI5uPTRew1KpRcQ2zuw6OJnv3KFCm8z biJRljYO75R3Eb/s8HEoJaVZEUbECEX/rYWBUI19ctK6HTfQN6yITyCQlWV4u1PBXwI42eaYU 1BvtUBwc3mSqMiXYMuM3EplFV1ITnPbM+4EpQyZaQ6zvX1GzInzy986HH9ZGI4vBnc8cHqYz/ JwzkRWeUNS1QPaplZspxBylwCyiDL5Pj23fUqV1qr6kJNSJCZdDOF4vP+nfXzdvTOeYRCWMyE FYypya3V2JELLfoxcbhVX9MuzI2wMZqexvExzsB90pTbNRCCWh5QJV1lyAgpnjIrSSRQviyy X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153142 Archived-At: > What values of window-min-height and window-height would you recommend > for the *Backtrace* buffer's window? Should we set only window-min-height > to e.g. 10 lines tall, or also window-height? I'd like to see how this > design applies in practice. 'window-min-height' would have the value you had in mind originally. 'window-height' could be the same but this might be too rigid. IIUC 'debug' first displays the buffer and only afterwards inserts its text. If you can change that, try to use 'fit-window-to-buffer' as 'window-height' value. Otherwise, 'debug' can always call 'fit-window-to-buffer' separately after it has inserted its text. But please keep in mind that 'display-buffer' can always split a small (say ten lines) window that is alone on its frame or when the user has made a special alist entry for it. Hence 'debug' cannot rely on the fact that the window produced by 'display-buffer' indeed has or can have 'window-min-height' lines. That guarantee is only provided by 'display-buffer-below-selected' (with my current proposal). martin