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: Nick Roberts
Subject: Re: Mouse events in the margin using an xterm
Date: Sat, 11 Dec 2004 13:31:21 +1300

 > > I was looking at writing lisp primitives to get the information for mouse
 > > events out of Emacs to use in t-mouse.el.
 > 
 > I suspect that it will not be easy to do this on the Lisp level.
 > t-mouse.el jumps through the hoops trying to do that, and it still
 > doesn't get it 100% correctly.  Emacs simply doesn't give Lisp
 > programs any good way to inject arbitrary events into the event queue.
 > Maybe it should.
 >

Thats what I mean. Write primitives in C for use with lisp e.g
(buffer-position-at COL ROW). And others which would allow the POSITION:

     (WINDOW POS-OR-AREA (X . Y) TIMESTAMP
      OBJECT TEXT-POS (COL . ROW)
      IMAGE (DX . DY) (WIDTH . HEIGHT))

to be generated just from COL ROW provided by mev, if thats possible
(mev only provides character co-ordinates, not pixel information).

 > > I think this would be a good activity to put in TODO.
 > 
 > Yes, I don't think we should try that before the release.

Thats's implicit isn't it? Otherwise presumably it would go in FOR-RELEASE.

Nick




reply via email to

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