From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#32825: 27.0.50; Deterministic window management Date: Sat, 10 Nov 2018 23:53:10 +0200 Organization: LINKOV.NET Message-ID: <874lcok62x.fsf@mail.linkov.net> References: <874leeaiah.fsf@mail.linkov.net> <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> <87d0rl7kl1.fsf@mail.linkov.net> <5BDEB6BA.5000307@gmx.at> <87y3a8jz6v.fsf@mail.linkov.net> <5BE00EB1.6090107@gmx.at> <87sh0fxkih.fsf@mail.linkov.net> <5BE154F5.4050902@gmx.at> <87r2fxsvl5.fsf@mail.linkov.net> <5BE2AF02.40909@gmx.at> <87sh0cva5h.fsf@mail.linkov.net> <5BE3F981.8000002@gmx.at> <8736sbmdtv.fsf@mail.linkov.net> <5BE54FBE.306@gmx.at> <874lcqmu6u.fsf@web.de> <5BE582D4.8010201@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541887101 10254 195.159.176.226 (10 Nov 2018 21:58:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2018 21:58:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Michael Heerdegen , 32825@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 10 22:58: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 1gLbGi-0002XY-IT for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Nov 2018 22:58:16 +0100 Original-Received: from localhost ([::1]:40111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLbIo-0007TW-Vz for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Nov 2018 17:00:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLbIY-0007Pc-KL for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 17:00:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLbIT-0006YO-Jv for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 17:00:10 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40862) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLbIT-0006Y4-Ed for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 17:00:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gLbIT-0004u1-CU for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2018 17:00:05 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Nov 2018 22:00:05 +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.154188716818730 (code B ref 32825); Sat, 10 Nov 2018 22:00:05 +0000 Original-Received: (at 32825) by debbugs.gnu.org; 10 Nov 2018 21:59:28 +0000 Original-Received: from localhost ([127.0.0.1]:45114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLbHs-0004s0-0S for submit@debbugs.gnu.org; Sat, 10 Nov 2018 16:59:28 -0500 Original-Received: from eastern.maple.relay.mailchannels.net ([23.83.214.55]:59732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLbHq-0004rr-2O for 32825@debbugs.gnu.org; Sat, 10 Nov 2018 16:59:26 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 7B2875C37E0; Sat, 10 Nov 2018 21:59:24 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a77.g.dreamhost.com (unknown [100.96.19.74]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 2B61C5C388D; Sat, 10 Nov 2018 21:59:24 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a77.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Sat, 10 Nov 2018 21:59:24 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Desert-Duck: 5c83f51340a80422_1541887164323_1710483383 X-MC-Loop-Signature: 1541887164322:1757376982 X-MC-Ingress-Time: 1541887164322 Original-Received: from pdx1-sub0-mail-a77.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a77.g.dreamhost.com (Postfix) with ESMTP id E22AC7F44E; Sat, 10 Nov 2018 13:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=n2XUk2f9PCZ/R841qRLuSp04vLg=; b= NQJDfuG7hF9kWilQxTxtBinKBO+lSJqBcm5JrnTxBeYvQCE0NJ/h0SE5cYHYw/QR 6jz9nkxv7KpCru6SToK7GwECl4Y+Ll1/Ih+qekJNaLRSxwFCaBAfY6zUaK1ZqnLx EE4GgZ2Vs4E8lqI4+TwLmdXPOkoEbmlFi7PNJcJXiD4= Original-Received: from mail.jurta.org (m91-129-107-244.cust.tele2.ee [91.129.107.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a77.g.dreamhost.com (Postfix) with ESMTPSA id E19B68091E; Sat, 10 Nov 2018 13:59:21 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a77 In-Reply-To: <5BE582D4.8010201@gmx.at> (martin rudalics's message of "Fri, 09 Nov 2018 13:51:32 +0100") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrkeehgdduheeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdejrddvgeegnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrvdeggedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehruhgurghlihgtshesghhmgidrrghtnecuvehluhhsthgvrhfuihiivgepvd 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:152278 Archived-At: >> There are only two places where debugger-previous-window is set - both >> in `debug': in the first, the value is set when the debugger pops up, to >> the window that has been chosen to display it. In the second place, >> it's reset to nil when the debugger "won't be back". >> >> So, when the value is a (live) window, it should be respected. I didn't >> follow your discussion very attentively, but I'm not sure how the >> debugger-previous-window variable is concerned in what you discussed >> recently. AFAIK its only use is to remember the window while a debugger >> session is still active. > > You're right - FWIW this is the same bug I proposed to fix earlier > with the patch I reattach now. Juri, you never tried it, I suppose? I tried it long ago to see it works fine, and later reverted locally because I thought already you pushed it to master. Now I tried again with display-buffer-below-selected, and it still works fine. But still it seems better would be to add display-buffer-at-bottom after display-buffer-below-selected: display-buffer-reuse-window display-buffer-in-previous-window display-buffer-below-selected display-buffer-at-bottom because display-buffer-at-bottom tries to resize other windows to accommodate the *Backtrace* window.