[Top][All Lists]

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

Re: Mouse events in the margin using an xterm

From: Stefan Monnier
Subject: Re: Mouse events in the margin using an xterm
Date: Fri, 10 Dec 2004 17:41:11 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

>> > 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.

> there is also a program call rmev, that works on an xterm (or rxvt) so
> presumably xt-mouse.el could be replaced too.

I don't have rmev installed here, so I'd have to first install it if
xt-mouse.el was removed.  Not a good idea.


reply via email to

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