emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse events in the margin using an xterm


From: Eli Zaretskii
Subject: Re: Mouse events in the margin using an xterm
Date: Sat, 11 Dec 2004 01:14:47 +0200

> Cc: Eli Zaretskii <address@hidden>, address@hidden
> From: Stefan Monnier <address@hidden>
> Date: Fri, 10 Dec 2004 17:41:11 -0500
> 
> >> > More accurately, t-mouse.el uses start-process to run the `mev'
> >> > program, which in turn communicates with `gpm', and feeds any mouse
> >> > events to the Emacs event queue through the process-filter.
> >> 
> >> Hmm... I guess that Emacs pre-CVS can only connect to a TCP socket.
> >> With the new socket primitives maybe we can get rid of the
> >> `mev' step?
> 
> > I think Eli is saying get rid of the "gpm" step to and do everything in 
> > Emacs.
> 
> I'm out of my league here, but IIUC one of the benefits of gpm is to
> abstract over the differences between USC/PS2/serial mouses.  So I don't
> think it's a good idea for Emacs to redo what gpm does.
> 
> OTOH `mev' only provides a different interface to gpm, so it could
> be skipped, just like `emacsserver' has been dropped from Emacs-CVS.

If gpm has an abstraction layer, then perhaps it shouldn't be
replaced.  But mev could surely be skipped.

OTOH, if GNU/Linux supports all those kinds of mice, it probably
already has such an abstraction inside the kernel, so why do we need
gpm?.  But I'm out of my league here, too.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]