[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New primitive buffer-position-at
From: |
Stefan Monnier |
Subject: |
Re: New primitive buffer-position-at |
Date: |
Tue, 11 Jan 2005 18:32:28 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> They are the same co-ordinates as used in window-at i.e in chars and 0 based.
> Perhaps I should add:
> The top left corner of the frame is considered to be row 0, column 0.
> to the documentation.
Yes, the docstring should make it clear. It can refer to window-at.
>> Also, in what way is it different from (posn-point (posn-at-x-y X Y)) ?
>>
>>
>> Stefan "who's wondering what posn-at-x-y does on a tty"
> The posn-* family of commands (posn-point, posn-object etc) only work if
> Emacs provides the proper click event in the first place which it doesn't
> currently do on a text terminal or xterm. My patches to xt-mouse.el and
> t-mouse.el provide them in lisp i.e with these patches the posn-* family
> of commands will work on a text terminal or xterm.
Try C-h f posn-at-x-y RET
Stefan
Re: New primitive buffer-position-at, Eli Zaretskii, 2005/01/12