There are many useful emacs commands that do things in a "different window" (for example, Cx Cb to view a list of buffers or Ch a to view available commands or many others).
My problem. This does not seem to work very well using several carefully organized windows in a single frame, each of which shows specific content.
At any time when I use one of these “other window” commands, it replaces the contents of some other window, which (1) may be too narrow to clearly display the displayed information, and (2) may be required manually "after which will clear it by returning it to the correct buffer. (And you better not check the list of buffers at the same time, otherwise you will ruin another window!)
(Emacs does not always use the same “different window” even when commands are issued from one window. For example, Cx Cb output can go to one “different” window, and Ch a shows it leads to another “different” window. Similarly, CMv sometimes scrolls another “different” window from the one in which the output just appeared.)
I need a way to solve or work around this problem, for example:
I would very much like to indicate a specific window, which should always be used as a "different window" for any window in this frame.
Otherwise, there may be a way to change the order of the window and / or use invisible windows (if any) to get the effect of solution 1 by doing a lot of window shuffling frame by frame, you may need an additional command to enter before or preferably after the command that recorded in the "other window".
Otherwise, I need a command that undoes the most recent buffer change in any window, so any window used will return to what it showed before it was used.
(I am currently using workgroups.el, and I am using a separate workgroup to check the documentation, but this is clearly suboptimal. "Updating" the workgroup does not reach solution 3, as it seems to only return the buffer back if it was normal file.)
EDIT: I see this question is very similar to this similar question , but this question did not get the answer it was looking for. Since the ideal solution may not exist, I am also clearly interested in workarounds.
source share