From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70949: display-buffer-choose-some-window Date: Thu, 23 May 2024 09:22:07 +0200 Message-ID: <78dfee56-80b4-4ba7-a012-df31abd21743@gmx.at> References: <86jzjwqqmd.fsf@mail.linkov.net> <8d1947c7-a4d1-4920-8638-f8ae17acfe65@gmx.at> <86r0e32fnj.fsf@mail.linkov.net> <867cft0xt2.fsf@mail.linkov.net> <86ed9xvz3o.fsf@mail.linkov.net> <73251208-1e4c-4231-ae58-faf82363f241@gmx.at> <86jzjoo23l.fsf@mail.linkov.net> <9e29cbbc-65ee-4dd8-8a41-539946e19a7c@gmx.at> <86cypfm6s7.fsf@mail.linkov.net> <86o78xm9y5.fsf@mail.linkov.net> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14815"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 70949@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 23 09:23:09 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sA2n7-0003eo-9e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 May 2024 09:23:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sA2mv-0002bm-M2; Thu, 23 May 2024 03:22:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sA2mu-0002al-0q for bug-gnu-emacs@gnu.org; Thu, 23 May 2024 03:22:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sA2mt-0007pe-Oz for bug-gnu-emacs@gnu.org; Thu, 23 May 2024 03:22:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sA2mz-0007pM-Tp for bug-gnu-emacs@gnu.org; Thu, 23 May 2024 03:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 May 2024 07:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70949 X-GNU-PR-Package: emacs Original-Received: via spool by 70949-submit@debbugs.gnu.org id=B70949.171644894630065 (code B ref 70949); Thu, 23 May 2024 07:23:01 +0000 Original-Received: (at 70949) by debbugs.gnu.org; 23 May 2024 07:22:26 +0000 Original-Received: from localhost ([127.0.0.1]:58682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA2mP-0007or-Km for submit@debbugs.gnu.org; Thu, 23 May 2024 03:22:25 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:56779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA2mM-0007oj-Iy for 70949@debbugs.gnu.org; Thu, 23 May 2024 03:22:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1716448930; x=1717053730; i=rudalics@gmx.at; bh=jMW8eIzX+fFRPdBislG1hJxmbXvKPf/EjwiV+zR9Uos=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=p/6RORKEaHtK5N1DPE8etJwzNhN0Qp6w05q+rOKtL825EqoOGShLG4jyDHAVzGjN QR4vsEiKfBixUbE+zYlyy8aCIfxWlkNRIZMkNxaUpZlbu28OHkkTJel5+vXHEMLUL hwKiUgC34xGUt1v9gPNeE/qWgjfwdTnKU8z5evIBYUp6GIKXm1cFImPh1jxJRjNi8 +ZLB7HX/N51Rdv4QqcxOON1W4qpOHzt7lKQ6mamxcXokrACx0VsHqlEI4p3yrwkh1 3GFhSyppm01/msBnimJxkgy6eowMPl4CRcHD4C9yKY/66KdEhtGCIliHX9/1vWr4s yCEjp+aCMR4eotfG5w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([46.125.249.120]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MCKBc-1sIFyF3SiY-00CmAF; Thu, 23 May 2024 09:22:10 +0200 Content-Language: en-US In-Reply-To: <86o78xm9y5.fsf@mail.linkov.net> X-Provags-ID: V03:K1:Z3+YtXxJ1HHQ173Wu5m+OmyLkwz/rN57my+sdgug1Ukit3IUbER L7z9Vn5h4fvIHY+Ff6n7rJz3JB9BHcZ884swIXwyV8v1J4EKiamE5AzLarR2RYydqb94vvo X/RTH9kIjk0VpQlrfSoaTP0BKwW/OwjdRFlS6XuYMovBBSlIUK2TjdlkVFB9xwP6E8TKv3i BAWs559y3sEnKTxWi59wA== UI-OutboundReport: notjunk:1;M01:P0:E1hJ1MYaRbw=;h0SZgMHI+ZtXeh1KFWRCHnBTL8n Mt14t1sjxmc6kr5+FcfU7nRDrnOjuXT9EB0oea15vIlgA2nd5bbgFcrwYnIUXOxKsfuXq4k9Q ilIaLQ91rYvTme4rghH84A77m0hDOy3ZVaJAH4TFiQ21Ga+9N82Q6kYT0gTgqTjfrNUZ2Ugcm uP8LGSxTcYsSDX28S0f0x7cebkLGlx/PuWvjzTwE9xcsMILETOolgoS4r7uXRrG1q6CzXT6EA tGTvLWGLqegtHt0XHWvpy2iPoUNkfeE6VGA+FUkE+GcxjDGsw9aqqbiUe0ZzpdUyvFgJqz87H YkuzbxPwMIPL0RjSxK+UrR6QnZkRuXaoghHNAa3zys6ZgvJJAtsqZSC/TiS9iMoGxSaXnUqOr 4PCjeppCpXtkqWf0No6wWzlx2eHmHa8Dgb1+tOfY1K7GhRdQH+psgEel8dsjl+lrO/Ox0fQkA GNz5bS6Cde9OYnTD313EKw6v6HzDtzgEpEPNb+8G4mQPTVT8VNuoTL0PMe6UUePvu1Pj9eX1o y472/G3YR3tHji6EpOjBNhvt4TfvI26xfrQhDM5vezP5PSKjyHvzGYu+iiqWsrIF0Ah4mn2Kd qyREwwJ428oRPifX0Dcu/AXuK8eaNObBBTjayRcjmd8EqaxMrIuBEQQ0OWDzeHWMnpdAd8RgY pOMfoRTSRxQ2LzaWQ62E/z5UEQcBFZQQAEz+ABfBcs8PwdmM5fMqAdHxOubtWphLZHi0yLPmr FV72nyaRVC6vTWGlyx2S+IvIg8KA5ciIGHYt70kLRl8IZlXZ+Kl/WZjzfqzWdaWI/lfbIIbE X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285686 Archived-At: > With 'mru' the window used by 'display-buffer-use-some-window' > is the last one. Here is the use case of the OP: > > When cycling through, say, a rgrep result buffer with n > (next-error-no-select) and p (previous-error-no-select), file results > are displayed in every open window, with the exception of the window > containing the rgrep results themselves. That's the problem I tried to address in my first proposal: Displaying a file in "every open window" can be confusing so we want to use always the same non-selected window ... > I'd rather have file results remain in just one window > so that I can use other buffers while still viewing search results. ... but if, as you said earlier, the OP means "other windows" here, the resulting behavior becomes unpredictable again because the 'mru' window will change to the last "other" window of the user. >> I think the OP should use a side window to show "file results" which >> would support the "remain in just one window" paradigm out of the box. > > Unfortunately, a side window is not a solution since after finishing > navigating the search results, the window should remain normal. Then maybe a separate category for rgrep buffers could help here. martin