[comp.emacs] Help with Emacstool

mjohnson@elric.axion.bt.co.uk (Mike Johnson) (05/03/89)

Hello world

I'm trying to get emacstool to work. 
(Disclaimer: I'm an emacs user, I haven't done much emacs programming)

We're running GNU emacs version 18.47.1 on SUN O/S version 4.

I've loaded the libraries sun.el, sun-mouse.el and sun-mouse-fns.el
to no avail.

Everytime I press the mouse keys I get an error stating that

   sit-for-milliseconds 

is undefined.

Any ideas????

Mike
----------------------------------------------------------------------------
Mike Johnson rt3122 British Telecom Research Labs. Martlesham Heath Ipswich UK

drk@athena.mit.edu (David R Kohr) (05/05/89)

How does one go about obtaining a copy of GNU Emacs for the Sun
workstation?  Is it distributed with Sun/OS 4.0, or is it available
elsewhere?  (We have Sun's here at work, but haven't yet gotten
an upgrade to Sun/OS 4.0.)

		David R. Kohr, M.I.T. Lincoln Laboratory
	email:	KOHR@LL.LL.MIT.EDU (preferred) OR drk@athena.mit.edu
	phone:	(617)981-0775 (work), (617)527-3908 (home)

pae@cos.com (Paul A. Ebersman) (05/05/89)

From article <1473@zaphod.axion.bt.co.uk>, by mjohnson@elric.axion.bt.co.uk (Mike Johnson):
> I'm trying to get emacstool to work. 
>
> Everytime I press the mouse keys I get an error stating that
>    sit-for-milliseconds 
> is undefined.
> 

See the file [wherever you put emacs]/dist-18.53/etc/SUN-SUPPORT. You will
have to add a define so that all the sunview libraries and sunfns.o are
linked into xemacs. (This is huge in OS3.x. Hopefully, in 4.0 it will be
smaller). You should also set up a site-init.el file that loads
sun-mouse and sun-fns into the binary right after loadup.el puts things
in. (This is automagic. Just create the site-init.el file before making
emacs).
-- 
               Paul A. Ebersman @ Corporation for Open Systems
  pae@cos.COM or pae%cos.com@uunet.uu.net or {uunet, sundc, hadron}!cos!pae
     ( The difference between practice and theory in practice is always
      greater than the difference between practice and theory in theory. )