Skip to main content

Questions tagged [display-buffer-alist]

Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

I want the ability to remove Help buffers from display-buffer-alist. And I am getting and: Symbol’s value as variable is void: \"\\*Help\\*\" Here is the function (defun qhelp-frame (&...
Filangieri's user avatar
1 vote
0 answers
50 views

I am trying to display small dap-ui windows such as dap-ui-sessions in a seperate new frame. I managed to write a function to create a new frame on the second monitor: (defun my-debugger-frame () &...
H. Kwak's user avatar
  • 11
0 votes
1 answer
121 views

When opening a new buffer, I want to ensure that: All non-inferior-ess-r-mode buffers are displayed in a new window to the left of the focus buffer All inferior-ess-r-mode buffers are displayed in a ...
ppanko's user avatar
  • 146
0 votes
1 answer
125 views

The aim is to display a buffer named *navigator* in a side window at the bottom. I have following code. ;; the function toggle-navigator is in another directory being imported as a package. ;; it is a ...
Suren Shrestha's user avatar
1 vote
1 answer
204 views

With the following code, emacs split sides windows like: ;; ------------------------------------- ;; | | * | ;; | | h | ;; | ...
RNA's user avatar
  • 50
1 vote
2 answers
611 views

I like to have the Help buffer in a some frame (with some other windows) and I try to reuse this window in this frame even when I am in another frame and issue a help command. I tried setting (setq ...
halloleo's user avatar
  • 1,445
0 votes
1 answer
745 views

I wrote a simple function for Emacs that ends in calling async-shell-command with a music player. All good so far, but the command pops up the standard-out buffer. Its help text reads (among other ...
Phoenix's user avatar
  • 381
1 vote
0 answers
330 views

I am trying to tame display-buffer to achieve the following behavior: if I have a frame split once horizontally and then run a function that creates a third window (like help, magit, or similar) I ...
martian's user avatar
  • 608
1 vote
2 answers
636 views

I have the following in the display-buffer-alist list: (("*" (display-buffer-in-side-window ((side . left) (window-width . 110))))) While display-buffer-overriding-...
Alex's user avatar
  • 155
2 votes
1 answer
205 views

Currently I'm using the following display-buffer-alist, which works fine but resets the size on opening a new window. Is there a way to only use the window-height when first creating the window? After ...
ideasman42's user avatar
  • 9,513
1 vote
0 answers
342 views

I would like to catch popup buffers with display-buffer-alist by their major-mode instead of matching the buffer name with a regexp. For example I have dired-mode buffers that popup and I can't come ...
Nicholas Hubbard's user avatar
4 votes
1 answer
451 views

I want to add a rule to display-buffer-alist, that splits the frame to the right when opening a .pdf file if and only if there is a corresponding .tex file in the same folder. According to the ...
Florian's user avatar
  • 271
1 vote
1 answer
1k views

I have recently started using buffer-display-alist to sensibly place windows within a frame. Typically, I'll have one or two windows of code buffers that I actively work in and a bottom "side ...
J3RN's user avatar
  • 131
5 votes
2 answers
3k views

I want to use async-shell-command to run a .bat file on Windows. Reading the function documentation it says: (defun async-shell-command (command &optional output-buffer error-buffer) "Execute ...
nephewtom's user avatar
  • 2,401
1 vote
1 answer
398 views

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 I ...
Digicrat's user avatar
  • 187
0 votes
1 answer
422 views

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 ...
RichieHH's user avatar
  • 908
0 votes
0 answers
175 views

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 ...
phoxd's user avatar
  • 241
5 votes
1 answer
681 views

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: --------...
Philopolis's user avatar
  • 1,192
2 votes
3 answers
1k views

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 ...
nb3pt470's user avatar
1 vote
1 answer
640 views

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 ...
caseneuve's user avatar
  • 417
2 votes
1 answer
1k views

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 ...
rubenfa's user avatar
  • 103
1 vote
1 answer
2k views

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*...
bertfred's user avatar
  • 1,757
1 vote
0 answers
553 views

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 ...
Gary Ash's user avatar
8 votes
0 answers
609 views

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 ...
purple_arrows's user avatar
9 votes
4 answers
2k views

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 ...
Dan's user avatar
  • 33.7k
5 votes
2 answers
2k views

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 ...
Kaushal Modi's user avatar
  • 26.4k
0 votes
0 answers
231 views

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 ...
mpontus's user avatar
  • 429
4 votes
1 answer
2k views

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 ...
Kirill's user avatar
  • 1,019
3 votes
1 answer
475 views

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 ...
Pradhan's user avatar
  • 2,400