From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: master 18b680cfd1: Fix bug#52467 by adding a new custom variable 'display-comint-buffer-action' Date: Fri, 31 Dec 2021 11:47:56 -0500 Organization: disorganization Message-ID: References: <164073060906.21430.4993248796177370312@vcs2.savannah.gnu.org> <20211228223009.6D0BAC002EE@vcs2.savannah.gnu.org> <871r1v8nhf.fsf@gnus.org> <83ilv7jqm7.fsf@gnu.org> <6a9cd581-1630-4a95-62c4-419603561072@gmx.at> <3499cedf-b170-3045-873d-d45d2972ae13@gmx.at> <868rw2ulzs.fsf@mail.linkov.net> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31900"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) To: emacs-devel@gnu.org Cancel-Lock: sha1:C4XKzB1dwdigFE8Os5Tx7jIqZc0= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 31 17:48:43 2021 Return-path: Envelope-to: ged-emacs-devel@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 1n3L58-00084T-Ri for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Dec 2021 17:48:42 +0100 Original-Received: from localhost ([::1]:34578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3L57-00082B-Ic for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Dec 2021 11:48:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3L4Y-0007MC-FV for emacs-devel@gnu.org; Fri, 31 Dec 2021 11:48:06 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:51688) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3L4W-0007eg-Rj for emacs-devel@gnu.org; Fri, 31 Dec 2021 11:48:06 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1n3L4U-0007KW-Ux for emacs-devel@gnu.org; Fri, 31 Dec 2021 17:48:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283755 Archived-At: > * martin rudalics [2021-12-30 18:14:14 +0100]: > > Now 'pop-to-buffer-reuse-or-same-window' is still no 100% substitute for > 'pop-to-buffer' but we can try it because it handles Sam's main argument > against 'pop-to-buffer-same-window' - that the same buffer appears twice > on the same frame. Please note that this is just the most obvious situation when the "same window" behavior is undesirable. Personally, I would rather avoid it altogether. This is why my preferred approach would be to * use plain `pop-to-buffer' _everywhere_ * deprecate all `pop-to-buffer-*' functions * modify the default value of `display-buffer-alist' to preserve the current behavior One clear benefit of this approach would be giving users a sophisticated example of `display-buffer-alist' to start their customizations from. Thank you. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2022 http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com https://mideasttruth.com https://thereligionofpeace.com https://www.memritv.org Brainwashing leads to brain drain.