From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Stefan Monnier via "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#67249: 30.0.50; `same-frame` equivalent for `display-buffer-alist`
Date: Sat, 18 Nov 2023 22:52:45 -0500
Message-ID: <jwv1qcmfm22.fsf-monnier+emacs@gnu.org>
References: <jwv34x4m50o.fsf@iro.umontreal.ca>
 <159cd3c2-a0c4-63e2-ebb2-ce0f5f8c343e@gmx.at>
Reply-To: Stefan Monnier <monnier@iro.umontreal.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="24981"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cc: 67249@debbugs.gnu.org
To: martin rudalics <rudalics@gmx.at>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 19 04:53:18 2023
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1r4Ys2-0006LZ-Gl
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Nov 2023 04:53:18 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1r4Yrq-0003OS-Da; Sat, 18 Nov 2023 22:53:06 -0500
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 <Debian-debbugs@debbugs.gnu.org>)
 id 1r4Yrk-0003OG-Tl
 for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2023 22:53:00 -0500
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 <Debian-debbugs@debbugs.gnu.org>)
 id 1r4Yrk-0007oZ-LP
 for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2023 22:53:00 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1r4Yrl-0006qa-QA
 for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2023 22:53:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Stefan Monnier <monnier@iro.umontreal.ca>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 19 Nov 2023 03:53:01 +0000
Resent-Message-ID: <handler.67249.B67249.170036597626305@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 67249
X-GNU-PR-Package: emacs
Original-Received: via spool by 67249-submit@debbugs.gnu.org id=B67249.170036597626305
 (code B ref 67249); Sun, 19 Nov 2023 03:53:01 +0000
Original-Received: (at 67249) by debbugs.gnu.org; 19 Nov 2023 03:52:56 +0000
Original-Received: from localhost ([127.0.0.1]:49724 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1r4Yrf-0006qB-Iz
 for submit@debbugs.gnu.org; Sat, 18 Nov 2023 22:52:55 -0500
Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29084)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@iro.umontreal.ca>) id 1r4Yrd-0006pz-F5
 for 67249@debbugs.gnu.org; Sat, 18 Nov 2023 22:52:54 -0500
Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8C4211000AD;
 Sat, 18 Nov 2023 22:52:46 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1700365965;
 bh=68pUDhmaILn5ezDcXTZhGI8pn0ErPAYlTLMvg5SVHdI=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=aFMKLoywFCT1fshuC1WtAECA2YY/DwbfdMj+f+7jIDDTWu5+iIslHQQ2XzRq6Esuf
 XZqk4l5equdeOXdWigtpp+v6R/ASB596OVweZSbQPbaOalKvQW11i/s0VDYYo7niqq
 hMIR7CeKAnbNocIuSYZQzvFizbKT7B305pb6r0n3+pjd9nd6M4M5Nin1YYBFcEJuI7
 1p4R0Nlz6eZms1pMNaLXLuEUOE9Dc6w9yD1NhgmDVwLiUveFpncvzgSsZDGkVg8LAK
 CVzSXJliQSP25q+PCDW9Wuys+ognxEX5VGmvCtzCKY2NZx6DI+ksSLFXS2wKPMM9Tf
 4pRJH4/RdPvTA==
Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D2E93100043;
 Sat, 18 Nov 2023 22:52:45 -0500 (EST)
Original-Received: from pastel (unknown [45.72.227.120])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id AC15F1204A3;
 Sat, 18 Nov 2023 22:52:45 -0500 (EST)
In-Reply-To: <159cd3c2-a0c4-63e2-ebb2-ce0f5f8c343e@gmx.at> (martin rudalics's
 message of "Sat, 18 Nov 2023 09:36:35 +0100")
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=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:274581
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/274581>

>> As `special-display-buffer-names` and friends are nearing the 10 years
>> of being declared obsolete, I noticed that I can't find any replacement
>> for the `same-frame` parameter in `display-buffer-alist`.
> IIRC 'same-frame' had no clear semantics.

In `special-display-*`?

Are you referring to whether it's OK to (re)use a window on another
frame if it shows the buffer already?

Other than this, I don't see what was not clear about its semantics.
And I can't see any reason why we couldn't clarify the semantics.

> As for a new window on the selected frame, use
> 'display-buffer-pop-up-window'.  As for any other window on the
> selected frame, use either =E2=80=98display-buffer-use-some-window=E2=80=
=99 or
> =E2=80=98display-buffer-use-least-recent-window=E2=80=99 with a nil 'lru-=
frames'
> action alist entry.

`same-frame` was not quite like any of those, it said "keep using the
default set of options in the same order of preferences, except that if
at all possible, skip those options which end up displaying the buffer
in another frame".


        Stefan