help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sensible values for `display-buffer-base-action'


From: Philip Kaludercic
Subject: Re: Sensible values for `display-buffer-base-action'
Date: Tue, 07 Jun 2022 09:26:10 +0000

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 via email to

[Prev in Thread] Current Thread [Next in Thread]