From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#36161: 27.0.50; display-buffer-in-previous-window might choose not to use PREVIOUS-WINDOW Date: Sun, 16 Jun 2019 10:16:39 +0200 Message-ID: <85473004-8bbb-56ef-967e-0d3f8acf79ae@gmx.at> References: <4f4fc867-7b6c-161f-68e9-6f5516e8b580@yandex.ru> <78fc4891-dffb-e828-baca-118a5a300c9a@gmx.at> <1f4197c2-05b0-7ab6-41be-605eaf918200@yandex.ru> <3415bbc7-54fd-111e-a18b-0a927d93a7b2@yandex.ru> <1bf87542-fc41-98ab-c4b4-3dd0074573c1@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="10544"; mail-complaints-to="usenet@blaine.gmane.org" To: Dmitry Gutov , 36161@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 16 10:17:53 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcQMK-0002dF-LZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jun 2019 10:17:52 +0200 Original-Received: from localhost ([::1]:38094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcQMJ-00059a-Mt for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jun 2019 04:17:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57169) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcQLa-0004re-QA for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2019 04:17:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcQLZ-0002aM-9X for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2019 04:17:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54351) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcQLW-0002YV-GI for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2019 04:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hcQLW-00077S-Ac for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2019 04:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jun 2019 08:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36161 X-GNU-PR-Package: emacs Original-Received: via spool by 36161-submit@debbugs.gnu.org id=B36161.156067300727332 (code B ref 36161); Sun, 16 Jun 2019 08:17:02 +0000 Original-Received: (at 36161) by debbugs.gnu.org; 16 Jun 2019 08:16:47 +0000 Original-Received: from localhost ([127.0.0.1]:39661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcQLG-00076m-IF for submit@debbugs.gnu.org; Sun, 16 Jun 2019 04:16:46 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:48547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcQLE-00076W-JX for 36161@debbugs.gnu.org; Sun, 16 Jun 2019 04:16:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560672999; bh=RM2sYK7AHgTbVl3+CK/hhvgyYpDOmraZ+PLuzN0pbgM=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=GRPg9zv5PbF/+inKMVWbODTPNlPbRS1H2oKrfNapEunVQ6x0FFwon7DZ/qUHYBZ0x 5sjc7yLZloE8bEeL1XssQz3Uo/7kBsqUMbmmyAi5s8Yg0EUeS1cmDiz3Pv8iC+2hzE J/pCbKKg4EU4FmCrhb4jEKfY7Iy9dwlXFj9xNVCE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.249.103]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LwGDy-1ihnw03kxK-017zUs; Sun, 16 Jun 2019 10:16:39 +0200 In-Reply-To: <1bf87542-fc41-98ab-c4b4-3dd0074573c1@yandex.ru> Content-Language: de-DE X-Provags-ID: V03:K1:hMAmVSteDkBNnfdvWqc7vhWybTYIVhseU4U8HvSaAb0wjceHOGB GsfUTrTP/tEHYvgdExWHCo2mA5WeW/49OMg+QU9bEJ1vIHTvQlGCRIdiXr4idz8eLyhsEyf MdeRFh8wczU+amNVuWHHiTdEN9msqaatzZf8b6Fe3wmC2QXmheELSYrGsNJm866pj6S+7bC qxylUZptp1CKcuzRggwPQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Mqeax9l65Tg=:rL5YSS2Do+OR6rz1n3wrtO CGtldN19RPDJ/h7oiIlImV13FkLdF1skwLq9B7KYFERqKRCF2b/2LdHF4hPE2eNE1vMtyA1K5 nEXjF8HhpeI9tPSB6Vp404ohONtwDa+pjNBCH4MrPqiMT4sX1tHXrrL2CQRo1VlNrqyGuIeoc rSG6e9EHLm/k94LVxO4kD6MBMA45DRxnpTUdsjMntpNhLz7Wwefm8gVAfd30N8J8Aa7Xmh3Dm 7AkhGxU9SNoC9NZqbj4jabiJnY6OoAKGzocSL3iPiZ4PT4l0WgbGVeUL/jX6ge2q7QoqulI3p tZNObj207IxA3J4wlNBcmW4SK9LacqdC1/7vYCdd3UFkjNGoLhYcRJhyF0qF0XdkUU94V6ATa rAqPshPZ+A9RQuwPRi2p00t/LPOXqIqBEyuvmNiz7o8Cj8EBUPRCeMlp+spt3joZbTOll41qG KFUrDU/6lxOPrUSveuoxmSVHrvTWW5cJQLFP8YdRm6VzoniW7ia75s2fwN4JjaNfmzjN+2lCQ sK4317iSYDzQxru9p6dABof1s/4Uo8hhxNgkvTKhZRuZUa9BUoIdWZKJTsgcSQ/gzIvf7rGV/ HRZCTkF0Obnhp8/06TQRCbiTLrAbV0ZY2SRAQKofCzCnN8AGIdSjdb11UTzGodGIj5OZu2wod n55YRy3iF8miMyJOFVgQO5G3XZerGUj/FOIjDgNnkXQTZVvJUIq+BvTQaqq9T1Aj8379mr4hO aKlh548jWvsvlmWWqDf2IVB7YQ1O40F+p2KZ8qh4Gld2kEcLJQ+A15jMuJ8JGYR6kelN02RE 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: 209.51.188.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:160653 Archived-At: > > Hence it's more suitable for buffers popping up in special occasions > > (like, for example, when a bug occurred and the debugger should be > > entered) and less suitable for buffer editing. > > I have also noticed it's not always good for special buffers either, e.g. if I run xref-find-definitions, press q, and run it again, different windows will be used for the two times. When a different window gets used there's usually a reason. So I'd need a recipe to tell you more about this ... > So about that main use case (the Debugger), can it just exclude the selected window using inhibit-same-window? That would obviate the need for special logic in this case. An 'inhibit-same-window' entry is the canonical way to "exclude" the selected window. A 'previous-window' entry is just a hint to "prefer" some other window. martin