Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!milano!titan!janssen@titan.sw.mcc.com From: janssen@titan.sw.mcc.com (Bill Janssen) Newsgroups: gnu.emacs Subject: Re: How do I know if I am in Emacstool Message-ID: <2107@titan.sw.mcc.com> Date: 11 Mar 89 23:35:10 GMT References: <28363@sri-unix.SRI.COM> <36945@bbn.COM> <37031@bbn.COM> Sender: janssen@titan.sw.mcc.com Reply-To: janssen@titan.sw.mcc.com (Bill Janssen) Organization: MCC Software Technology Lines: 14 In-reply-to: mesard@bbn.com (Wayne Mesard) In article <37031@bbn.COM>, mesard@bbn (Wayne Mesard) writes: >(Why >doesn't emacstool set an env variable or somfin?!) Indeed. I've been trying to write a set of functions which work both in Emacstool and in X (and with luck, on any other windowing port of GNU Emacs), but that symbol "window-system" doesn't get set on Emacstool (which it should). Having Emacstool set an environment variable would be one way to do it; passing the window system type directly to Emacs would probably work better, to avoid having the environment variable inherited by any subprocesses. Bill