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: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>, 7390 <at> debbugs.gnu.org
Subject: bug#7390: 24.0.50; pos-col-row gives incorrect row
Date: Sun, 12 Dec 2010 16:37:56 +0900
>>>>> On Sun, 12 Dec 2010 02:29:14 -0500, Eli Zaretskii <eliz <at> gnu.org> said:

>> Perhaps `header-line-height' should be enclosed with
>> (with-current-buffer (window-buffer window) ...) as in the case of
>> `line-spacing'?

> What would be the use-cases where this is necessary?

I don't know.  But I don't think posn-* functions assume the buffer of
the window containing the given position is the current buffer.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp




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.