GNU bug report logs -
#7390
24.0.50; pos-col-row gives incorrect row
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sat, 13 Nov 2010 17:52:02 UTC
Severity: normal
Found in version 24.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Chong Yidong <cyd <at> stupidchicken.com>
> Cc: Drew Adams <drew.adams <at> oracle.com>, 7390 <at> debbugs.gnu.org
> Date: Sat, 13 Nov 2010 16:13:14 -0500
>
> I've checked a fix for picture-mouse-set-point into the emacs-23 branch.
>
> The underlying situation is currently somewhat unsatisfactory---the
> pixel position of a mouse-event in the text area counts X from the start
> of the text area (excluding margins and fringes), and Y from the top of
> the window (including the header line).
>
> This arises from some internal redisplay engine semantics, and is not
> really intuitive. Rightfully, the header-line should be excluded from
> the pixel Y coordinates. It's not feasible to change this for Emacs 23,
> since existing code might depend on the current behavior. But we can
> contemplate changing this in Emacs 24.
I could revert my change to emacs-23 branch and install it on the
trunk instead. (Although I cannot see how this could hurt existing
code -- did you see Lisp code that actually depends on this?)
This bug report was last modified 14 years and 167 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.