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: Thu, 27 Dec 2018 02:10:05 +0200 Organization: LINKOV.NET Message-ID: <87lg4bhlsy.fsf@mail.linkov.net> References: <874leeaiah.fsf@mail.linkov.net> <87r2ex6icv.fsf@mail.linkov.net> <5C07974B.4060408@gmx.at> <5C081F39.7040305@gmx.at> <8736rb32ms.fsf@mail.linkov.net> <5C0B91BE.4040401@gmx.at> <87bm5v1rx4.fsf@mail.linkov.net> <5C0CD187.9060807@gmx.at> <87ftv6jkfq.fsf@mail.linkov.net> <87efaq5h5v.fsf@web.de> <87ftv5j58t.fsf@mail.linkov.net> <87a7lc98f6.fsf@web.de> <5C0F7680.8000506@gmx.at> <87imznda4g.fsf@mail.linkov.net> <5C1CAF1F.8010408@gmx.at> <87y38h5do2.fsf@mail.linkov.net> <5C1F5830.1090802@gmx.at> <87wonzlszb.fsf@mail.linkov.net> <5C20955C.20101@gmx.at> <87tvj1pbom.fsf@mail.linkov.net> <5C234CCE.1010707@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545869656 14225 195.159.176.226 (27 Dec 2018 00:14:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Dec 2018 00:14:16 +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 Thu Dec 27 01:14:11 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 1gcJJT-0003Xs-AQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Dec 2018 01:14:11 +0100 Original-Received: from localhost ([127.0.0.1]:48819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcJLa-0001Qr-3E for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Dec 2018 19:16:22 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcJLK-0001PN-Kx for bug-gnu-emacs@gnu.org; Wed, 26 Dec 2018 19:16:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gcJLG-0005Z2-LB for bug-gnu-emacs@gnu.org; Wed, 26 Dec 2018 19:16:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gcJLG-0005YV-B8 for bug-gnu-emacs@gnu.org; Wed, 26 Dec 2018 19:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gcJLG-00079H-3N for bug-gnu-emacs@gnu.org; Wed, 26 Dec 2018 19:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Dec 2018 00:16: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.154586972827435 (code B ref 32825); Thu, 27 Dec 2018 00:16:02 +0000 Original-Received: (at 32825) by debbugs.gnu.org; 27 Dec 2018 00:15:28 +0000 Original-Received: from localhost ([127.0.0.1]:38062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcJKe-00078N-El for submit@debbugs.gnu.org; Wed, 26 Dec 2018 19:15:28 -0500 Original-Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]:61947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcJKY-000783-Ll for 32825@debbugs.gnu.org; Wed, 26 Dec 2018 19:15:22 -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 779F4432DC; Thu, 27 Dec 2018 00:15:17 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a49.g.dreamhost.com (unknown [100.96.30.62]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 309B24314D; Thu, 27 Dec 2018 00:15:17 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a49.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); Thu, 27 Dec 2018 00:15:17 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Absorbed-Keen: 01019e462c814ef4_1545869717338_1877650669 X-MC-Loop-Signature: 1545869717338:197315299 X-MC-Ingress-Time: 1545869717338 Original-Received: from pdx1-sub0-mail-a49.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a49.g.dreamhost.com (Postfix) with ESMTP id C944D7FC83; Wed, 26 Dec 2018 16:15:16 -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=gDMkPLE+Igoegv9BIg9YSvK0VUE=; b= UymHXjFUYhExBrCWgOgnK8ZB7EdeII4oNNOf4Csm5bGHB6nlpcaqcxSvNabo1wVB yI38mNOwY80bZgJjgDHRQ6WB8bVYoUm6Z/7tNWsNd6K6mzs9C58Qe56VROBDqgV2 QGCpmbRVoPCkLbyPHTkLdQPJ+QCeTip1E4oCB2skLM4= Original-Received: from mail.jurta.org (m91-129-108-193.cust.tele2.ee [91.129.108.193]) (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-a49.g.dreamhost.com (Postfix) with ESMTPSA id E76117FC7D; Wed, 26 Dec 2018 16:15:14 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a49 In-Reply-To: <5C234CCE.1010707@gmx.at> (martin rudalics's message of "Wed, 26 Dec 2018 10:41:34 +0100") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrtddugddvtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtkedrudelfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdekrdduleefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheprhhuuggrlhhitghssehgmhigrdgrthenucevlhhushhtvghrufhiiigvpedt 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:153884 Archived-At: >> Please install it as is, I tried it and see no big problems. >> Then later it could be amended with more improvements. > > Installed. Sorry, I just noticed that the code that you moved was executed in the *Backtrace* buffer because it was after the pop-to-buffer call. Now code such as `(count-lines (point-min) (point-max))' is executed in another buffer before the pop-to-buffer call. >> One problem not related to your patch is that when display-buffer-below-selected >> fails, then the *Backtrace* buffer is still displayed in a random window, >> not remembering its previous window. A possible solution is >> to prefer get-mru-window over get-lru-window as the default fallback. > > IIRC you tried with 'display-buffer-at-bottom' as second default > alternative already and were content with it. Adding 'display-buffer-at-bottom' would be good. Customizing get-mru-window over get-lru-window would be good too, I remember you already sent a patch for that ;)