We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [dedicated-windows]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
162 views

switch to dedicated window instead of duplicating the buffer

I can make a buffer dedicated to a frame using the following snippet I got from other posts (defun toggle-window-dedicated () "Toggle whether the current active window is dedicated or not" (...
2
votes
2answers
88 views

Monkey patch and restore builtin set-window-dedicated-p during advice

I would like to make set-window-dedicated-p a NOP when called from xref--show-pos-in-buf. Below is an attempt to do so using advice. It doesn't work, I think because fset is not really copying the ...
1
vote
1answer
52 views

How can I create a window that can't be closed?

I create a window with the following (setq ook-window (display-buffer-in-side-window buffer '((side . bottom)))) (set-window-dedicated-p ook-window t) But then when I go to the main window and ...
1
vote
0answers
96 views

Open some file types in new frame

I use split-frame (split-window-right in setup) for most things but would like Emacs to open some file types (specifically PDF files) in a new frame when using find-file. Other files (for example ....
1
vote
0answers
394 views

How to prevent emacs from popping up with new frames in response to dedicated windows? I would much rather it split the existing window

I've recently started using dedicated windows because I have certain windows (a python interpreter, sometimes a PDF of a LaTeX document), that I do not want obstructed under any circumstances. This ...
0
votes
2answers
190 views

Magit reuse same window for different project when switching window

I'm a new user of magit and I'm currently using it in a separate frame with a single window (magit-status). I'd like that to show the git status of the project of the latest visited buffer. Imagine ...