unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

  List information: https://www.gnu.org/software/emacs/

* 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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).