Ben Wing <ben(a)666.com> writes:
"William M. Perry" wrote:
> Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
>
> > wmperry(a)aventail.com (William M. Perry) writes:
> >
> > > Here is a reworked version of the GPM support. This is equivalent
> > > functionality-wise to the current implementation, but does not sink its
> > > teeth into all the console and event loops like the old one.
> >
> > Cool... The patch is mangled however. It has broken lines and there is
> > the tab vs space problem.
>
> Tabs are your friend. :)
>
> > > -----------------
> > > `gpm-mode' is a built-in function
> > > (gpm-mode &optional ARG)
> >
> > How do you suppose this gets enabled? I would love for this to be still
> > the default.
>
> We could throw a call to it in syms_of_gpmevent() if you want.
No -- you need to create a separate init_gpmevent() function.
I'll work on changing the C code to be more of a toggle-gpm-mode, and write
a gpm.el to go along with this, and it can take care of starting up gpm
automatically, etc. It should also add hooks to suspend/resume emacs to
let the main gpm program handle things.
-Bill P.