skip(a)pobox.com writes:
I use gnuclient as my EDITOR for tools like mozex and cvs/svn commit
message
editing. I also use a virtual desktop environment. My main XEmacs frame is
typically in one of those desktops, Firefox in another and Thunderbird in a
third. If I'm not careful, when I go to close a gnuclient session
(delete-frame) XEmacs refuses to delete the last visible frame. There are
other frames, they are just in other virtual desktops.
And therefore they are not visible as far as X11 and thus XEmacs are
concerned. There's a comment in delete_frame_internal saying that
what you want has been tried, and what people got was lots of zombie
xemacs processes.
Have you tried C-x # to close the frame?
It's possible that if gnuserv is active, we could allow deleting the
last visible frame. I'm not prepared to mess with this myself at the
moment; it may be a while before one of us gets to it.
Given that (delete-frame) is written in C I didn't see any easy
way
around this. If I manage to call it with a FORCE arg of t it seems
like it will want to kill the session altogether.
I don't think so. It looks to me like that promise is kept
implicitly; I can find no explicit attempt to kill xemacs in
delete-frame. I can't promise, but it should be safe because once
`delete-frame' is exited the only way for xemacs to find out that you
just deleted a frame is to notice that there aren't any.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta