On 30 Sep 2004, Ted Zlatanov wrote: > (still cc to the list because they may find this of interest in the > context of Ion) > > gnuclient can run an Emacs command, so run '(file-find "file name")' > and it will open it in the current window instead of opening a new > one.
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.) But I'll stop polluting the list now... -- __cheers, dave____________________________________________ www.inf.ed.ac.uk/people/staff/David_Tweed.html tel: +44 131 651 3447 fax: +44 131 651 3435 X wrote a book about this, which Y was carrying around for a long time with little discernible effect -- John Baez
