all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Sensible values for `display-buffer-base-action'
Date: Tue, 07 Jun 2022 09:26:10 +0000	[thread overview]
Message-ID: <87tu8wx1sd.fsf@posteo.net> (raw)
In-Reply-To: <87zgiorhlt.fsf@dataswamp.org> (Emanuel Berg's message of "Tue, 07 Jun 2022 10:41:02 +0200")

Emanuel Berg <incal@dataswamp.org> 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*, ...).



  reply	other threads:[~2022-06-07  9:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-07  8:24 Sensible values for `display-buffer-base-action' Philip Kaludercic
2022-06-07  8:41 ` Emanuel Berg
2022-06-07  9:26   ` Philip Kaludercic [this message]
2022-06-07  9:45     ` Emanuel Berg
2022-06-07 10:27       ` Philip Kaludercic
2022-06-07 13:21         ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tu8wx1sd.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.