Questions tagged [selected-window]

The tag has no usage guidance.

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

Identify buffer by part of its name

Is there a way to select a buffer by part of its name using elisp? For instance, the ag package may create a buffer called *ag search text:MyPtyhonClass dir:c:/projects/my_module/* or the realgud ...
2
votes
0answers
59 views

Sensible stack-like quit-restore behavior in side-window?

How can I get sensible stack-like behavior from a bottom side-window? I've configured both Ag and Help to display their buffers using display-buffer-in-side-window. I like to maintain a window ...
4
votes
1answer
149 views

Stop ERT results frame from stealing focus

I've set up ert test results to display in a separate frame, if one exists, and in a bottom side-window otherwise: (add-to-list 'display-buffer-alist '("\\`\\*ert\\*\\'" (...
3
votes
1answer
414 views

How to be notified when a buffer/window becomes selected - no hook available?

I'm trying to run a piece of code when a buffer/window becomes selected. For an example use case, suppose I'm editing a buffer, save it, and kill it. Suppose also the buffer "below" (that appears ...