> > What windows are you trying to embed? Why not simply putting focus on > > those explicitely (QXEmbed::setFocus() ) > > Emacs. I'm at the point where I can remote-control it and do things > like > > QCString filename = emacs->eval("(buffer-file-name"); > He he, do you plan to make something publicly available soon ? I'm working on embedding vim, maybe there are common problems we can share (if you consider vim and emacs have something in common :-) ). Are you working on a KPart ? Have you considered using XPart ? regards, Philippe