DestroyFunc WarpToTerminal
AddToFunc WarpToTerminal
        + I Next ("XTerm")               WarpToWindow 50 50

DestroyFunc WarpToEmacs
AddToFunc WarpToEmacs
        + I Next ("Emacs")              WarpToWindow 50 50

bound to keys, I can switch to windows of that class/name.  This works
great until I have, for example, three emacs frames and an xterm (all on
different pages of the desktop) and want to warp between the xterm and
/one particular/ emacs frame.

What happens is that I warp to the xterm and then have to press the key
to warp to emacs several times until I arrive at the particular emacs
frame I want to go to.  If I had several xterms, I'd have switch to
several of them to arrive the one I'd want to go to.

This makes warping a bit inconvenient.

Is there a way to make it so that I automatically warp back to the last
window of the same class/name I came from when I first press the key and
only go to a different window of the same class/name when I press the
same key again?

This would allow switching between a particular xterm and a particular
emacs frame out of many immediately when pressing the corresponding key
once and still allow to switch to any other of them when pressing the
same key multiple times.

Again we must be afraid of speaking of daemons for fear that daemons
might swallow us.  Finally, this fear has become reasonable.

Reply via email to