On Thu, 30 Sep 2004, [EMAIL PROTECTED] wrote: > Just to be clear: what I currently do using emacsclient takes care of > opening the file in the current emacs window. However, that window isn't > the currently displayed window of the frame. What I want to do is > have Ion switch to this currently existing emacs window, which is now > visiting the file. (You can debate whether this is what I should want to > do, but that's a separate issue.) AFAICS, this intrinsically requires > either the shell command or the emacs itself to be able to tell ion `make > "emacs" the active window in this frame', and this isn't possible. (let me > know if any of this is wrong.)
Do you mean *switch* or *show*? If you just want to pop to the Emacs window, you could attach it to the current frame (NB: because of Ion's frames, I'm calling Emacs' frames "windows"). To switch to it is harder - I usually just keep Emacs in one workspace so I can hard-code switching to that workspace as "switch to Emacs" in code and in my brain. As I said, if you're doing the xterm <-> Emacs shuffle a lot try Dired in Emacs, you won't be disappointed. Ted
