Updated (w/X) GNU Emacs changes available

Michael Hucka hucka at eecs.umich.edu
Tue Dec 11 18:13:00 AEST 1990


In article <113.2763ad4f at vax1.cc.lehigh.edu> lusgr at vax1.cc.lehigh.edu (Steve Roseman) writes:
> Subject: Updated (w/X) GNU Emacs changes available
> Message-ID: <113.2763ad4f at 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 at caen.engin.umich.edu    
University of Michigan AI Lab  | 1101 Beal Ave., Ann Arbor, MI 48109 



More information about the Comp.unix.aix mailing list