Questions tagged [display-buffer-alist]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
24 views

How to configure a command to open in same-window unless already open in active frame?

I can use display-buffer-alist to configure a command to open in the same window: (add-to-list 'display-buffer-alist '("*grep*" display-buffer-same-window)) The problem in this case, however, is if ...
0
votes
1answer
43 views

using display-frame-alist to force switch to buffer

Could someone please explain how to use default-frame-alist to make list-buffers switch to the resulting results buffer? list-buffers uses display-buffer so I am thinking that display-buffer-alist is ...
0
votes
0answers
70 views

How to display certain buffers below the selected window?

For now I can open Help buffer below current one by splitting its window using regex (add-to-list 'display-buffer-alist '("^\\*.*\\*$" . (display-buffer-below-selected))) How can I make ...
4
votes
1answer
192 views

How to display *help* buffers below one specific window?

I am (really) new in Emacs and ESS, and I am currently trying to customize my environment. The default settings of ESS[R] are convenient for me, since ESS[R] organizes the windows as follows: --------...
2
votes
3answers
475 views

Org-mode 2-pane writing setup using indirect buffers (or display-buffer-alist

I am trying to set up a 2-pane writing setup in org-mode (similar to this). I'm using org-tree-to-indirect-buffer, and want to have the following functionality: 1. Opening a specific heading in a 2nd ...
1
vote
1answer
149 views

Which hooks guarantee proper (re)displaying of windows after windows configuration is changed?

I'm writing a simple minor mode (for personal use) which dynamically sets fringes according to current window width. I added a dedicated function to those hooks: window-configuration-change-hook ...
1
vote
1answer
834 views

Pop up new frame (with only one window and frame) to show specific buffers

I'm trying to add functionality to my spacemacs config. I want to show allAlchemist buffers in another frame. For example Alchemist Test Report or Alchemist Mix. So when I use M-RET t b, spacemacs ...
1
vote
1answer
973 views

how to modify buffer display behaviour?

I use display-buffer-alist to Configure buffer display. For example I have this snippet to display flycheck errors buffer. (add-to-list 'display-buffer-alist `(,(rx bos "*Flycheck errors*...
1
vote
0answers
473 views

Setting up an maintaining my window layout

I'd like to have my Emacs frame setup with a neotree window on the left, my active source code or text file taking up the majority of window's space. I'd like to have Emacs put virtually all other ...
8
votes
0answers
376 views

How can I force display-buffer to use one specific frame?

My daily workflow uses multiple frames, and I have a frame that I want to dedicate to ERC buffers. I've used set-frame-parameter to give the frame the name *ERC*. I want display-buffer to always ...
9
votes
3answers
1k views

How to control where the org todo keywords buffer displays?

Q: how can I control where the org todo keywords buffer appears? Entering a todo keyword with C-c C-t (org-todo) opens a new buffer with the keyword options and then closes it again after I select ...
5
votes
2answers
1k views

How to conditionally reuse the current window to display a buffer?

M-x view-echo-area-messages (bound to C-h e by default) is used to see the *Messages* buffer. I would like to get the following behavior when I press C-h e: If the frame has just 1 window, split the ...
0
votes
0answers
159 views

Conventional implementation of display-buffer-above-selected

Despite respectable variety of display-buffer-* functions some of them stand out with lack of flexibility, such as display-buffer-at-bottom or display-buffer-below-selected that exist in absence of ...
4
votes
1answer
2k views

Managing multiple windows and buffers?

Is there a good way to manage multiple windows in a large frame? I usually have one large frame, split into many windows, and I find that when I (or some command) visits a buffer, the choice of ...
3
votes
1answer
319 views

Prevent buffer from being displayed

How do you tell display-buffer-alist to not display a buffer whose name has a particular string in it? The "Display Action Functions" documentation mentions display-buffer-no-window. However, I don't ...