[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: |
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
- Re: Mouse events in the margin using an xterm, (continued)
- Re: Mouse events in the margin using an xterm, Richard Stallman, 2004/12/09
- Re: Mouse events in the margin using an xterm, Nick Roberts, 2004/12/09
- Re: Mouse events in the margin using an xterm, Stefan Monnier, 2004/12/09
- Re: Mouse events in the margin using an xterm, Eli Zaretskii, 2004/12/10
- Re: Mouse events in the margin using an xterm, Stefan Monnier, 2004/12/10
- Re: Mouse events in the margin using an xterm, Nick Roberts, 2004/12/10
- Re: Mouse events in the margin using an xterm, Stefan Monnier, 2004/12/10
- Re: Mouse events in the margin using an xterm, Eli Zaretskii, 2004/12/10
- Re: Mouse events in the margin using an xterm, Nick Roberts, 2004/12/10
- Re: Mouse events in the margin using an xterm, Eli Zaretskii, 2004/12/10
- Re: Mouse events in the margin using an xterm,
Nick Roberts <=