this post was submitted on 24 Oct 2023
2 points (100.0% liked)

Emacs

311 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

In a 2 window setup, is there a way to make all temporary popup buffers (help, compile, occur, etc) always open in a specific window?

For example, I have a left and right window. I do most of my work in the left window. When I lookup something in help it opens in the right window which is what I want.

But let's say I'm in the right window already and look up help, it will open in the left window. Is there a way to make it always open in the right?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

Customize display-buffer-alist to your liking. There is an Emacs manual section devoted to it as well as several online tutorials.

[–] [email protected] 1 points 1 year ago

The display-buffer-reuse-mode-window action may be convenient for this use-case.

Many of your modes-of-interest will be derivatives of special-mode so you may (or may not) find that specifying that as a catch-all is particularly useful.