From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.help Subject: Re: Sensible values for `display-buffer-base-action' Date: Tue, 07 Jun 2022 09:26:10 +0000 Message-ID: <87tu8wx1sd.fsf@posteo.net> References: <87bkv498z4.fsf@posteo.net> <87zgiorhlt.fsf@dataswamp.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="4736"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 07 11:43:46 2022 Return-path: Envelope-to: geh-help-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 1nyVkX-00013z-Er for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 11:43:45 +0200 Original-Received: from localhost ([::1]:60922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyVkW-0000VT-90 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 05:43:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyVTb-0004lX-PK for help-gnu-emacs@gnu.org; Tue, 07 Jun 2022 05:26:17 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:53257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyVTZ-0003qc-7V for help-gnu-emacs@gnu.org; Tue, 07 Jun 2022 05:26:15 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0393D240026 for ; Tue, 7 Jun 2022 11:26:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1654593971; bh=iCGh0qB9fBeiNL1eIwBMkBU7qtOJAHhr7dFkem75l0w=; h=From:To:Subject:Autocrypt:Date:From; b=SdNh4Cc5aZX9CdkQxSF3r6I4wkvC2Uby4qDlSBI09QcpyNUnU9BPlnxueOyPKNiNp 8C3mTatBnKTx+n2Djmz7m3pLlZ9Wf9PYFR7gBcv4m0VSrs4Rbmlu59ilYjWMiiACSL OHuEE8x/xOW47ifPiG15QO9VROYxJKcL8U/t4lwblwukryWIxFP81V/p+W15Va4m6D 0vDnHY3eAyP+g4HiFcWHeR5X4W49ICmiHpcvkcdKPbcsjR2WlpZsJgtYEj9vt/gx8e LPb2rvpOUgpwRsVM+2nOdixcd4VS7rzaMGmicnMEEArOWpezbQZZ1l/cj4S/SwK1cJ 2L8fyD75Q09Uw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LHQ2p4gTFz6tm4 for ; Tue, 7 Jun 2022 11:26:10 +0200 (CEST) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: <87zgiorhlt.fsf@dataswamp.org> (Emanuel Berg's message of "Tue, 07 Jun 2022 10:41:02 +0200") Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137509 Archived-At: Emanuel Berg writes: > Philip Kaludercic wrote: > >> I am wondering if anyone has a clever >> `display-buffer-base-action' (or `display-buffer-alist') >> customisation they could share? > > `display-buffer-alist' is nil (the default) and ... > > ;;; -*- lexical-binding: t -*- > ;; > ;; this file: > ;; https://dataswamp.org/~incal/emacs-init/window-incal.el > > (setq display-buffer-base-action '((display-buffer-reuse-window > display-buffer-same-window) )) The annoying thing about this is that everything is displayed in the same window by default. If I do this, I would have to manually whitelist every type of buffer I want to display in the other-window, such as documentation (*Help*, *Man*, ...).