GNU bug report logs - #7390
24.0.50; pos-col-row gives incorrect row

Previous Next

Package: emacs;

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>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Drew Adams <drew.adams <at> oracle.com>, 7390 <at> debbugs.gnu.org
Subject: bug#7390: 24.0.50; pos-col-row gives incorrect row
Date: Sat, 13 Nov 2010 16:44:04 -0500
Chong Yidong <cyd <at> stupidchicken.com> writes:

> I've checked a fix for picture-mouse-set-point into the emacs-23 branch.

Hmm; I took a closer look at your fix, and it doesn't seem quite right.
If you make an abnormally tall header-line, e.g.

(setq header-line-format (propertize "foo" 'face '(:height 5.0)))

then this new code gives the wrong value.  What's needed is to subtract
the pixel Y position of the top of the text area from the pixel Y
position of the top of the window.




This bug report was last modified 14 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.