Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!shelby!msi.umn.edu!umeecs!zip.eecs.umich.edu!hucka From: hucka@eecs.umich.edu (Michael Hucka) Newsgroups: comp.unix.aix Subject: Re: Updated (w/X) GNU Emacs changes available Message-ID: Date: 11 Dec 90 07:13:00 GMT References: <113.2763ad4f@vax1.cc.lehigh.edu> Sender: news@zip.eecs.umich.edu Reply-To: hucka@caen.engin.umich.edu Organization: University of Michigan Lines: 37 In-Reply-To: lusgr@vax1.cc.lehigh.edu's message of 10 Dec 90 20:44:15 GMT In article <113.2763ad4f@vax1.cc.lehigh.edu> lusgr@vax1.cc.lehigh.edu (Steve Roseman) writes: > Subject: Updated (w/X) GNU Emacs changes available > Message-ID: <113.2763ad4f@vax1.cc.lehigh.edu> > Date: 10 Dec 90 20:44:15 GMT > The good news is that X-Windows works for as much as I use it. I don't use X > features for much more than automatically starting up with xinit and using > the mouse to position the cursor. The bad news is that I got it to work by > hardcoding X version 11 into lisp/term/x-win.el. (For some reason the > variable 'window-system-version' does not get set properly. Anybody with more > time want to fix it??? I already spent/wasted enough time trying to figure it > out.) I got Emacs running on an RS/6000 here, using the previous version of the patches -- thanks very much to everyone who contributed them, by the way! -- and the X and mouse support seems to work fine so far. Is the definition of window-system-version the only change w.r.t. X/mouse support? I worked around the problem of window-system-version not being defined by modifying x-mouse.el and term/x-win.el to test for window-system-version being non-nil before attempting to use the value. I.e., previously those files had 3 or 4 statements of the form (if (= window-system-version 11) ... but the variable wasn't defined (which is curious, since it's plainly there in x11term.c) and so it would complain about comparing nil to an integer. Changing all statements of that form to (if (and window-system-version (= window-system-version 11)) .... fixed this. I regret not having the time to investigate the problem with window-system-version not being set properly, and so cannot offer help. Mike -- Mike Hucka | Internet: hucka@caen.engin.umich.edu University of Michigan AI Lab | 1101 Beal Ave., Ann Arbor, MI 48109